Wordpress/tests/data/export/crazy-cdata.xml

47 lines
1.7 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0"
xmlns:excerpt="http://wordpress.org/export/1.1/excerpt/"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:wp="http://wordpress.org/export/1.1/"
>
<channel>
<wp:wxr_version>1.1</wp:wxr_version>
<wp:base_site_url>http://wp.dev</wp:base_site_url>
<item>
<title>Hello world!</title>
<link>http://example.org/?p=1</link>
<pubDate>Thu, 05 Jan 2012 14:30:46 +0000</pubDate>
<dc:creator>admin</dc:creator>
<guid isPermaLink="false">http://example.org/?p=1</guid>
<content:encoded><![CDATA[Content with nested <![CDATA[ tags ]]> :)]]></content:encoded>
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
<wp:post_id>1</wp:post_id>
<wp:post_date>2012-01-05 14:30:46</wp:post_date>
<wp:post_date_gmt>2012-01-05 14:30:46</wp:post_date_gmt>
<wp:comment_status>open</wp:comment_status>
<wp:ping_status>open</wp:ping_status>
<wp:post_name>hello-world</wp:post_name>
<wp:status>publish</wp:status>
<wp:post_parent>0</wp:post_parent>
<wp:menu_order>0</wp:menu_order>
<wp:post_type>post</wp:post_type>
<wp:post_password></wp:post_password>
<wp:is_sticky>0</wp:is_sticky>
<wp:postmeta>
<wp:meta_key>Plain string</wp:meta_key>
<wp:meta_value><![CDATA[Foo]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key>Closing CDATA</wp:meta_key>
<wp:meta_value><![CDATA[]]>]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key>Alot of CDATA</wp:meta_key>
<wp:meta_value><![CDATA[This has <![CDATA[ opening and ]]> closing <![CDATA[ tags like this: ]]>]]></wp:meta_value>
</wp:postmeta>
</item>
</channel>
</rss>