maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   First test release of gPodder for Fremantle (https://talk.maemo.org/showthread.php?t=29128)

thp 2009-08-23 20:36

Re: First test release of gPodder for Fremantle
 
Quote:

Originally Posted by qgil (Post 314609)
I get two options to choose from:

"Add to bookmarks"
"Add shortcut to desktop"

Ok, I should have checked that URL myself first. Try this one (I've tested it with the Diablo browser): http://linuxoutlaws.com/podcast - you should get an RSS icon in the toolbar. If so, what does clicking that icon do?

Quote:

Originally Posted by qgil (Post 314609)
As said Transmission works as expected in relation to the browser. You could ask the developer. I think there was a recent thread explaining how to do it properly. If it's not documented in the Developer Guide then a bug wouldn't hurt...

Transmission's file handling is a bit different from gPodder's feed handling, because with .torrent files, the browser downloads the file and then uses an application to open the locally downloaded file. For gPodder, no download should take place for the feed, but the URL of the feed needs to be passed from the browser to gPodder (otherwise gPodder could never update a feed, because it would not know the URL of the feed).

qwerty12 2009-08-23 22:58

Re: First test release of gPodder for Fremantle
 
Quote:

Originally Posted by thp (Post 314612)
Transmission's file handling is a bit different from gPodder's feed handling, because with .torrent files, the browser downloads the file and then uses an application to open the locally downloaded file. For gPodder, no download should take place for the feed, but the URL of the feed needs to be passed from the browser to gPodder (otherwise gPodder could never update a feed, because it would not know the URL of the feed).

I don't watch/listen to podcasts so please forgive any ignorance that I may show.

Canola, with its tuning plugin for chinook (http://repository.maemo.org/extras/p...tuning-plugin/) took a different approach; they edited uri-defaults.list to run their python program, which gave a list of adding the feed to Canola/the RSS feed reader, instead of the RSS reader when clicking the RSS icon in browser-ui. But it does seem hackish IMO and there should be a better way than that, but I don't know if it exists in all honesty.

But for those podcasts that use those special protocols that you mentioned, this post by conny (albeit being C-oriented) may be of use: http://talk.maemo.org/showpost.php?p=312336&postcount=8

qgil 2009-08-24 02:48

Re: First test release of gPodder for Fremantle
 
http://linuxoutlaws.com/podcast offers also a

"Subscribe to feed: Linux Outlaws Podcast feed"

It is connected to the well known Maemo RSS Feed Reader.

thp 2009-08-24 08:44

Re: First test release of gPodder for Fremantle
 
Quote:

Originally Posted by qwerty12 (Post 314646)
Canola, with its tuning plugin for chinook (http://repository.maemo.org/extras/p...tuning-plugin/) took a different approach; they edited uri-defaults.list to run their python program, which gave a list of adding the feed to Canola/the RSS feed reader, instead of the RSS reader when clicking the RSS icon in browser-ui. But it does seem hackish IMO and there should be a better way than that, but I don't know if it exists in all honesty.

After looking at the source code for the canola-tuning-plugin (it's written in Python - nice :), it seems like the approach is the same as the manual approach described on the homepage of Nibbles: Edit /usr/share/applications/defaults.list and set application/hildon-news_reader to a specific .desktop file that will be used as the feed handler. If this still works on Fremantle, we could use a similar approach to handle feeds with gPodder.

About being hack-ish and 'in search for a better way': I think the feedhandler in canola-tuning is going in the right direction, but it should be more open - there should be a separate "feedhandler" package on which news readers and podcast aggregators can depend, and when invoking the feed handler, it shows all installed news readers and podcast aggregators and allows the user to choose to which one it passes the feed (and maybe some generic options like "copy feed URL to clipboard).

Of course, this only works if Fremantle's browser still uses the application/hildon-news_reader setting in /usr/share/applications/defaults.list.

Quote:

Originally Posted by qwerty12 (Post 314646)
But for those podcasts that use those special protocols that you mentioned, this post by conny (albeit being C-oriented) may be of use: http://talk.maemo.org/showpost.php?p=312336&postcount=8

Thanks, that's helpful indeed :)

thp 2009-08-24 09:32

Re: First test release of gPodder for Fremantle
 
Quote:

Originally Posted by qgil (Post 314679)
http://linuxoutlaws.com/podcast offers also a

"Subscribe to feed: Linux Outlaws Podcast feed"

It is connected to the well known Maemo RSS Feed Reader.

I have created a sample feed handler (works on Diablo, don't know if it works on Fremantle) based on the canola2-tuning-plugin. It's just a test right now, but it's a start :)

A new package "Maemo Feed Handler" (feedhandler 0.1-1) should appear in Maemo Extras-Devel soon (if the build worked, that is ;)). Can you please install it and try the "Subscribe to feed:" option you described above again (probably after re-starting the web browser) and see if it brings up a feed handler dialog instead of the default RSS news reader?

qgil 2009-08-25 14:24

Re: First test release of gPodder for Fremantle
 
Unable to install 'Maemo Feed Handler'

Missing python2.5-feedparser (>=4.1-1osso3)

X-Fade 2009-08-25 14:33

Re: First test release of gPodder for Fremantle
 
Quote:

Originally Posted by qgil (Post 315359)
Unable to install 'Maemo Feed Handler'

Missing python2.5-feedparser (>=4.1-1osso3)

The package interface predicts that nicely ;) And finds even one more.

http://maemo.org/packages/package_in...handler/0.1-1/

thp 2009-08-25 14:38

Re: First test release of gPodder for Fremantle
 
Quote:

Originally Posted by X-Fade (Post 315361)
The package interface predicts that nicely ;) And finds even one more.

http://maemo.org/packages/package_in...handler/0.1-1/

Yep, that's what one gets when taking a Diablo source package, modifying it and not fixing the dependencies..

Uploaded feedhandler 0.1-2 to Fremantle Extras-Devel which should have the correct dependencies listed :)

VDVsx 2009-08-25 14:42

Re: First test release of gPodder for Fremantle
 
Quote:

Originally Posted by X-Fade (Post 315361)
The package interface predicts that nicely ;) And finds even one more.

http://maemo.org/packages/package_in...handler/0.1-1/

Note that python2.5-hildon is provided by python-hildon[1], could be a bug in the package system(website) ?

[1] - http://maemo.org/packages/package_in...0.9.0-1maemo10

X-Fade 2009-08-25 14:57

Re: First test release of gPodder for Fremantle
 
Quote:

Originally Posted by VDVsx (Post 315365)
Note that python2.5-hildon is provided by python-hildon[1], could be a bug in the package system(website) ?

[1] - http://maemo.org/packages/package_in...0.9.0-1maemo10

Yes that was a bug ;) A recent change broke provides lookup, but that is fixed now.


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

vBulletin® Version 3.8.8