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
QUOTE(jakfish @ Sep 21 2010, 12:34 PM) *
I think Mobireader is a much more basic program and downloads the text only, but in its entirety.


If you could get the link from Zocalo, you could download the HTML file using curl and then convert it to a suitable format for OpieReader (for example). Without style sheets it would probably be best to convert to some variant of plain text/rich text
jakfish
It's a dilemma, I think, with a lot of RSS Readers, maybe all--the source puts out only so much text, the reader picks that up, and then follows the source's prompt to go to the full article via browser. Anything more appears to be tricky, or not in demand. I was just playing around with an RSS feed reader for Nokia, a commercial application, and it takes the same approach.

For some reason, Mobireader, perhaps b/c it was designed for internet-challenged devices, is able to pull in all the text. I can still run mobireader on a Sharp Mobilon 4100, a CE 2.0 device from the 90s, simply b/c the reader does nothing but show the full article--on the device, mobireader cannot go on-line to update, etc. That all has to be done from the mobireader desktop, which then syncs articles to the device.

At any rate, yours is a great program and thank you very much for it,
Jake
koan
QUOTE(jakfish @ Sep 22 2010, 12:49 AM) *
It's a dilemma, I think, with a lot of RSS Readers, maybe all--the source puts out only so much text, the reader picks that up, and then follows the source's prompt to go to the full article via browser.


By definition that is what a feed reader does. Feeds are summaries, the reader is for reading summaries. I'm trying to make it the best reader it can be. If I add too many features then it becomes the 'jack of all trades, expert at none'.

I think it's OK to redefine how a feed reader should work, but just as long as we are not talking about turning it into something different; like a web browser, for example. The other thing is, it has to work well as a PDA application.
xamindar
I think Zacolo is fine with the functionality it currently has. Jakfish is right that many sites' feeds have very short summaries but that is the fault of the website, not the program. Gizmodo comes to mind.

Thanks again Koan. One little thing I would like to mention. When I have it update all feeds and it gets to one that fails or times out, it will pop up a box asking if I want to continue or stop the update. While I do find it useful because I can stop the update if the cause is the loss of internet connectivity, it does require that I check it or watch it if I want it to be ready when I need to disconnect internet and head out. Is it possible to add a little timer to that pop-up box? Maybe like 5 or 10 seconds and then it will automatically select continue and finish updating? If not then no worries. I just have one feed that seems to update only 20% of the times I try and that pop-up stops it until I select はい.

Again, great program! It is stable and very useful.
jakfish
I agree completely: Zocalo is a wondrous app, making feeds accessible and readable and doing it quickly. My concern only comes from the website on the other end. For instance, I have to fly a lot, and I've figured out a way to connect my Nokia E90 to the C1000 via infrared GPRS connection--so just before take-off, it would be great to download completely a lot of news and sports.

But it's clear to me that this isn't what RSS readers do, and my feeds rarely give even decent summaries. From NBC Sports, I'll get something like "Against his brother's team, Peyton Manning threw for" and that's all she wrote smile.gif

I wonder if there might not be feeds of feeds out there, meaning an RSS feed that has pieced together complete articles from other feeds. I'll search that out.

But I in no way meant any disparagement of Zocalo itself. It does what it's supposed to, and very nicely.

Jake
koan
QUOTE(jakfish @ Sep 22 2010, 10:55 PM) *
I've figured out a way to connect my Nokia E90 to the C1000 via infrared GPRS connection--so just before take-off, it would be great to download completely a lot of news and sports.


Tethering via IRDA ? That sounds like it might be slow. But then GPRS is not that fast. I've done tethering by BT on a PAYG phone, it was usable for short sessions.

QUOTE
But it's clear to me that this isn't what RSS readers do, and my feeds rarely give even decent summaries. From NBC Sports, I'll get something like "Against his brother's team, Peyton Manning threw for" and that's all she wrote smile.gif


Right, some feeds are better than others. You're lucky that Zocalo parses out the advertisements because at the end of that useless truncated line would probably be an unrelated image complete with tracking.

On the other hand, some feeds squeeze in everything, so it's no longer a summary. Personally, I don't want to download the whole article because it's slower and takes up more storage space.

@xamindar

I'll do something about that dialog. Thanks for reminding me.
jakfish
Re: GPRS--I've yet to figure out bluetooth (I don't have a usb host, for one thing), and I was amazed to find the ir connection so easy with the Nokia.

My browsing is almost completely to mobile sites (instead of cnn.com, I use netfront for m.cnn.com) so it's not dreadfully slow. But, yeah, trying to pull up the real nyt.com on an ir tether would take forever, I bet.

Jake
jakfish
Hi, koan,

I'd love to make a backup of my rss feeds that I've typed into Zocalo. I don't find them in zocalo.conf. Are they stored in another file that I can safely tuck away on the desktop?

Jake
koan
At the moment there is no convenient way to create a list of subscribed feeds from Zocalo. Each feed is stored in an individual file containing all the information about the feed and all the current articles. Feeds are stored in /home/zaurus/Applications/zocalo/*.xml.

To do a quick backup you could clear all articles via the Storage tab of the settings dialog and then copy the xml files to get all the meta data and URLs.

I would not recommend moving feed files around, i.e. renaming them, copying additional files into that directory or editing the conf file.
jakfish
This is a big help; thank you. I have about 20 feeds and they were a hassle to type in. Now, at least, I have a directory stored away, and in the event of a crash or failed recovery, I can copy over the directory and maybe get lucky.

Jake
xamindar
QUOTE(jakfish @ Sep 27 2010, 01:42 PM) *
in the event of a crash or failed recovery, I can copy over the directory and maybe get lucky.

Jake

Tell me about it. I just got through changing all my passwords on all my important internet accounts and saving them in the kpassword manager on my zaurus a few days ago. I decided to reboot my zaurus yesterday and when it came up my background was back on default and none of my pim applications had any info in them anymore. Rebooted back into debian and ran an fsck on the hard drive and for some reason it was almost totally corrupted. It seems that every file that I modified in the past month was corrupted beyond use.

So now I have to hope most of those new passwords are saved in firefox on my pc. At least the email ones are so I should be able to use the reset services of my bank and such to get it fixed. But what a hassle, hours of organization deleted.
jakfish
That's a terrible story. And if your stuff is blown out a month back, I assume that you've got no viable backup to turn to.

Here's hoping you find what you need in your pc/browsers,
Jake
jakfish
Hi, koan,

Just a follow-up to our discussion about full-text rss feeds.

This site http://www.iwebrss.com/ does the trick. In Zocalo, I changed the beginning of my feeds accordingly and I can get full news articles.

http://fivefilters.org/content-only/ is also good. Its freeware limit is 4 complete articles per rss site. I will sometimes have to sync Zocalo via bluetooth (or IrDA) and my Nokia E90, so fivefilters is good for these types of slow data transmissions.

For a later version, I was wondering if you might change preferences in GUI to allow for 24pt font choice. I can change it to 24 in the zocalo.conf, but it might be nice to have the choice in the drop-down menu, too.

Too, is there a way to use Helvetica Bold in Zocalo?

Also, can I assume that ttf fonts won't work in Zocalo? I have an arial.ttf that I use in TextMaker without its conversion to qbf, but I'm almost positive that arial won't play nice with any other app.

Jake
koan
QUOTE(jakfish @ Oct 24 2010, 12:03 PM) *
Just a follow-up to our discussion about full-text rss feeds.


There is no such thing as a "full text" RSS feed. It is up to the website editor or CMS script to generate the feed; they can put whatever they like into it.

Thanks for the links, I hope other Zocalo users find them useful.

I briefly considered adding support for Google Reader, as a way to back up subscribed feeds. However, their API is private so it's not possible.

QUOTE(jakfish @ Oct 24 2010, 12:03 PM) *
For a later version, I was wondering if you might change preferences in GUI to allow for 24pt font choice.


Yes, I will try.

Another option for you is to link or rename the 240 QPF file with another size, then it will be available to the whole system.

QUOTE(jakfish @ Oct 24 2010, 12:03 PM) *
Too, is there a way to use Helvetica Bold in Zocalo?


I don't know about supporting font styles. I will look into it. If you install a Helvetica Bold font I am sure it will appear. The font selector queries the system for available fonts.

QUOTE(jakfish @ Oct 24 2010, 12:03 PM) *
Also, can I assume that ttf fonts won't work in Zocalo?


TTF are not supported by Qtopia (by default).

You can download or make your own QPF for the font you want.

QUOTE(jakfish @ Oct 24 2010, 12:03 PM) *
I'm almost positive that arial won't play nice with any other app.


Why not ? I have made a QPF from the Arial Unicode font. Screenshot 1, 2
jakfish
Thanks again for another fast response. Helvetica bold appears to be already installed in Trisoft ROM. In HancomWord, users can bold Helvetica (not true with the other qpf font choices), so there could be a handle to jiggle somewhere. In zocalo.conf, I tried changing "family = helvetica" to "family = helvetica bold" (an old Windows CE trick) which went nowhere.

My apologies for not being clearer: I mean that an arial.ttf font probably won't play nice anywhere except in TextMaker. I've made a diligent search, but haven't found a site that has arial fonts (qpf) for download. Could you point me in the right direction?

Jake
koan
QUOTE(jakfish @ Oct 24 2010, 11:54 PM) *
In zocalo.conf, I tried changing "family = helvetica" to "family = helvetica bold" (an old Windows CE trick) which went nowhere.


It wouldn't work for applying bold style to an existing helvetica font.

QUOTE
I've made a diligent search, but haven't found a site that has arial fonts (qpf) for download. Could you point me in the right direction?


I think you have to make your own. Only Microsoft would be able to make a QPF version of Arial available. What is it about the font that you like so much, surely there is a free alternative that is good enough ?
jakfish
I guess since I use arial in all my documents, I look for it elsewhere as well. I've been looking at your nice tahoma qpf, but am a little worried about your warning of its memory-eating. If I don't use tahoma as a system font, is it still as intensive?

One thing about article-clearing in zocalo (SL-C1000/trisoft rom): clearing/saving will remove them, but the articles come right back after a restart of zocalo. In the /zocalo directory, I can see that the file size is unchanged despite the clearing.

Jake
koan
QUOTE(jakfish @ Oct 25 2010, 10:36 PM) *
I've been looking at your nice tahoma qpf, but am a little worried about your warning of its memory-eating. If I don't use tahoma as a system font, is it still as intensive?


I don't think it will be a big problem for you. It takes up more space in storage. Unless you are already at the limits, you probably won't notice.

QUOTE
One thing about article-clearing in zocalo (SL-C1000/trisoft rom): clearing/saving will remove them, but the articles come right back after a restart of zocalo.


That should not happen. I will check this. The files will not be removed, but they should be the minimum size and there should be no articles after restart - only empty feeds.

Edit: Yes, it's a small bug. The memory is cleared but not the files. It'll be fixed in the next release.
jakfish
Let me know what I can test.

Jake
koan
Hi Guys,

Zocalo 2.0 is available. I was planning to do some work on the curl interface so that Zocalo would use multiple connections to download feeds. This would mitigate the problem with one feed failing causing the others to be blocked. However, I realised that this would take a lot longer to test and debug so in the mean time I have made this version.

I hope I have addressed all the points.
1. The Continue All dialog will automatically close after 10 seconds. (screenshot)
2. Font size selector is dynamically updated to whatever sizes are available. (screenshot)
3. Fonts can be set to bold and/or italic if the font supports it. The default Helvetica font will support these changes IIRC but some fonts won't. (screenshot)
4. Article store will be cleared from disk properly.

As I dug into the code I also found some other bugs or inconsistencies. Atom feeds are now better supported, previously I accidentally filtered out all HTML from articles in Atom but now I have enabled the articles to run through my parser so that only unsupported entities are stripped. Also I didn't realise that Atom category tags were being ignored so I have added those in.

One change that you should watch for: I changed the internal feed status code so that it now counts how many times a feed has failed to download. This means that the first time you run Zocalo 2.0 any feeds you added under previous versions will flag up as invalid and have the red status icon until you update them.

There is also a new version of curl and libidn. Contrary to one of my previous posts, I don't think the curl guys will add OpenAuth to curl. They consider it a layer on top; so if you were waiting for this it's not going to happen any time soon.

Finally, I started a proper Zaurus package feed that includes most of my software: http://www.lyndonhill.com/Downloads/Zaurus. In the Add/Remove Software application in QPE you can add this as a server for the Install via Network option.

jakfish
An excellent, excellent update. All is well w/ the SL-C1000.

1) Zocolo loads faster

2) updates feeds faster

3) new font menu works

4) articles successfully cleared upon demand

The only problem is that the links you post in your last thread generate a Forbidden when clicked. But that may be my browser's issue.

Congratulations,
Jake
koan
Thanks. I can't take any credit for any speed increases. I didn't notice it myself; perhaps if you installed the new curl then there is some optimisation in there. If you mean the feed link at the end of my post, yes it gives a 403 if you click it but if you enter the URL into the Add/Remove Software program on your Zaurus it will read it and list the packages available.

Click to view attachment
koan
Zocalo 2.1 has been uploaded to my website.

New features:
- Navigate next/previous articles in article view using shift & up/down keys
- Save an article to a file

You may have guessed this was coming after seeing my recent updates to curl and other packages.

Since the last release, I think at the end of 2010, I have continued to use Zocalo but mainly on my PPC Debian machine using Qt 3. A while back I got into static code analysis using a tool called CppCheck and discovered some minor resource leaks and a few other issues I tidied up for good measure. I didn't think of making another release but recently I was asked to add some other features. The code is in good shape, considering my style has changed quite a lot since 2.0. Anyway, I found some other bugs which have now been fixed.
koan
Zocalo 2.2 is now available.

There is a new option for automatic updates.
When you save an article, the link is appended to it.
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.