Re: SourceForge RSS [Was: xmlroff website help wanted]
Stefan Seefeld <[email protected]>
| Newsgroups | gmane.text.xml.xmlroff.general |
|---|---|
| Message-ID | <[email protected]> |
Tony Graham wrote: > (Replying to part of Stefan's message) > > Stefan Seefeld <[email protected]> writes: >>Sorry, no. Doing a build locally, I get the content wrapped in >>'<div class="rss">'. Is it the same <div> you see, just empty ? > > > That is what I see. > > I'm using the 2.5 version of the website stylesheets. huh ? The first statement inside the custom-website.xsl file reads <xsl:import href="http://docbook.sourceforge.net/release/website/2.4.1/xsl/tabular.xsl"/> Are you not using this file ? But anyways, even if I replace '2.4.1' there by '2.5.0' I get a 'correct' news listing. > Looking at the stylesheets and the SourceForge RSS, it appears that > the stylesheets are expecting the RSS to use namespaced elements and > the SourceForge RSS doesn't. yeah, you are talking about the 'rss.xsl' file that's shipped with the db-website xsl distribution, right ? That appears indeed to be written for rss 1.0, while sf.net provides rss 2.0 feeds. That's why I don't use the xsl templates from Norm, but my own, which don't use the rss namespace. I'm a bit lost now. Let me try on sf.net... > SourceForge claims all sorts of wonderful compatibility and testing > for correctness for its RSS feeds, so I don't know who's right and > who's wrong about namespaces for RSS. the docbook website xsl says it provides support for rss 1.0 (0.9x) feeds, while sf.net provides rss 2.0 feeds. They may both be correct. > The first step would be to copy the template for the <rss> element > into the custom stylesheet and tweak the namespaces on the "select" > and "match" attributes to make it work. I thought that was what I had been doing all the time :-) Is it possible that you forgot to apply the patch to the custom-website.xsl file ? > Second step would be to submit a bug report or enhancement request to > the DocBook project. Yeah, I did that some weeks ago. Regards, Stefan ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl