Page 1 of 1
[XML4WCMS] RSS 0.91 parsing problem
Posted: Mon 18. Oct 2004, 14:09
by FastPhive

-> 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...

can anyone help me to display some rss on my site?
Thx in advance!
Posted: Mon 18. Oct 2004, 20:09
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?
Posted: Tue 19. Oct 2004, 14:42
by FastPhive
if you say so...
as mentioned before i'm a 100% noob to xml.
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?
Posted: Tue 19. Oct 2004, 14:48
by cguenther
Posted: Tue 2. Nov 2004, 09:24
by jmeyknecht
add to you stylesheet:
Code: Select all
<xsl:output encoding="ISO-8859-1"/>
or check your private messages