PDA

View Full Version : Rss & Atom feed starting with blank line


DerPatrick
08-06-2006, 11:11 PM
The Feed Validator (http://www.feedvalidator.org) say my RSS (http://fotoblog.1n8.de/index.php?x=rss) and ATOM (http://fotoblog.1n8.de/index.php?x=atom) feeds are not valid because they are starting with a blank line - anyone know how to solve this problem?


Source: http://fotoblog.1n8.de/index.php?x=atom

1.
2. <?xml version='1.0' encoding='UTF-8'?>
3. <feed xml:lang='en' xmlns='http://www.w3.org/2005/Atom'>
4. <title>fotoblog photoblog</title>
5. <link rel='alternate' type='text/html' href='http://fotoblog.1n8.de/' title='fotoblog' />
6. <link rel='self' type='text/html' href='http://fotoblog.1n8.de/index.php?x=atom' title='fotoblog' />
7. <author>
8. <name>fotoblog</name>
9. <uri>http://fotoblog.1n8.de/</uri>
10. </author>
11. <generator uri='http://www.pixelpost.org/' version='1.5BETA'>PixelPost</generator>
12. <id>http://fotoblog.1n8.de/</id>
13. <updated>2006-08-07T00:22:20+02:00</updated>
....

GeoS
08-06-2006, 11:59 PM
You had to hack something on own hand because code of Pixelpost doesnt have any empty line in RSS or ATOM feeds.

se.nsuo.us
08-07-2006, 04:52 AM
There are other reports of this as well - looks like a line break has crept into some addon/include files

DerPatrick
08-07-2006, 05:51 AM
There are other reports of this as well - looks like a line break has crept into some addon/include files

Thank you for your help, now i have found and fixed it - it cause by an (try)selfmade modification, an selfmade addon what doesnt work as well as it should and now be killed by myself.

:confused: