[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RSS and/or Atom (0 FLAMES allowed!)

Subject: RSS and/or Atom (0 FLAMES allowed!)
From: iwantto keepanon <iwanttokeepanon@xxxxxxxx>
Date: Sat, 5 Nov 2005 08:20:34 +0300 (MSK)
xhtml gallery
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.