April 17, 2007
Currently, you can only have two automatic feeds per folder, RSS and Atom. Some other systems support RSS 0.92 and RSS 1.0; I've decided to concentrate on the more modern (and simpler) feed formats. It is possible to create additional feeds by setting up your own parallel linked folder structure, but I'm not sure that there's a lot of requirement for that.
<lastBuildDate>[posts count=1][post.pdate format="%a, %d %b %Y %X"] +0000[/posts]</lastBuildDate>
<pubDate>[post.pdate format="%a, %d %b %Y %X"] +0000</pubDate>
Posted by: McGurk at April 19, 2007 02:15 AM (8GzzQ)
Posted by: McGurk at April 19, 2007 02:54 AM (8GzzQ)
Posted by: Pixy Misa at April 19, 2007 04:02 AM (PiXy!)
Posted by: McGurk at April 19, 2007 03:44 PM (Ri74D)
Posted by: Pixy Misa at April 19, 2007 03:56 PM (PiXy!)
Posted by: McGurk at April 24, 2007 05:52 PM (Ri74D)
Even this template is doing it.
Reference to undefined entity 'nbsp'.
Line: 18 Character: 220
<description>("<P>Just read an article over at The Old New Thing about the Decoy Effect. Very interesting. By adding a third choice, you can skew opinion towards one of two legitimate choices. </P>\r\n<P>You are asked to choose between A and B. 50% of people pick A, 50% pick B. If you want to push people towards A, you can easily do this by adding a third choice C that is not as good as A or B. Just make sure that choice A is better than C in more respects than B is. People use choice C as the benchmark; they see that A is twice as better than C than B and therefore pick A more often. </P>\r\n<P>Keep an eye out for this kind of gaming in real life. If I find any I'll post 'em here.</P>", 'strip_markup')...</description>"
Posted by: McGurk at April 24, 2007 05:54 PM (Ri74D)
field.text gives you the text with any HTML or BBCode markup stripped out.
field.esc gives you the field with markup escaped (and BBCode converted to HTML, and then escaped), which should be safe for inclusion in a feed.
Posted by: Pixy Misa at April 24, 2007 06:13 PM (PiXy!)
Posted by: Pixy Misa at April 24, 2007 06:15 PM (PiXy!)
I've patched that, and I'll do a little testing now. I'm surprised more things didn't break... Though if they had, I would have found the problem straight away.
My RSS wasn't working at all. I wondered why I wasn't getting any comments...
Posted by: Pixy Misa at April 25, 2007 05:29 AM (PiXy!)
31 queries taking 0.0536 seconds, 62 records returned.
Powered by Minx 1.1.6c-pink.