Quantcast Atom feed is back - Through Charlie Gorichanaz's Eyes

Atom feed is back

Posted October 19, 2008 5:51 PM | No Comments

I keep forgetting why it breaks, so here's the reason (for my own future reference):

I use a small PHP script to produce the images in my posts, which requires I include the function definition in every file served. I used to append it to all files via an .htaccess script, but now I just put it in the blog template. Anyway, in order to get images to display in the feeds instead of my PHP code, I send xml files through the PHP parser, but then the first line (<?xml version="1.0" encoding="iso-8859-1"?>) gets parsed, so I needed to replace that with <?="<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>"; ?>. Then everything works fine.


Categories:

Leave a comment

Search

About this Entry

This page contains a single entry by Charlie Gorichanaz published on October 19, 2008 5:51 PM.

Way behind, I know, but look, we're making progress was the previous entry in this blog.

I can't wait till Sunday, Nov. 2, at 2 a.m. is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

November 2008

Sun Mon Tue Wed Thu Fri Sat
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30            

Archives