Translated press news on the main index page do not work and just original english records are displayed. The following patch to includes.misc.xsl 1.19 helps to me: --- includes.misc.xsl.orig Tue Jan 11 18:18:54 2005 +++ includes.misc.xsl Tue Jan 11 18:19:13 2005 @@ -664,8 +664,8 @@ <xsl:param name="news.press.xml" select="''" /> <xsl:for-each select="document($news.press.xml-master)/descendant::story[position() <= 5]"> - <xsl:param name="year" select="../../year/name" /> - <xsl:param name="month" select="../month/name" /> + <xsl:param name="year" select="ancestor::year/name" /> + <xsl:param name="month" select="ancestor::month/name" /> <xsl:param name="pos" select="position()" /> <xsl:param name="url" select="url" /> <xsl:param name="site-url" select="site-url" /> The next problem is that after massive upgrade of includes.misc.xsl anchors do not work for news and press from main index page to newsflash.html and press.html. The problem is that index page is generated so that generate-story-anchor and generate-event-anchor are used with anchor format #storyYM:N or #eventYMD:N, whereas newsflash.html and press.html use html-news-generate-anchor with formatted Y to 4 digits and M, D and N to 2 digits.
Hello, I'm sorry, but I have incorrectly used category docs instead of www - please, could you, people from www group, loot at it? Thanks. (The full path to the file is www/share/sgml/includes.misc.xsl.) FreeBSD-gnats-submit@FreeBSD.org wrote (2005/01/11): > Thank you very much for your problem report. > It has the internal identification `docs/76112'. > The individual assigned to look at your > report is: freebsd-doc. > > You can access the state of your problem report at any time > via this link: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=76112 > > >Category: docs > >Responsible: freebsd-doc > >Synopsis: Translated press news and anchors for news and press do not work > >Arrival-Date: Tue Jan 11 17:30:44 GMT 2005 -- Rudolf Cejka <cejkar at fit.vutbr.cz> http://www.fit.vutbr.cz/~cejkar Brno University of Technology, Faculty of Information Technology Bozetechova 2, 612 66 Brno, Czech Republic
Responsible Changed From-To: freebsd-doc->freebsd-www Reassign to www, since this is more related to the web site.
Hello, the problems mentioned in PR docs/76112 have been solved recently in www/share/sgml/includes.misc.xsl 1.20, so you can close this PR now. Thanks. -- Rudolf Cejka <cejkar at fit.vutbr.cz> http://www.fit.vutbr.cz/~cejkar Brno University of Technology, Faculty of Information Technology Bozetechova 2, 612 66 Brno, Czech Republic
State Changed From-To: open->closed The submitted told that revision 1.20 of www/share/sgml/includes.misc.xsl had fixed the problem. So it can be closed. Thanks for the notification!