From: Colin M. <co...@ch...> - 2004-08-19 23:00:37
|
On Fri, 2004-08-20 at 07:58, David Gravereaux wrote: > Ok, Say I want to do an http::getUrl on > http://www.npr.org/rss/rss.php?topicId=2 while generating a page from a > template on the server. How do I make the XML into a formatted table all > dynamically? Yes, I've never done this before. You know, since RSS is XML, and since XML can be formatted with CSS, you can actually just slap a stylesheet into the RSS (as a PI <? ?>) and let the browser do the formatting for you. I saw this technique on the net, but haven't tracked it closely, here's one apparent tutorial I dug up just now: http://www.crystalflame.net/2003/12/rss_with_css.html It can work really nicely, the pages under http://sharedtech.dyndns.org/~colin/treecl/docs/ are all pure XML with CSS style. Hope this helps. -- Colin McCormack <co...@ch...> |