Page 1 of 1
WARNING [RSS] Failed to retrieve RSS from http://sander.jonkers.googlepages.com/
Posted: January 25th, 2009, 11:15 am
by sander
Hi,
I'm playing with RSS-NZB-feeds. I copied a .rss file from tvnzb, deleted a lot of items from that list, and then uploaded the .rss file to
http://sander.jonkers.googlepages.com/m ... zb_new.rss
I can access that file via Firefox, wget and iGoogle.
However, after putting the file in SAB's RSS and schedule & download it, SAB says:
WARNING
[RSS] Failed to retrieve RSS from
http://sander.jonkers.googlepages.com/m ... zb_new.rss
Is SABnzbd warning "honest" and can SAB really not retrieve the file? Or is it possible that SAB *can* access the .rss file, but sees a syntax error in it? If so, can someone point out what's wrong?
Re: WARNING [RSS] Failed to retrieve RSS from http://sander.jonkers.googlepages.com/
Posted: January 25th, 2009, 11:23 am
by switch
Our feedparsing module requires the server respond with the correct Content-Type when serving up rss files. googlepages is not set up for hosting rss content, and responds with a content type of "application/octet-stream"
Try it on a different server, such as one running apache.
Re: WARNING [RSS] Failed to retrieve RSS from http://sander.jonkers.googlepages.com/
Posted: January 25th, 2009, 1:59 pm
by sander
Ok, clear. Thanks. Indeed mytvnzb.foechoer.be gives another type: [application/rss+xml]. See below.
*Why* is that type required. It is a matter of strict programming, or is it really necessary?
And: is there a free hosting site that does produces the correct type? I just want to host some NZBs and one .rss file.
Code: Select all
sander@flappie:~$ wget http://sander.jonkers.googlepages.com/mini-tvnzb_new.rss
<snip>
Length: 796 [application/octet-stream]
sander@flappie:~$ wget http://mytvnzb.foechoer.be/feed/id/3692307333.rss
<snip>
Length: 1,179 (1.2K) [application/rss+xml]
Re: WARNING [RSS] Failed to retrieve RSS from http://sander.jonkers.googlepages.com/
Posted: January 25th, 2009, 2:18 pm
by switch
It's a programming decision by the person who wrote the feedparser script. Not sure of their exact reasons, but different content types need different handling methods. There are similar xml ones with very minor differences, so simply trying to force it to work from an unrecognised content type will likely see small errors such as encoding errors.
It is much easier to just expect a proper content type as most servers that are setup properly will return it.
Re: WARNING [RSS] Failed to retrieve RSS from http://sander.jonkers.googlepages.com/
Posted: January 25th, 2009, 3:27 pm
by sander
It seems sites.google.com (so: not pages.google.com) is better at it's rss handling: Length: 796 [application/rss+xml]. See below.
And no more Warnings in SAB, so I guess I can use sites.google.com for my rss files.
Code: Select all
sander@flappie:~/Desktop/kul$ wget 'http://sites.google.com/site/onlineblabla/Home/mini-tvnzb_new.rss?attredirects=0' --output-document=mijnrss.rss
<snip>
HTTP request sent, awaiting response... 200 OK
Length: 796 [application/rss+xml]
100%[============================================================================================================================================================================================>] 796 --.--K/s
21:22:06 (75.80 MB/s) - `mijnrss.rss' saved [796/796]
sander@flappie:~/Desktop/kul$