Re: XSL with RSS?
Myk Melez <[email protected]> Mon, 23 Apr 2007 23:19:45 -0700
| Newsgroups | gmane.comp.mozilla.devel.layout.xslt |
|---|---|
| Organization | mozilla.org |
| Message-ID | <[email protected]> |
Jhecht wrote: > Is there anyway to use XSL with RSS in firefox 2? > > I would think that you would just have to include the XSL stylesheet > link in the top of the RSS file, but When i try to view my RSS feed in > FF 2 with the XSL, it doesn't work and just displays the FF default > for RSS feeds. Add a comment before the <rss> or <feed> root tag that is at least 512 bytes long and your XSL stylesheet will get applied in lieu of the default Firefox stylesheet. But make sure your stylesheet is really what your users want, since overriding the default sheet means users will see something different from what they usually see for feeds and won't be able to subscribe to it in the same way they can subscribe using the Firefox-provided UI. -myk