Trouble with creating RSS1.0-Feeds

Creating and modifying plugins.
Post Reply
ChrisP
Regular
Posts: 15
Joined: Thu Mar 01, 2007 9:03 am

Trouble with creating RSS1.0-Feeds

Post by ChrisP »

Hi there!

I´m running a blog under http://www.christians.weltensichten.de, which I updated to S9y 1.1.1 recently.

Since I updated, the blog seems unable to create RSS1.0-Feeds; at least that´s what I read from the error message
Dieser Feed kann nicht angezeigt werden.

Dieser Feed enthält Fehler.
Wechseln Sie zur vorherigen Seite.

Weitere Informationen

Ungültig auf der obersten Ebene im Dokument.
Zeile: 0 Zeichen: 0
which, in translation from my german IE7, reads "invalid in top level of document, line 0, sign 0"

All other feeds work just fine, only RSS1.0 seems messy.

I already tried re-uploading the files for 1.1.1 to my webspace, but that didn´t change the problem at all...

Any guess on what the problem could be?

Chris
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Trouble with creating RSS1.0-Feeds

Post by garvinhicking »

Hi!

Hm, if I call the URL:

http://www.christians.weltensichten.de/ ... ersion=1.0

I can see an error message by the creativecommons plugin. Seems its unable to fetch the RDF metadata for the RSS 1.0 feed. I just committed a change to this for the plugin file, maybe you can fetch the updated version:

http://svn.berlios.de/viewcvs/*checkout ... p?rev=1637

However, this problem should actually already happened before serendipity 1.1...


HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
ChrisP
Regular
Posts: 15
Joined: Thu Mar 01, 2007 9:03 am

Post by ChrisP »

Hello, Garvin!

First of all, thanks for your quick reply.

I exchanged the file you mentioned, but to no avail - actually, I get a *different* error now:
Dieser Feed kann nicht angezeigt werden.

Internet Explorer unterstützt dieses Feedformat nicht.
Wechseln Sie zur vorherigen Seite.

Weitere Informationen

Unterstützte Feedformate

ATOM 0.3, 1.0
RSS 0.91, 0.92
RSS 1.0
RSS 2.0
Was ist ein Feed?

Ein Feed ist eine Methode zur Übertragung häufig aktualisierter Webinhalte. Sie sind ebenfalls als Webfeeds, RSS-Feeds, XML-Feeds oder Schlagzeilen bekannt.
Seems like the IE finds SOMEthing now, but does´t identify it as a RSS1.0-Feed...

I see that the link on the page is different from the one you posted - as is the result: The page link is http://christians.weltensichten.de/feeds/index.rss1, while yours calls a file named "rss.php", giving it the desired format!? (The link you posted still has the old error message "invalid in top level of document, line 0, sign 0"

Oh, and the problem definitely didn´t occur until February 23d, because a Blogroll I´m on which embodies the teasers via RSS1.0 listed my blog entries until that date... until then my RSS1.0-feeds seemed to work just fine (that page uses RSS1.0 exclusively)
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

My IE6 and Firefox, and RSS Bandit can now all load the URL

http://christians.weltensichten.de/feeds/index.rss1

properly. Must be IE7 that can't understand this format. RSS 1.0 is dead, BTW. Use RSS 2.0 :-)

Which s9y version did you previously use? Did you use the creativecommons plugin previously? Or could it be you only installed that after the upgrade?

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
ChrisP
Regular
Posts: 15
Joined: Thu Mar 01, 2007 9:03 am

Post by ChrisP »

garvinhicking wrote:My IE6 and Firefox, and RSS Bandit can now all load the URL

http://christians.weltensichten.de/feeds/index.rss1

properly. Must be IE7 that can't understand this format. RSS 1.0 is dead, BTW. Use RSS 2.0 :-)
*sigh* I would, believe me, I would... but the customer is alsways right, and especially THIS blogroll insists upon RSS1.0 exclusively...

Firefox reads the feed ok now, too... only IE7 doesn´t.

I´ll check with the guy who calls the feed and deactivate it like some other older formats...
garvinhicking wrote: Which s9y version did you previously use? Did you use the creativecommons plugin previously? Or could it be you only installed that after the upgrade?

Best regards,
Garvin
AaaaaaYeah, right that one... 1.0.1 or 1.0.2, I think - I skipped some updates - "If it ain´t broken, don´t fix it" has always been my motto ;) but I´m improving on that one...

The Creative Commons Plugin is the one that displays the licensing information, right? That has been running before the update, too... but I seem to remember that Spartacus told me it was renewed and I updated that separately!
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Hm. I think from s9y 1.0 to 1.1 we added the option to make RSS feeds templateable (via feed*.tpl files in the template directory). Thus, all RSS feeds had to be converted from PHP to the smarty .tpl syntax.

It might be that this RSS 1.0 format was not properly converted, so maybe some changes need to be made to the feed_10.tpl file so that it's valid RSS 1.0 again.

Sadly RSS 1.0 is so very different from the other RSS 0.91, 2.0 formats, because its RDF and not really RSS. I'm not much into RSS 1.0 right now, so I can't spot the differences that need to be made. Maybe the feedvalidator.org output can help in that issue...

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
ChrisP
Regular
Posts: 15
Joined: Thu Mar 01, 2007 9:03 am

Post by ChrisP »

The RSS1.0 Feed doesn´t validate for a bunch of reasons, but the only customer I care about seems satisfied, so... ;)

Thanks a bunch, Garvin, I´m satisfied so far!

Next question already comin´up! *duck*
Post Reply