Page 1 of 1
RSS "browsing" - standalone page, or app
Posted: May 18th, 2011, 8:16 pm
by psycik
Hi, wasn;t sure the section to put this under, so figured the requests was the best.
Two part question:
1st How hard would it be to externalise the .5.x RSS page to use for browsing the RSS feeds and adding items to be downloaded (with attached categories as defined by the feed).
Or 2
What would be required of an external application to add downloads to the app, and has something been previously written that adds downloads?
Re: RSS "browsing" - standalone page, or app
Posted: May 19th, 2011, 1:36 am
by shypike
I don't understand the question.
What are you trying to accomplish?
Re: RSS "browsing" - standalone page, or app
Posted: May 19th, 2011, 1:55 pm
by psycik
I would like to browse selected RSS feeds (nzbmatrix etc) and download files directly to my sabnzbd server - with the categories previously defined to the rss feed. Eg my NZBMatrix TV feed is set up as TV, and an NZBMatrix Documentaries feed uses Specials as a category.
While I like what you've done for the automated downloading of RSS items, I used the rss config page (on the classic skin) as my window to nzbmatrix and nzbs.
Re: RSS "browsing" - standalone page, or app
Posted: May 19th, 2011, 3:21 pm
by shypike
If you setup the feeds in SABnzbd, you can read them out and inspect the content.
Then you setup filters or pick items manually for download.
I'm not sure what you want to accomplish with "externalizing", but the templates
are not stand-alone as they depend fully on a lot of Python code that's likely
not to be easily isolated.
Re: RSS "browsing" - standalone page, or app
Posted: May 19th, 2011, 3:43 pm
by psycik
OK
Sounds like I need to write my own RSS reader.
When passing sabnzbd an add api call (from API reference: "api?mode=addurl&name=
http://www.example.com/example.nzb&pp=3 ... e=NiceName")
Is the URL I pass, the full nzbmatrix one (including user and API key)? or is there special handling for nzbmatrix urls so that sabnzbd adds the user id and api key?
Re: RSS "browsing" - standalone page, or app
Posted: May 20th, 2011, 2:22 am
by shypike
psycik wrote:
1. Sounds like I need to write my own RSS reader.
2. Is the URL I pass, the full nzbmatrix one (including user and API key)? or is there special handling for nzbmatrix urls so that sabnzbd adds the user id and api key?
1. Maybe you do. I can recommend the use of feedparser.py, which does most of the hard work.
2. If you set your username and apikey in Config->Index_sites, SABnzbd will add missing authentication.