PDA

View Full Version : RSS / ATOM feeds


djaef
10-15-2006, 03:57 AM
When I originally set up my blog, I noticed photoblogs.org picked up my feed, but there were fields that were empty (such as the description). I wrote a post about it here, and Connie in her wisdom told me to smell the roses and not sweat the small stuff.. Good advice.

But. I tried once again to validate my feeds and I got a lot of errors. So I went looking on some sites which gave examples of the correct ATOM syntax (wikipedia I think it was), and then I looked in the index.php to see how it was written. That got me quite confused because the two look completely different.

The errors are ones like
Undefined feed element: description
Undefined author element: webMaster
and more obscure things like This feed uses an obsolete namespace
and "self" link references a non-Atom representation: text/html

So should I just forget about it and smell the roses as Connie suggests, or does someone know about how the index.php handles the ATOM feed and how I can fix it? thanks.

Vernon.Trent
10-15-2006, 08:50 AM
you can edit your index.php and add the missed informations in the atom and rss section.
when you're done, you can smell the roses :-) (just kidding)

djaef
10-15-2006, 11:27 PM
Yes I could, and I have tried, but the structure in index.php looks completely different to the ATOM syntax I found on the web. I added description etc.. but it's not getting picked up becuase of the errors in syntax. My question I suppose is to the developers, and goes along the lines of "does Pixelpost conform to correct syntax with ATOM and RSS feeds?" I'm not really into "feeds" but I know a lot of people are, and I'd like mine not to have errors and to validate. It's not neccesarily a pixelpost problem, but it's just that the code in the index.php just looks so different from an example of a correctly coded ATOM feed you can find on the net.

Connie
10-16-2006, 05:44 PM
go to feedvalidator and check the atom syntax
it is ok, it is valid Atom 1.0 now if you use the newest version of PP

Connie, smelling armenian roses now;=)

DikkieBurger
10-16-2006, 05:47 PM
go to feedvalidator and check the atom syntax
it is ok, it is valid Atom 1.0 now if you use the newest version of PP

Mm, my ATOM feed isn't valid. It has 2 errors.. :confused:
http://feedvalidator.org/check.cgi?url=http%3A%2F%2Fwww.dikkieburger.nl%2Ff eeds%2Fatom.xml

feanne
10-16-2006, 09:45 PM
*recycled advice*

Or use feedburner. I'm using feedburner; my feed's validated. :3

blinking8s
10-18-2006, 01:09 AM
feedburner is the shit...and you can keep track of how many people use your feed with it.

my images dont want to display on some feed readers and styled feeds..I need to figure that out.

GeoS
10-18-2006, 03:13 PM
@Will: Is there any option of debugging it? I see it doesnt execute HTML code but only show it as "sourcecode".