Help - Search - Members - Calendar
Full Version: Zocalo Web Feed Reader (sharp Rom)
OESF Forums > General Forums > General Support and Discussion > Software
Pages: 1, 2
koan
Hi

Zocalo is a lightweight web feed reader for the Sharp ROM. It is designed for the PDA form factor, i.e. make sensible use of a small screen, use keyboard or stylus to navigate everything, don't use a lot of memory or disk space. It can handle RSS, RSS RDF and Atom.

I have been testing Zocalo for a few months now and it seems stable. There are a few minor issues that I want to improve in future releases and I have a lot of ideas for features that I want to implement. I plan to port to the other Zaurus Linuxes.

Please find more details at the Zocalo web page.

This image is linked to a screenshot of the latest version on my website:
speculatrix
woo, looks very smart, am impressed!

am interested in what you used to write it. just the regular qtopia kit?
koan
I have just uploaded a new version of Zocalo, version 1.1, please find it on the web page given above.

The new version includes a few fixes for minor bugs, modified behaviour if a download fails, uses the system preferences for displaying dates and slightly expanded setting dialog to change font size, network timeout etc.

It is written using the standard QT/Qtopia SDK.
MaBo
Hi,
Thanks for zocalo. This is at the moment my favourite rss reader on the zaurus.

I have two questions for additions:
-images. Some feeds have images. Including these when downloading and showing them in the message would be GREAT.
-improved navigation in viewer mode. When using my SL-C3100 in viewer mode (with the keyboard hidden), it would be nice to navigate through the messages using the scroll button. FOr instance: up: next message down:previous message. Cancel: back to topic list, OK: enter topic list. Cancel in the feed list would exit the application.

Again, thanks for the application!
MaBo
matthis
Wooh, nice to see new & good software for the Z and sharp rom.
Thanks!
koan
QUOTE(MaBo @ May 7 2009, 06:17 PM) *
Hi,
Thanks for zocalo. This is at the moment my favourite rss reader on the zaurus.

I have two questions for additions:
-images. Some feeds have images. Including these when downloading and showing them in the message would be GREAT.
-improved navigation in viewer mode. When using my SL-C3100 in viewer mode (with the keyboard hidden), it would be nice to navigate through the messages using the scroll button. FOr instance: up: next message down:previous message. Cancel: back to topic list, OK: enter topic list. Cancel in the feed list would exit the application.

Again, thanks for the application!
MaBo


Hi, I'm glad you like it.

Navigation with keys: I'm sure I can improve it for the next release. It's on my to do list.

Showing images: you can open the link in a browser if you want to see the images. If I add support for images inline to the message that would be a lot of work and Zocalo would no longer be a lightweight feed reader. Downloading those images is going to take more network resources, if you have them then you may as well view open the link in the browser.

Thanks for the suggestions.
MaBo
HI,
The reason for the images question, was that I often download the feeds, then read them later when I don't have a network available (train etc.). Then having the images already downloaded would be great.

But I understand your reasons.

Looking forward to the navigation improvements!

MaBo
koan
Hi

Zocalo 1.2 is now available.
Screenshots at the website plus the screenshot above is also updated.

After the 1.1 release I was surprised (but not too much) to find some bugs, I hope I have squashed them all now.

In terms of new features there is now a discovery mode that allows you to enter a website URL and Zocalo will try to find the feed. You can edit the settings of some of the colours. I finally got the context menu working for the feeds list (the code has been in there since 1.0 but I just couldn't get it to work). There was also a lot of refactoring and tidying up.

I looked into using the OK and Cancel buttons to navigate in and out. Disabling Cancel to stop it quitting the application is a real PITA. Therefore I implemented both functions on the OK button. Press and release it quickly and you navigate in. Press it and hold for 1 second and it will navigate out - wait for the screen to change. And you can use the jog wheel.
koan
Zocalo 1.3 is now available to download.

The new version supports enclosures (podcasts) and website icons. A number of improvements to the GUI have also been implemented. Please check the list of changes on the web page for details.

As usual, the screenshot above is hotlinked, there are more screenshots at my website and on my flickr feed.

For this version I experimented with showing feed channel logos and also the channel icon (Atom) but they were too variable in size, quality and availability so I decided to remove them and go back to the website icon. However, I haven't yet implemented an algorithm to search for the icon on the webserver.

By the way, ICO image format is truly awful. W3C suggest a way to use other image types such as PNG for favicons. I recommend you to use PNG for your favicon.

I still have a long list of fixes and improvements to make but bug reports and feature requests are welcome.
koan
Zocalo 1.4 was released, see the above links for downloads.

This version is much better at finding feeds on web pages and getting the website icon. Zocalo can now detect and select from multiple feeds at a single website.

The next task is to change the way feeds are stored, this will enable feeds to be organised. The only other feature planned is support for Atom feeds with multiple enclosures. If there are any features you need please let me know.
koan
Zocalo 1.5 is now available, see the links above for downloads.

New in this version:

Atom feeds with multiple enclosures (podcasts) are now supported.

You can reorganise feeds, use Fn-U to move a feed up and Fn-D to move a feed down, or use the context menu (tap and hold on a feed).

You can use proxies that require a login and password.

You can use feeds on websites that require you to login (HTTP authentication). For example, if you use Twitter, go to Manage/Add Feed and enter http://www.twitter.com/statuses/friends_timeline.rss in the Enter Feed URL widget. You will then be prompted to enter your login for Twitter and then you can fetch your timeline.

Some other improvements were made, bugs fixed, etc. Please let me know if you find any new bugs or have any problems with it.

More screenshots are available at the Zocalo web page and on my Flickr stream.
xamindar
Thanks, I guess it is about time to check this program out. I have been using a couple other Japanese ones called dmblogger and zrssreader that work pretty good. Is this related to any of those? Anyway, guess I'll remove those and try this one.
koan
QUOTE(xamindar @ May 25 2010, 03:47 PM) *
I have been using a couple other Japanese ones called dmblogger and zrssreader that work pretty good. Is this related to any of those?


Zocalo is not based on those programs and is written in C++ not Ruby.

A long time ago there was a program called ZauRSS. It was very basic and missing many features. For example you could only add feeds if you were online, it would not read Atom and you could only view the article titles, not the article summary. I couldn't find a better feed reader but I did find the source code to ZauRSS had been released under the GPL. Using the ZauRSS source I rewrote just about everything and started adding features that I wanted.
koan
You can get a nice RSS feed from Google News

1. Go to Manage/Add Feed and enter http://news.google.com in the Enter Website URL widget.
2. The feed will be downloaded, but there will only be a few stories in it.
3. Go to Manage/Edit Feed. Select the Location widget and move the cursor left until you get to the part ...num=X&... where X is a number.
4. X is the number of stories downloaded, change it to a more reasonable number like 15 or 20.


xamindar
Thanks again for this rss reader. It has replaced the other two I was using.
There are still a few bugs and so I will post them here so at least you know about them.
-If I select to update all feeds and then click on a feed while it is in the process of updating other feeds it will delete that feed. I will have to re-add that feed.

Oh, a nice feature request would be the ability to put feeds in categories to make organizing lots of feeds more easy. (news, forums, software, etc)
koan
QUOTE(xamindar @ Jun 14 2010, 08:27 AM) *
There are still a few bugs and so I will post them here so at least you know about them.


Thanks for the feedback, it's very useful.

I reproduced the bug I think; the feed wasn't deleted but its name was changed and all the articles were copied from the feed that was being updated at the time. After checking the feed information and seeing that the URL of the feed was unchanged I did an update on that feed and was back to normal. This will be fixed in the next version.

I'm not sure how to implement categories without taking up more screen real estate. How many feeds are you subscribed to and how often do you update ? Personally, I have about 20-30 feeds and I'm updating feeds on my Zaurus only when I travel somewhere. At home I run Zocalo on my Linux desktop most days.
xamindar
QUOTE(koan @ Jun 14 2010, 12:53 PM) *
I'm not sure how to implement categories without taking up more screen real estate. How many feeds are you subscribed to and how often do you update ? Personally, I have about 20-30 feeds and I'm updating feeds on my Zaurus only when I travel somewhere. At home I run Zocalo on my Linux desktop most days.

Take a look at dmblogger. It had categories set up in a tree very nicely. For example:
-News
BBC
Slashdot
+Music
-Deals
Slickdeals
Fatwallet

The categories could be expanded or collapsed to show or hide its contents. That allows good use of screen real estate. No idea how hard it would be to code that change, just an idea.

Also, I can't find any way to organize the list. All my feeds are just listed in the order tgat I added them.

By the way, what does the "Get Enclosure" option do? It doesn't seem to effect anything for me.

Again, thanks. As it is this feeder is good enough for me.
koan
QUOTE(xamindar @ Jun 20 2010, 05:17 PM) *
Take a look at dmblogger. It had categories set up in a tree very nicely.


It's a QListView. I also use a QListView. I had thought about doing this kind of hierarchical layout but you waste a line for each category and when you collapse a branch you are "hiding" feeds. I'm going to think about other ways to implement categories.

QUOTE(xamindar)
Also, I can't find any way to organize the list. All my feeds are just listed in the order tgat I added them.


Tap on a feed with the stylus and hold until the context menu appears. Use the "Shuffle Up" and "Shuffle Down" options. Or, if a feed is selected in the feeds view (by using the keyboard highlight the feed using cursor keys) then press Fn+"u" for up and Fn+"d" for down. Here is an image of the context menu:

Click to view attachment

QUOTE(xamindar)
By the way, what does the "Get Enclosure" option do? It doesn't seem to effect anything for me.


It's for downloading podcasts. As I understand it, podcasts were originally mp3 files attached to RSS feeds. When I say attached, I mean there is a bit of XML giving the URL of the mp3 file. When you select "Get Enclosure" you download the file to your downloads directory which is set in the Storage tab of the settings.

Atom feeds can have more than one enclosure, it's for the case where you offer different formats of the same content, for example, podcast1.mp3, podcast1.ogg, podcast1.aac, etc. If there is more than one enclosure a dialog will appear to ask you which one you want to download.

Enclosures don't have to be only for podcasts, you can link to any MIME type. It didn't do anything for you because there was no enclosure in the item of the feed you were looking at. Here you can see a feed item with an enclosure, in this case a JPEG image of 99 Bytes:

Click to view attachment

The last line in the header shows there is an enclosure.

If you want to try it, I have a test feed at http://www.lyndonhill.com/test.rss ; it has 2 items and both have small images as enclosures.

In the next version of Zocalo these menu items and tool buttons are ghosted when they are not applicable.


xamindar
Ok, thanks for that explanation. I should have paid attention to the context menu. At least organizing them makes it more readable without having categories.

Also, in your picture all your feeds have the sites icon next to them. Most of mine just have a green orb. I assume that is because I added most of my feeds while offline? Some of the new ones I added while online have the proper icons. Do I have to delete them and re-add to get the icons?
koan
QUOTE(xamindar @ Jun 21 2010, 05:42 PM) *
in your picture all your feeds have the sites icon next to them. Most of mine just have a green orb. I assume that is because I added most of my feeds while offline?


No, adding feeds when offline should make no difference to whether they have the site icon or a default icon.

QUOTE(xamindar)
Some of the new ones I added while online have the proper icons. Do I have to delete them and re-add to get the icons?


Search for the icon is performed only when you add a feed. If you have older feeds that were added with Zocalo 1.3 or older then they won't get icons - you'll have to delete them and add them again.

There are some cases where it's not possible to get the icon. If Zocalo can't find an icon and you think it should then please let me know the URL and I will look into it.
xamindar
QUOTE(koan @ Jun 21 2010, 01:38 AM) *
Search for the icon is performed only when you add a feed.
Ok, that explains it. All my non-icon ones were added while offline and it was unable to check when I added them. Zocalo 1.5 is the first version I have tried so it's not due to an older version.

QUOTE
There are some cases where it's not possible to get the icon. If Zocalo can't find an icon and you think it should then please let me know the URL and I will look into it.
Well, I also have slashdot but mine has no icon like yours does. I'll give re-adding them a try. Thanks.
koan
QUOTE(xamindar @ Jun 21 2010, 08:56 PM) *
Well, I also have slashdot but mine has no icon like yours does. I'll give re-adding them a try. Thanks.


No, I mean that adding a feed offline should not stop it from finding the icon. Uh, I can see some other problems now, too. This is worse than I thought. I know where the problems are so I'll try to get them fixed soon. Thanks for bringing this to my attention.
xamindar
QUOTE(koan @ Jun 21 2010, 12:54 PM) *
No, I mean that adding a feed offline should not stop it from finding the icon. Uh, I can see some other problems now, too. This is worse than I thought. I know where the problems are so I'll try to get them fixed soon. Thanks for bringing this to my attention.

Hey no problem. I also just noticed today that after I organized all my feeds, it will revert back to the unorganized order they were in before when I close Zocalo and reopen it again. I'm just re-adding them all anyway in the correct order from the start so it's no big deal. Just thought I'd let you know in case it is another bug.
koan
Zocalo 1.6 is now available.

This should address all known issues. However, I haven't been able to test everything. For example, I have no way of testing if the proxy username/password works. There were some issues during start up - it's not possible for me to create all the possible situations that may have arisen.

If you are upgrading from 1.5 then user defined feed positions may be "lost" one final time as Zocalo sorts itself out; after the first time you run & quit 1.6 feed positions should be remembered.

In all previous versions of Zocalo you weren't really supposed to go browsing articles during updates but I didn't prevent the user from doing this either. It was my intention that I would eventually freeze the UI during updates. In the state I left it you could mess up your saved feeds quite badly, but no serious loss of configuration. I decided to let you browse feeds during updates and this is all implemented cleanly now but it's better if you don't because it's slow.

There is a new "Reload Feed" function to reload a feed that you have already added. If Zocalo didn't pick up the icon then you can choose this option instead of copying the feed URL, deleting it and re-adding it. Other features and fixes are mentioned on the Zocalo homepage.

Please continue to report bugs or problems.
xamindar
Thanks for the update. It seemed to be working better but then something happened tonite after I rebooted my zaurus. When I opened Zocalo only 3 of my feeds were showing. Then I tried opening it from the console and saw this:
CODE
bash-2.05$ zocalo
Display size = 480x640
fatal parsing error: error while parsing element in line 1
fatal parsing error: error while parsing prolog in line 1
Parsing error
fatal parsing error: error while parsing element in line 1
fatal parsing error: error while parsing prolog in line 1
Parsing error
fatal parsing error: error while parsing element in line 5
fatal parsing error: error while parsing prolog in line 5
Parsing error
fatal parsing error: unexpected end of file in line 76
fatal parsing error: error while parsing content in line 76
fatal parsing error: error while parsing element in line 76
fatal parsing error: error while parsing content in line 76
fatal parsing error: error while parsing element in line 76
fatal parsing error: error while parsing content in line 76
fatal parsing error: error while parsing element in line 76
fatal parsing error: error while parsing content in line 76
fatal parsing error: error while parsing element in line 76
fatal parsing error: error while parsing content in line 76
fatal parsing error: error while parsing main element in line 76
Parsing error
fatal parsing error: error while parsing element in line 1
fatal parsing error: error while parsing main element in line 1
Parsing error
fatal parsing error: error while parsing element in line 1
fatal parsing error: error while parsing prolog in line 1
Parsing error
fatal parsing error: error while parsing element in line 1
fatal parsing error: error while parsing prolog in line 1
Parsing error
fatal parsing error: unexpected end of file in line 38
fatal parsing error: error while parsing content in line 38
fatal parsing error: error while parsing element in line 38
fatal parsing error: error while parsing content in line 38
fatal parsing error: error while parsing element in line 38
fatal parsing error: error while parsing content in line 38
fatal parsing error: error while parsing element in line 38
fatal parsing error: error while parsing content in line 38
fatal parsing error: error while parsing element in line 38
fatal parsing error: error while parsing content in line 38
fatal parsing error: error while parsing main element in line 38
Parsing error
fatal parsing error: error while parsing element in line 1
fatal parsing error: error while parsing prolog in line 1
Parsing error
fatal parsing error: error while parsing element in line 1
fatal parsing error: error while parsing prolog in line 1
Parsing error
fatal parsing error: error while parsing element in line 1
fatal parsing error: error while parsing prolog in line 1
Parsing error
fatal parsing error: tag mismatch in line 293
fatal parsing error: error while parsing element in line 293
fatal parsing error: error while parsing content in line 293
fatal parsing error: error while parsing element in line 293
fatal parsing error: error while parsing content in line 293
fatal parsing error: error while parsing element in line 293
fatal parsing error: error while parsing content in line 293
fatal parsing error: error while parsing element in line 293
fatal parsing error: error while parsing content in line 293
fatal parsing error: error while parsing main element in line 293
Parsing error


I guess I need to add them all again. Not sure what caused this. I'll let you know if it happens again.
koan
It looks like your article store is corrupted.

By the sounds of it, you exited zocalo after updating many feeds and rebooted while it was still saving (?) Saving feeds to disk takes time, especially Flash memory storage on Zaurus. It's the price you pay for being able to run your battery down and not lose everything.

It's odd that it has caused you so many problems. At most, one feed would be corrupted and the other feeds be in the state before the update.

Originally, I tried to add a dialog to make you wait at exit so that you would know zocalo is still working but it didn't work well and I removed it. I'll have to look into it again.

Could you possibly email me your article store, in it's current state ? It's all the xml files in /home/zaurus/Applications/zocalo

Do a "tar cvf store.tar *.xml*; gzip store.tar" in that directory. Send the store.tar.gz file to emptystate at yahoo dot co dot uk.

If you are uncomfortable with sending the files, then perhaps you could do a ls -l so I can see what files are in there.
koan
Version 1.7 is now available.

xamindar pointed out a couple of bugs which I fixed and I changed some of the behaviour to make it more usable:

On start up loading the feeds is delayed just long enough so the main window can open. If you have many feeds with lots of articles you will now see a please wait message. Hopefully this will make you feel confident that it hasn't simply crashed.

After updating a feed it is now saved to disk immediately (previously Zocalo saved one feed every 2 minutes and everything else when you exit).
xamindar
A couple issues I am noticing in this version. First of all (and this is probably only me experiencing it) I can not launch Zocalo from the icon, nothing happens. I have to run it from the qkonsole application by typing "zocalo". I have checked the launcher icon and it is set to run "zocalo" as its command so I have no idea why it doesn't work. I have tried removing and reinstalling zocalo 1.7 with no change.

Second issue is that it will try to update all feeds on its own without me telling it to. I haven't narrowed it down to the cause yet but it seems to try to update all feeds on its own constantly once I have suspended my zaurus and unsuspended it again. It gets quite annoying when there is no internet connection and it keeps popping up telling me the hostname of a feed failed to resolve.

All in all the program is very stable and all feeds are working perfectly. Thanks!
koan
Thanks for the report. Unfortunately, both these things are "works for me" issues.

QUOTE(xamindar @ Jul 21 2010, 10:43 AM) *
I can not launch Zocalo from the icon, nothing happens. I have to run it from the qkonsole application by typing "zocalo".


This must be something to do with the recent changes to get the main window to open before loading the data. Are you absolutely sure that the program does not start, did you check using ps or WhatsUpOnZ ?

QUOTE
Second issue is that it will try to update all feeds on its own without me telling it to.


I will try more soak testing. I can think of a few things I could change that may be related but I need a series of actions to reliably reproduce this bug.
xamindar
QUOTE(koan @ Jul 21 2010, 03:19 AM) *
. Are you absolutely sure that the program does not start, did you check using ps or WhatsUpOnZ ?
Absolutely. Every time I tap the icon there is a refresh of the screen as if it tried to open for a split second and then nothing. Not running either.

QUOTE
I will try more soak testing. I can think of a few things I could change that may be related but I need a series of actions to reliably reproduce this bug.

I'll do some more testing to see if I can narrow down the cause and how to reproduce.



Edit: Oh yeah, and I forgot. It will not launch at all in portrate mode, not even from the console. I get the following in the console if I try to run it in portrate mode:
CODE
bash-2.05$ zocalo
QLinuxFbScreen::connect() disp spec Transformed:Rot270:Vga:0 != server di
sp spec Transformed:Rot0:Vga:0
Transformed driver cannot connect
Aborted
koan
QUOTE(xamindar @ Jul 21 2010, 09:32 PM) *
Edit: Oh yeah, and I forgot. It will not launch at all in portrate mode


Try changing to portrait mode before running the terminal program.

xamindar
QUOTE(koan @ Jul 21 2010, 01:32 PM) *
Try changing to portrait mode before running the terminal program.

That gets rid of the error message but it still will not open in portrait mode. But it does work in portrait if I first open it in landscape and then switch qtopia into portrait.
Frederic Bergeron
QUOTE(xamindar @ Jul 21 2010, 08:32 PM) *
Absolutely. Every time I tap the icon there is a refresh of the screen as if it tried to open for a split second and then nothing. Not running either.


I had a similar problem before with a different application. Rebooting the Zaurus fixed it. I don't know if it will work in your case but it doesn't cost much to try it out.
koan
It won't run from the icon in portrait mode for me; but if I rotate then run terminal I can run from the terminal (qkonsole). And I can run in landscape and then rotate. Very strange, but I can investigate and try to fix this.

I still haven't managed to trigger the unwanted -update all- though.
xamindar
I could never get version 1.7 to work properly. I tried removing all of my settings as well but it still will not start from the icon. In fact, it would not start at all, not even from the console, after I removed the settings and feed files as well. Get this error:
CODE
bash-2.05$ zocalo
Display size = 480x640
QGArray::at: Absolute index 0 out of range


I ended up sticking with the pre 1.7 version that you emailed me which still works just fine.

Regarding it trying to update on its own. The only way I can get it to do it is if I select update all and then disable the network connection while it is in the process. Then 50% of the time it will keep trying to do an update every 30 seconds or so until I have around 10 of the "do you want to continue updating" messages on the screen.

Hope any of this helps.
jcabrer
This looks like a missing configuration file, or missing parameters in that file. Is it possible that you are using an old configuration, and are using it with the new version of the software? If so, try movimg the config somewhere out of the way, and restart the program. It migh shed some light.
xamindar
QUOTE(xamindar @ Jul 25 2010, 02:58 AM) *
I could never get version 1.7 to work properly. I tried removing all of my settings as well but it still will not start from the icon. In fact, it would not start at all, not even from the console, after I removed the settings and feed files as well.

wink.gif
koan
Just a quick note to say that I haven't stopped working on this...

QUOTE
This looks like a missing configuration file


Thanks, but there is no reason for missing configuration to cause any of the problems that have been reported. Zocalo will not crash if you use old configuration files. In fact, it's something that I have to take into account whenever I change the config settings; that a user may be upgrading from a much older version.

The QGArray thing was my bad. Fixed for the next release.

I implemented some changes that may help prevent unwanted Update All, but as I never confirmed this problem I can't confirm that it will be fixed.

QUOTE
it will keep trying to do an update every 30 seconds or so until

It's trying to update each feed in turn and 30 seconds is the default timeout for network connections in the settings. If you hit No to the "Do you want to continue?" dialog it should have stopped those messages. I recently went through this code and don't remember fixing any problems, certainly the next release will stop.

There was a small bug that was revealed when starting in portrait mode, a simple assumption made back in the days of 1.0. I fixed it but now there are other problems... it doesn't make sense to me at all, the program crashes when starting in portrait mode but I can't find a cause. So this is what I am working on now.
koan
Finally, I am pleased to announce version 1.8 is now available.

After a lengthy period of bug chasing I have determined that the reason for the program not running in all orientations is somehow due to QPEToolBar/QPEMenuBar. This is bizarre, it certainly worked fine in all previous versions of Zocalo and I was using what I thought was a legal method. I have now changed to a different method of mixing toolbar and menus and it seems to work fine.

You can now use the Cancel button to navigate views, as was requested previously. You can "enter" views with the OK button and "exit" them with Cancel or by the old method of pressing and holding OK. If you press Cancel on the Feeds view you will exit the program.

I located and removed some memory leaks as well as other bugs and errant behaviours so I strongly recommend installing this new version.

Finally, anyone using Zocalo to follow a password protected Twitter timeline will have found that it doesn't work any more. Twitter have now changed to OAuth, http://blog.twitter.com/2010/08/twitter-ap...-and-oauth.html I am sure that cURL will support OAuth soon, when it does I will make a new cURL ipk and Twitter support will then be available again.
xamindar
Great! Thank you! It seems to work great now. Will open in landscape and portrait mode for me now.

QUOTE(koan @ Sep 1 2010, 11:50 AM) *
You can "enter" views with the OK button

Just a note, this has never worked for me. It's not really a big deal because I can just tap on the feed anyway. Just letting you know. Holding down the OK button does still exit a feed though as well as the cancel button you just addeed in. Thanks.
koan
Thanks, I can confirm that "OK" doesn't work on my 3200 too. I only tested on my 750. I will fix it shortly.
koan
Update: Zocalo 1.8.1 with OK button fix, tested on SL-C3200.
MaBo
Woow!! It works great with the OK and Cancel buttons. Now it is *REAL* great feed-reader.

Thanks,
MaBo (SL-C3100 on cacko 1.23)
jakfish
Many thanks for an intriguing application. I'm having a hard time getting it started. Using a C1000 and Trisoft ROM, per your website instructions, I've installed 1.8.1 and the libcurl-light_7, libidn_1 and libz_1 ipks. However, in Terminal, using the command "zocalo," I get an error: "could not open translation file /home/QtPalmtop/il8n/en/libsl.qmid OGArray::at: Absolute index 0 out of range

If libsl.qmid is an actual file, I do not find it in /home/QtPalmtop/il8n/en

Any advice?

Thanks,
Jake

edit: I found a libsl.qmid at http://dragos.com/zaurus/ but I still get the error "OGArray::at: Absolute index 0 out of range"
koan
QUOTE(jakfish @ Sep 14 2010, 12:14 AM) *
could not open translation file /home/QtPalmtop/il8n/en/libsl.qmid


It's the translation file for Sharp's libsl. You can live without it or install the file as you've done already. It's nothing to do with Zocalo.

QUOTE
OGArray::at: Absolute index 0 out of range


I suspect this is something that has been fixed already for 1.9. I was looking through the code when I found an issue that probably no one would ever be able to trigger. It looks like I was wrong. I'll try to release it soon and we'll see if it cures the error.
jakfish
Thank you for your fast reply. I'm looking forward to helping troubleshoot 1.9 and please let me know what I can do.

Jake
koan
Zocalo 1.9 is now available.

The main enhancement for this version is support for IDN (Internationalised Domain Names). However, I only found one IDN feed to test with, at http://アニメ.com. It seems to work fine and I have no reason to believe that any other IDN will be different, but I would be a lot happier if I had been able to test with lots of other feeds. Let me know if it doesn't work for any other feeds.

Zocalo parses out useless HTML in feed descriptions. These tags are usually images that Zocalo doesn't download, advertisements or other things that QTextBrowser won't display anyway. This also saves on disk space. I added script, noscript and HTML comments to this version. I noticed that アニメ.com stuffs a lot of broken HTML and also tables into the description - it's not a good feed for testing unfortunately. Tables cause trouble with QTextBrowser so in the next release tables will also be parsed out.

This should also cure the problem jakfish was seeing - PM me if it doesn't.
jakfish
Success, success. SL-C1000 installs Zocalo 1.9 without complaint. It's a great program and thank you very much for it. It's fast, updates quickly, and I've gotten no errors.

One small thing: the Fn-U or Fn-D doesn't move the selected feed for organization. But the tap-hold-up or down does work.

Up until now, I've uses Mobireader, which downloads the entire articles from the feed for copying to PDAs/phones. Is it possible to do the same with Zocalo, download the full articles from a given feed? That would make off-line reading a real pleasure, since going to the full article through Netfront can take time to load.

Again, thank you for such hard work,
Jake



koan
QUOTE(jakfish @ Sep 20 2010, 11:15 PM) *
One small thing: the Fn-U or Fn-D doesn't move the selected feed for organization.


It works on my 750 and 3200.

Anyone else having this problem ?
Could it be that the 1000 has different keycodes ?

QUOTE(jakfish)
Up until now, I've uses Mobireader, which downloads the entire articles from the feed for copying to PDAs/phones.


If I understand correctly, you want to scrape a web page: download the HTML, style sheets, javascripts, images and save it all ?

I think that sounds like a lot of work. Zocalo would have to parse an HTML file to work out which external files to download. I wouldn't even dream of writing an HTML parser, I would have to find an external library to do it. It doesn't really sound like it is in the scope of a feed reader.

I'm sorry, I have other Zaurus projects that need my attention and I'm not so interested in offline web browsing. I could look at writing a "bookmarks" file for links you are interested. You could write a Perl script by yourself to scrape each link when you are online again using curl. Or how about writing a scraper in Ruby/QT that could read this file, select a link to scrape from the GUI and then open it in NetFront ?

By the way, some websites don't like being scraped. They will serve a 404 and blacklist your IP address or even your IP block. It happened to me; I wrote a recursive scraping script some time before I realised that scraping was frowned upon. Fortunately for me I moved house and ISP, not so lucky for the next guy.

You can already send a link from Zocalo to another application by qcop. I could add a feature for copying the link to the clipboard or beam it via IRDA; if that would be useful.
jakfish
I think Mobireader is a much more basic program and downloads the text only, but in its entirety. Unfortunately, it doesn't have a Linux version, but on Windows, users install a desktop Mobireader, set up their feeds, then the whole article of a given feed is synced to the pda/phone in a *.prc file (OpieReader reads them perfectly)

It would be as if zocalo pulled in the complete article rather than the first paragraph or whatever the rss gives out.

Sorry not to be clearer,
Jake
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.