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: [EMAIL PROTECTED]
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------

Reply via email to