OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: DOCBOOK-APPS: [INFO] bug in rss.xsl stylesheet?


hello,

note: this mail belongs to the website DTD.

i was allways getting a wrong data formats
if i tried to import RSS feeds into my website
documents.

the result i was getting looked like the following
example.

 (Sun, 06 Oct 200)
                ^
----------------|

just look at the last digit of the year, it is
missing. because to eliminate that behaviour
shouldnt be too difficult, i decided to take
a look at the stylesheet that produces the rss
output.

i changed the line 91 of rss.xsl from ...

 <xsl:value-of select="substring($timeString, 25, 4)"/>

... to ...

 <xsl:value-of select="substring($timeString, 25, 5)"/>

that did the trick. maybe that is a bug or my cvs
version produces diferent $Date:$ strings ...

i am using a cvs binary v1.11.

With best regards / Mit freundlichen Gruessen

Daniel S. Haischt IT Consulting
______________________________
[revolutionary and alpha geek]

Daniel S. Haischt
Grabenstrasse 11
D-71083 Herrenberg
G E R M A N Y

FON:      +49 -7032-992909
          +49 -700-DHAISCHT
FAX:      +49 -7032-992910
CELLULAR: +49 -172-7668936

email: daniel.haischt@daniel-s-haischt.biz
web:   http://www.daniel-s-haischt.biz

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS dx s:- a- C++ UB++++ P+++ L++++ E W+++ N+++ o-- K- w--- 
O++ M++ V- PS+ PE++ Y+ PGP++ t+++ 5+ X+++ R+ tv++ b+++ DI+ D+++ 
G e++ h-- r+ y+++++ 
------END GEEK CODE BLOCK------



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC