maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [TESTERS WANTED] Nibbles - a feed reader (https://talk.maemo.org/showthread.php?t=16718)

Spakman 2008-03-09 10:10

Re: [TESTERS WANTED] Nibbles - a feed reader
 
Jim,

I think I've worked out what's happening. When you don't prefix the url with "http://" you get sent the IPv6 socket (which we can't handle - I guess the version of Ruby we have hasn't been compiled with support for it).

I can get all of those feeds to work when I prefix them with "http://". At least one (Slashdot) failed when prefixed with "Http://" (capitol H). "feed://" failed too. I'll file a bug about the scheme handling. Thanks a lot for pointing out this bug.

Note, that the lack of feedback/progress notification is bug #2270. At the moment, there can be a large wait (where nothing is visibly happening) while adding a feed. It's really compounded when adding a new feed and the feed is large.

Good luck, let me know how that works out.

Mark

Spakman 2008-03-09 10:15

Re: [TESTERS WANTED] Nibbles - a feed reader
 
Quote:

Originally Posted by Spakman (Post 152549)
I can get all of those feeds to work when I prefix them with "http://". At least one (Slashdot) failed when prefixed with "Http://" (capitol H). "feed://" failed too. I'll file a bug about the scheme handling.

Bug #2278.

Mark

macr0t0r 2008-03-09 16:10

Re: [TESTERS WANTED] Nibbles - a feed reader
 
Ah! So, I require patience! I did the http versus no http with Engadget, but not with the other links (I assumed from Engadget that it made no difference). You're right, the other three work. Man, I wonder what's so special about Engadget?

Anyhow, this is now working well enough for me to use it. I'll see if I can spend some time and see what's going on with Engadget in the next day or so. Thanks!

- Jim

Spakman 2008-03-10 13:58

Re: [TESTERS WANTED] Nibbles - a feed reader
 
Quote:

Originally Posted by macr0t0r (Post 152611)
I did the http versus no http with Engadget, but not with the other links (I assumed from Engadget that it made no difference). You're right, the other three work. Man, I wonder what's so special about Engadget?

Are you sure it's not working with "http://" prefix?

"http://www.engadget.com/rss.xml" works for me (note that it's all lower case).

These bugs should be fixed in the next release, thanks.

Mark

Spakman 2008-03-13 12:55

Re: [TESTERS WANTED] Nibbles - a feed reader
 
I've just released version 0.0.8. With a little luck, this will be the last release before version 0.1 - woohoo!

From the release notes:

* Much improved feedback of when feeds are being updated - bug #2270
* When adding a feed, now get something back to the user as soon as possible to let her know something is happening - bug #2270
* Fixed a few scheme handling problems - bug #2278
* Now uses conditional GET requests for fetching the feeds (much better for bandwidth)
* Fixed the view menu article list status to correspond to the article list visibility(!)

Teaser: I've also got a working branch for offline viewing of full articles. This still requires some work and won't be released until around version 0.2, but I think it will be a very nice feature when it's complete.

Yis' aw ken whit ti dae wi' the bugs!

Mark

rone 2008-03-22 18:20

Re: [TESTERS WANTED] Nibbles - a feed reader
 
I have gone through and added a bunch of feeds to nibbles. I am wondering if there are any plans in the works to improve download speed?

I have basically the same feeds setup in claws-mail rss reader. In claws mail it takes about 2 minutes to update all my feeds and processor is about 50% used.

In Nibbles it takes over 1/2 hour and the processor was pegged at 100% the whole time.

In both cases I had not updated either one in about a week so they should have been downloading about the same number of items.

If there is any information I can provide or anything else I can try, please let me know.

Keep up the great work!

rone 2008-03-23 22:22

Re: [TESTERS WANTED] Nibbles - a feed reader
 
I just tried the latest version and I see downloads have improved a little bit but they still see to take a long time.

Spakman 2008-03-25 15:43

Re: [TESTERS WANTED] Nibbles - a feed reader
 
Quote:

Originally Posted by rone (Post 158832)
I have gone through and added a bunch of feeds to nibbles. I am wondering if there are any plans in the works to improve download speed?

Yes, although there [i]may[/b] be a couple of other things that I'd like to get sorted first.

Quote:

Originally Posted by rone (Post 158832)
I have basically the same feeds setup in claws-mail rss reader. In claws mail it takes about 2 minutes to update all my feeds and processor is about 50% used.

In Nibbles it takes over 1/2 hour and the processor was pegged at 100% the whole time.

If there is any information I can provide or anything else I can try, please let me know.

Although I'd expect Claws to be a fair bit faster than Nibbles at parsing feeds (it's the parsing rather than the downloading that takes the time), that does seem like a long time for four feeds. Can you tell me what feeds you use, please?

For anyone interested: Nibbles uses a library called feed-normalizer (which uses several parsers - three in this case) to parse feeds and return them all in the same format. This isn'st the fastest method (and Ruby isn't the fastest language!), so it should be possible to speed it up.

Cheers,

Mark

rone 2008-03-25 17:26

Re: [TESTERS WANTED] Nibbles - a feed reader
 
I do have more than 4 feeds. I have not done an exact count but it is more in the 30+ range. I can send you the list if you want but I don't see any one feed causing the slow down, it just seems to take a while to process each feed.

Spakman 2008-03-26 12:35

Re: [TESTERS WANTED] Nibbles - a feed reader
 
Quote:

Originally Posted by rone (Post 160003)
I do have more than 4 feeds. I have not done an exact count but it is more in the 30+ range. I can send you the list if you want but I don't see any one feed causing the slow down, it just seems to take a while to process each feed.

Re-reading your posts, I see no mention of four feeds. I've no idea why I imagined that!

Currently, Nibbles uses Ruby libraries to parse the feeds, which is slow on the N8x0 devices. I chose to do it that way because it was simple to implement. I would like to use a much faster C library (perhaps the claws-mail one, perhaps the built in OSSO reader one, perhaps another) at some stage. However, I've not looked into it and it's likely to be quite a lot of work. In the meantime, I might be able to be a bit smarter about things and get some speedups.

There are some other things I'd like to do first, like downloading of full offline articles (and make a first proper release!), but I'll definitely look into it.

Thanks a lot, it's really good to hear how other people use the application.

Mark

cashless 2008-03-26 15:25

Re: [TESTERS WANTED] Nibbles - a feed reader
 
Well, I got nibbles installed fine but I wanted it to be the default RSS handler. So I edited the defaults list to change the RSS reader to nibbles.install. Clicking on a RSS logo of a webpage opens the feedhandler, but only gives me canola and the built-in RSS reader as subscription options.

Should I be adding "nibbles.desktop" instead? Any clues?

Spakman 2008-03-26 15:44

Re: [TESTERS WANTED] Nibbles - a feed reader
 
Quote:

Originally Posted by cashless (Post 160442)
Well, I got nibbles installed fine but I wanted it to be the default RSS handler. So I edited the defaults list to change the RSS reader to nibbles.install. Clicking on a RSS logo of a webpage opens the feedhandler, but only gives me canola and the built-in RSS reader as subscription options.

Should I be adding "nibbles.desktop" instead? Any clues?

I've already asked the Canola guys to look into adding other feed readers to their list. I've not heard much for a little while though. Also, MicroB may be supporting something similar in the future.

Until then, the line in defaults.list should look like this:

application/hildon-news_reader=nibbles.desktop

I'm still trying to work out a way of doing this nicely, without needing root access.

Let me know if that didn't help,

Mark

cashless 2008-03-26 17:22

Re: [TESTERS WANTED] Nibbles - a feed reader
 
Quote:

Originally Posted by Spakman (Post 160449)

Until then, the line in defaults.list should look like this:

application/hildon-news_reader=nibbles.desktop

I'm still trying to work out a way of doing this nicely, without needing root access.

I had that in there for a while and it didn't change the feedhandler action, but I'll revert to it and see what it does.

I'd like to see the output of adding a feed.

EDIT; going back into the defaults lists, I see that I actually never changed it back to nibbles.install. It's been nibbles.desktop the whole time.

Strange.

Is it working for everyone but me?

Spakman 2008-03-26 21:11

Re: [TESTERS WANTED] Nibbles - a feed reader
 
Quote:

Originally Posted by cashless (Post 160493)
I had that in there for a while and it didn't change the feedhandler action, but I'll revert to it and see what it does.

I'd like to see the output of adding a feed.

EDIT; going back into the defaults lists, I see that I actually never changed it back to nibbles.install. It's been nibbles.desktop the whole time.

Hmm, that's a little strange. Can you post your defaults.list, please?

cashless 2008-03-26 21:49

Re: [TESTERS WANTED] Nibbles - a feed reader
 
/usr/share/applications # more defaults.list
[Default Applications]
# Browser supported mime types
application/x-javascript=hildon-browser.desktop
application/x-shockwave-flash=hildon-browser.desktop
image/ico=hildon-browser.desktop
image/pjpeg=hildon-browser.desktop
image/vnd.wap.wbmp=hildon-browser.desktop
image/xbm=hildon-browser.desktop
image/x-ms-bmp=hildon-browser.desktop
image/x-windows-bmp=hildon-browser.desktop
image/x-xbitmap=hildon-browser.desktop
text/css=hildon-browser.desktop
text/html=hildon-browser.desktop
text/sgml=hildon-browser.desktop
text/x-dtd=hildon-browser.desktop

# Media player supported mime types
application/vnd.ms-wpl=hildon-mp_ui.desktop
application/x-ms-asx=hildon-mp_ui.desktop
audio/mp3=hildon-mp_ui.desktop
audio/mpeg=hildon-mp_ui.desktop
audio/wav=hildon-mp_ui.desktop
audio/x-amr=hildon-mp_ui.desktop
audio/x-m4a=hildon-mp_ui.desktop
audio/x-mp2=hildon-mp_ui.desktop
audio/x-mp3=hildon-mp_ui.desktop
audio/x-mpegurl=hildon-mp_ui.desktop
audio/x-ms-wax=hildon-mp_ui.desktop
audio/x-ms-wma=hildon-mp_ui.desktop
audio/x-pn-realaudio=hildon-mp_ui.desktop
audio/x-pn-realaudio-plugin=hildon-mp_ui.desktop
audio/x-real=hildon-mp_ui.desktop
audio/x-scpls=hildon-mp_ui.desktop
audio/x-wav=hildon-mp_ui.desktop
video/3gpp=hildon-mp_ui.desktop
video/avi=hildon-mp_ui.desktop
video/mpeg=hildon-mp_ui.desktop
video/x-mp4=hildon-mp_ui.desktop
video/x-ms-asf=hildon-mp_ui.desktop
video/x-msvideo=hildon-mp_ui.desktop

# Image viewer
image/bmp=hildon-image-viewer.desktop
image/gif=hildon-image-viewer.desktop
image/jpeg=hildon-image-viewer.desktop
image/png=hildon-image-viewer.desktop
image/svg+xml=hildon-image-viewer.desktop
image/tiff=hildon-image-viewer.desktop
image/wbmp=hildon-image-viewer.desktop
image/x-ico=hildon-image-viewer.desktop

# Sketch
sketch/png=hildon-osso_sketch.desktop

# Notes
text/note=hildon-osso_notes.desktop
text/plain=hildon-osso_notes.desktop

# Application manager
application/x-deb=hildon-hildon-application-manager.desktop
application/x-debian-package=hildon-hildon-application-manager.desktop
application/x-install-instructions=hildon-hildon-application-manager.desktop

# Address book
text/x-vcard=hildon-osso-addressbook.desktop

# Others
application/x-certman=hildon-certman.desktop
application/news_reader=nibbles.desktop
application/game=hildon-chess_startup.desktop
application/pdf=hildon-osso_pdfviewer.desktop

Spakman 2008-03-27 07:42

Re: [TESTERS WANTED] Nibbles - a feed reader
 
Ah, try running "update-desktop-database" as root.

cashless 2008-03-27 11:13

Re: [TESTERS WANTED] Nibbles - a feed reader
 
Quote:

Originally Posted by Spakman (Post 160813)
Ah, try running "update-desktop-database" as root.

Did that, no change.

Spakman 2008-03-27 11:58

Re: [TESTERS WANTED] Nibbles - a feed reader
 
Try changing it to hildon-nibbles.desktop and running update-desktop-database.

If that doesn't work, can you tell me what loads when you do click the RSS icon, please?

cashless 2008-03-27 21:48

Re: [TESTERS WANTED] Nibbles - a feed reader
 
Quote:

Originally Posted by Spakman (Post 160870)
Try changing it to hildon-nibbles.desktop and running update-desktop-database.

If that doesn't work, can you tell me what loads when you do click the RSS icon, please?

Ah, now we have the magic!!!

Thanks!

Edit:

Spoke too soon, I add feeds, they load... go back to Microb, add feed, first feed is missing... I'll look through the thread for answers.

Spakman 2008-03-28 08:31

Re: [TESTERS WANTED] Nibbles - a feed reader
 
Quote:

Originally Posted by cashless (Post 161148)
Spoke too soon, I add feeds, they load... go back to Microb, add feed, first feed is missing... I'll look through the thread for answers.

Does it sound like bug 2305?

cashless 2008-03-28 17:01

Re: [TESTERS WANTED] Nibbles - a feed reader
 
Quote:

Originally Posted by Spakman (Post 161375)
Does it sound like bug 2305?

Not quite, I don't think it relates to timing. After attempting to add the second feed repeatedly, I basically quit. When I opened Nibbles again, I didn't have a single feed added.

Spakman 2008-03-28 20:54

Re: [TESTERS WANTED] Nibbles - a feed reader
 
If you fancy helping out, I would really appreciate it if you can try again and let me know the steps you took (and the feeds) used to reproduce that problem. I've not seen or heard of anything like it.

cashless 2008-03-28 21:44

Re: [TESTERS WANTED] Nibbles - a feed reader
 
Quote:

Originally Posted by Spakman (Post 161662)
If you fancy helping out, I would really appreciate it if you can try again and let me know the steps you took (and the feeds) used to reproduce that problem. I've not seen or heard of anything like it.

Sure, I'll give a go this weekend (probably tonight) and make sure I document the steps thoroughly.


All times are GMT. The time now is 17:41.

vBulletin® Version 3.8.8