Subject: [xsl] RSS and/or Atom (0 FLAMES allowed!) From: iwantto keepanon <iwanttokeepanon@xxxxxxxx> Date: Sat, 5 Nov 2005 08:20:34 +0300 (MSK) |
I don't really think this list includes a lot of trolls or flamers, but I just want to be cautious. So please, only include objective/dispassionate comments. I have XSL that transforms a (RSS|Atom) feed into a photo gallery (a la Douglas Bowman's http:// stopdesign.com/templates/photos/ excellent XHTML+CSS galleries). This isn't a flame or a disparagement on Dave Winer excellent RSS work. Trolls and Flames ... look elsewhere! Ok, that said, here is my XSLT question: RSS's <description> element only allows for (AFAIK) escaped (x)html. But my transformation *needs* to traverse the description element. B/C it is a feed of / photos/, I need to find and parse certain <img> elements and I need to generate XHTML gallery pages. Escaped (x)html does not allow that. I know that, using the XHTML namespace, Atom allows for <xhtml:*> elements in <content>. I have experimented in using valid UNescaped XHTML in the RSS' <description> element and both bloglines and opera display it appropriately. But I loathe the fact that the RSS feed does not validate. If I convert the RSS feed to Atom (w/UNescaped XHTML), then it validates AND displays correctly. Great! So ... I would like to know if anyone has done syndication and what your experiences might reveal. I realize that I could keep a "master" XML document and generate both RSS and Atom, but please I only want to keep 1 gallery/syndication XML file. Any insights? -- Rodman
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] xsl:key only checks first, David Bertoni | Thread | [xsl] Image Tage Bug, G Venkata Phanindra |
Re: [xsl] xsl:key only checks first, Patrick Warren | Date | [xsl] Concordance with XSLT, Jim_Albright |
Month |