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?
WARNING [RSS] Failed to retrieve RSS from http://sander.jonkers.googlepages.com/
Forum rules
Help us help you:
Help us help you:
- Are you using the latest stable version of SABnzbd? Downloads page.
- Tell us what system you run SABnzbd on.
- Adhere to the forum rules.
- Do you experience problems during downloading?
Check your connection in Status and Interface settings window.
Use Test Server in Config > Servers.
We will probably ask you to do a test using only basic settings. - Do you experience problems during repair or unpacking?
Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
WARNING [RSS] Failed to retrieve RSS from http://sander.jonkers.googlepages.com/
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Re: WARNING [RSS] Failed to retrieve RSS from http://sander.jonkers.googlepages.com/
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.
Try it on a different server, such as one running apache.
Re: WARNING [RSS] Failed to retrieve RSS from http://sander.jonkers.googlepages.com/
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.
*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]If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Re: WARNING [RSS] Failed to retrieve RSS from http://sander.jonkers.googlepages.com/
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.
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/
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.
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$
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate

