[wp-hackers] XSLT: Sample implementation

Jeff Minard jeff at jrm.cc
Mon Jan 30 21:44:46 GMT 2006


Owen Winkler wrote:
> Indeed, Matt's other code (as seen in a pastebin) is even better, 
> because it decides what feed format to present to a client based on the 
> Accept request header and not the request URI.  So if your client likes 
> Atom best, it would request from http://example.com/feed and get Atom. A 
> different client could point at the same URI and get RSS 2.0 or RDF, 
> depending on the q of the Accept.  Very nifty.

That would go right in-line with the idea (from the other thread) or 
using an open source rss library for output parsing.

Jeff


More information about the wp-hackers mailing list