Cannot parse http://rss.orf.at/futurezone.xml -- I
suspect the problem is the encoding iso-8859-15 but not
sure. The feed does validate.
Logged In: YES
Correct. The next version of AmphetaDesk will include a few more
encodings (from XML::Parser::Encodings), but -15 won't be one of
them, since an encoding map has never been made for it. In
asking around on various lists a month or so ago, it appears we
can make our own by using some of the tools already provided
with XML::Parser::Encoding. In particular, this reply from Steve
Hay (email@example.com) seemed most relevant:
There's a directory of mappings at
I think you can build the binary encoding file necessary for
XML::Parser from those files using make_encmap and
compile_encoding, which come with XML::Encoding.
Logged In: YES
Now if I attached the iso-8859-15 mapping might you
consider adding it to the next distribution? Thanks for the
pointer to the MAPPINGS, building the encoding file with this
was pretty simple (in case someone wants to build another
* Download encoding.txt from
* Run make_encmap encoding encoding.txt >
* Add expat="yes" on the document element in
* Run compile_encoding -o encoding.enc encoding.encmap
I'd be most inclined to add it to the next version, yes. Have you
(or do you know how) to test the encoding map you've created? If
not, here's how you would:
a) close AmphetaDesk.
b) go to AmphetaDesk/lib/XML.
c) add a new directory called "Parser".
d) Within the "Parser" directory,
add a new directory called "Encodings".
e) Name your encoding iso-8859-15.enc.
f) Place it into this directory.
g) Restart Ampheta, try the feed again.
Lemme know, eh? If it parses fine, either email me, or attach it to
the ticket (I'd prefer both, if possible).
The encoding is attached and working fine for ISO-8859-15 feeds.
The following encodings have been added to the AmphetaDesk
CVS: from XML::Parser::Encodings: big5, euc-kr, iso-8859-2
through -9, windows-1250 and 1252, x-euc-jp-jisx0221,
x-euc-jp-unicode, x-sjis-cp932, x-sjis-jdk1117,
x-sjis-jisx0221, x-sjis-unicode. from Klaus Johannes Rusch:
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.