Hi Leute,
ich hab hier 2 unterschiedliche xml Dateien.
Eine ist von Wordpress die sich ohne Problem über WP-O-Matic einlesen lässt.
Die andere ist von keine Wordpress feed und lässt sich NICHT komplett einlesen.
Wordpress Feed:
Code
BODY{font:x-small 'Verdana';margin-right:1.5em} .c{cursor:hand} .b{color:red;font-family:'Courier New';font-weight:bold;text-decoration:none} .e{margin-left:1em;text-indent:-1em;margin-right:1em} .k{margin-left:1em;text-indent:-1em;margin-right:1em} .t{color:#990000} .xt{color:#990099} .ns{color:red} .dt{color:green} .m{color:blue} .tx{font-weight:bold} .db{text-indent:0px;margin-left:1em;margin-top:0px;margin-bottom:0px;padding-left:.3em;border-left:1px solid #CCCCCC;font:small Courier} .di{font:small Courier} .d{color:blue} .pi{color:blue} .cb{text-indent:0px;margin-left:1em;margin-top:0px;margin-bottom:0px;padding-left:.3em;font:small Courier;color:#888888} .ci{font:small Courier;color:#888888} PRE{margin:0px;display:inline} <?xml version="1.0" encoding="UTF-8" ?>
<rss version="[B]2.0[/B]" xmlns:content="[B]http://purl.org/rss/1.0/modules/content/[/B]" xmlns:wfw="[B]http://wellformedweb.org/CommentAPI/[/B]" xmlns:dc="[B]http://purl.org/dc/elements/1.1/[/B]" xmlns:atom="[B]http://www.w3.org/2005/Atom[/B]" xmlns:sy="[B]http://purl.org/rss/1.0/modules/syndication/[/B]" xmlns:slash="[B]http://purl.org/rss/1.0/modules/slash/[/B]">
<channel>
<title>test test test test</title>
<atom:link href="test test test test" rel="[B]self[/B]" type="[B]application/rss+xml[/B]" />
<link>test test test test</link>
<description>test test test test</description>
<lastBuildDate>Fri, 16 Jul 2010 21:24:16 +0000</lastBuildDate>
<generator>http://wordpress.org/?v=2.9.2</generator>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<item>
Alles anzeigen
Anderer Feed:
Code
BODY{font:x-small 'Verdana';margin-right:1.5em} .c{cursor:hand} .b{color:red;font-family:'Courier New';font-weight:bold;text-decoration:none} .e{margin-left:1em;text-indent:-1em;margin-right:1em} .k{margin-left:1em;text-indent:-1em;margin-right:1em} .t{color:#990000} .xt{color:#990099} .ns{color:red} .dt{color:green} .m{color:blue} .tx{font-weight:bold} .db{text-indent:0px;margin-left:1em;margin-top:0px;margin-bottom:0px;padding-left:.3em;border-left:1px solid #CCCCCC;font:small Courier} .di{font:small Courier} .d{color:blue} .pi{color:blue} .cb{text-indent:0px;margin-left:1em;margin-top:0px;margin-bottom:0px;padding-left:.3em;font:small Courier;color:#888888} .ci{font:small Courier;color:#888888} PRE{margin:0px;display:inline} <?xml version="1.0" encoding="ISO-8859-1" ?>
<rss version="[B]2.0[/B]">
<channel>
<title>test test test test</title>
<link>test test test test</link>
<description>test test test test</description>
<copyright>test test test test</copyright>
<item>
<title>test test test test</title>
<description>test test test test</description>
<link>test test test test</link>
<image>test test test test</image>
</item>
<item>
Alles anzeigen
Um die letzte einlesen zu können, muss ich da was ändern?
Geht die xml überhaupt in wordpress?
Danke schonmal
hackbird