hey there,
very often i have links, that the xml parsing engine doesn't like:
http://www.netzkobold.com/index.php?/feeds/atom.xml
so i get the error message:
"XML-Verarbeitungsfehler: nicht wohlgeformt"
but these are the external links i have to use, cause they are just like that.
shall i just ignore it or is there any other way to solve this parsing error?
thanks in advance for your answers
xml-parsing-error (xml-verarbeitungsfehler) in links!?
-
netzkobold
- Regular
- Posts: 7
- Joined: Tue Sep 27, 2005 6:59 pm
- Location: Berlin
- Contact:
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: xml-parsing-error (xml-verarbeitungsfehler) in links!?
You must either properly use XHTML encoding for your links, so that you write
instead of just
(Note that the "&" character is not a well-formed entity).
Or you must use the XHTML Cleanup plugin, which will fix those kinds of links for you automatically. But that automagic does only work on 90% of all XHTML errors...
The problem of XML validity is, that Serendipity can only show valid XML if you enter valid XHTML in your entries.
Regards,
Garvin
Code: Select all
http://host/mylink.php?link1=1&link2=2
Code: Select all
http://host/mylink.php?link1=1&link2=2
Or you must use the XHTML Cleanup plugin, which will fix those kinds of links for you automatically. But that automagic does only work on 90% of all XHTML errors...
The problem of XML validity is, that Serendipity can only show valid XML if you enter valid XHTML in your entries.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
netzkobold
- Regular
- Posts: 7
- Joined: Tue Sep 27, 2005 6:59 pm
- Location: Berlin
- Contact:
dear garvin,
thank you very much for your quick answer.
but where can i do this extra "coding"?
while writing a blog post i only use existing external links like this "http://www.analyzeblood.be/index.php?ty ... TMJPMFYVBY" and there are no changes to be done.
could the activated "top exits" plugin cause any problems?
hm, but the code there is like you said with "&" in between <a href="http://www.netzkobold.com/exit.php?url_ ... ntry_id=60" title="http://www.analyzeblood.be/index.php?ty ... TMJPMFYVBY">
ah, the "title-tag" causes the problem here, but this is also done by serendipity, not me. can i change that anywhere?
cheers, netzkobold
ref: http://www.netzkobold.com/index.php?/feeds/atom.xml
thank you very much for your quick answer.
but where can i do this extra "coding"?
while writing a blog post i only use existing external links like this "http://www.analyzeblood.be/index.php?ty ... TMJPMFYVBY" and there are no changes to be done.
could the activated "top exits" plugin cause any problems?
hm, but the code there is like you said with "&" in between <a href="http://www.netzkobold.com/exit.php?url_ ... ntry_id=60" title="http://www.analyzeblood.be/index.php?ty ... TMJPMFYVBY">
ah, the "title-tag" causes the problem here, but this is also done by serendipity, not me. can i change that anywhere?
cheers, netzkobold
ref: http://www.netzkobold.com/index.php?/feeds/atom.xml
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Netzobkold,
please read my posting again. Using "&" in your links is wrong. You need to use "&" instead.
When you edit the entry, how does your code look like? It may not look like this:
Instead it needs to look like
Regards,
Garvin
please read my posting again. Using "&" in your links is wrong. You need to use "&" instead.
When you edit the entry, how does your code look like? It may not look like this:
Code: Select all
<a href="http://www.analyzeblood.be/index.php?type=IF&ID=82023&pwd=TVTMJPMFYVBY">Analyzeblood</a>
Code: Select all
<a href="http://www.analyzeblood.be/index.php?type=IF&ID=82023&pwd=TVTMJPMFYVBY">Analyzeblood</a>
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
netzkobold
- Regular
- Posts: 7
- Joined: Tue Sep 27, 2005 6:59 pm
- Location: Berlin
- Contact: