[XML4WCMS] RSS 0.91 parsing problem

If you've problems with unsupported - non official ;-) - functionalities use this forum please.
Post Reply
FastPhive
Posts: 19
Joined: Thu 19. Aug 2004, 11:55
Location: Chemnitz
Contact:

[XML4WCMS] RSS 0.91 parsing problem

Post by FastPhive »

:oops: -> Sorry! It should be in the support forum. Mod, please move!

XML4WCMS is running fine with rdf-feeds like "heise.de".
But when using a rss-feed nothing is displayed.

maybe it needs some tweaks in the xsl but I am a totaly noob to this...

:arrow: can anyone help me to display some rss on my site?

Thx in advance!
jmeyknecht
Posts: 112
Joined: Sun 11. Jan 2004, 23:13
Location: Merseburg, Germany
Contact:

Post by jmeyknecht »

of course it is not working with all RSS Feeds, because the XSLT Stylesheets used with the xml4wcms mod distribution is especially for heise.de (which is RDF 0.9)

all you need to do is to create your xslt stylesheet for your RSS you want to include and that's it!

edit: this is no bug of xml4wcms but just the fact that not all xml files have the same structure and therefore need other stylesheets. logical, or not?
FastPhive
Posts: 19
Joined: Thu 19. Aug 2004, 11:55
Location: Chemnitz
Contact:

Post by FastPhive »

if you say so... :wink:

as mentioned before i'm a 100% noob to xml. :oops:
but i keep learning...

i finally made the matching xsl for an rss and it works nearly perfect.
with one exeption:

german umlauts like "ä,ü,ö" and special characters like "&" are srewed.
something must be wrong with the coding settings.

phpwcms and xsl settings are "iso-8859-1" but in the source code of the wcms page somehow a

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
tag appears.

Does anybody know where this comes from or what to change?
cguenther
Posts: 111
Joined: Sun 11. Jan 2004, 12:41
Location: Halle, Germany
Contact:

Post by cguenther »

jmeyknecht
Posts: 112
Joined: Sun 11. Jan 2004, 23:13
Location: Merseburg, Germany
Contact:

Post by jmeyknecht »

add to you stylesheet:

Code: Select all

<xsl:output encoding="ISO-8859-1"/>
or check your private messages
Post Reply