Skip to content

Instantly share code, notes, and snippets.

@iso100 iso100/ee2wpexport
Created Jul 27, 2012

Embed
What would you like to do?
EE to WP Export
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
xmlns:excerpt="http://wordpress.org/export/1.0/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.0/"
>
<channel>
<title>Pitney Bowes Business Insight Blog</title>
<link>http://www.pbinsight.com/blog/</link>
<description></description>
<pubDate>Fri, 20 May 2011 11:24:14 +0000</pubDate>
<generator>http://wordpress.org/?v=2.9.2</generator>
<language>en</language>
<wp:wxr_version>1.0</wp:wxr_version>
<wp:base_site_url>http://pbbiblogs.com/</wp:base_site_url>
<wp:base_blog_url>http://li.pbbiblogs.com</wp:base_blog_url>
<wp:category><wp:category_nicename>pbbicorp</wp:category_nicename><wp:category_parent></wp:category_parent><wp:cat_name><![CDATA[PBBI]]></wp:cat_name></wp:category>
{exp:weblog:categories}
<wp:category><wp:category_nicename>{category_url_title}</wp:category_nicename><wp:category_parent></wp:category_parent><wp:cat_name><![CDATA[{category_name}]]></wp:cat_name></wp:category>
{/exp:weblog:categories}
{exp:tag:tags}
<wp:tag><wp:tag_slug>{websafe_tag}</wp:tag_slug><wp:tag_name><![CDATA[{tag}]]></wp:tag_name></wp:tag>
{/exp:tag:tags}
{exp:weblog:entries weblog="blog" disable="pagination|trackbacks" limit="100" rdf="off" orderby="date" sort="asc"}
<item>
<title>{exp:xml_encode protect_entities="yes"}{title}{/exp:xml_encode}</title>
<link>{exp:xml_encode protect_entities="yes"}{url_title}{/exp:xml_encode}</link>
<pubDate>{entry_date format="%r"}</pubDate>
<dc:creator><![CDATA[{author}]]></dc:creator>
<category><![CDATA[PBBI]]></category>
<category domain="category" nicename="pbbicorp"><![CDATA[PBBI]]></category>
{categories}
<category><![CDATA[{category_name}]]></category>
<category domain="category" nicename="{category_url_title}"><![CDATA[{category_name}]]></category>
{/categories}
{exp:tag:tags entry_id="{entry_id}" orderby="alpha" sort="asc"}
<category domain="tag"><![CDATA[{tag}]]></category>
<category domain="tag" nicename="{websafe_tag}"><![CDATA[{tag}]]></category>
{/exp:tag:tags}
<guid isPermaLink="false">{exp:xml_encode protect_entities="yes"}{url_title}{/exp:xml_encode}</guid>
<description></description>
<content:encoded><![CDATA[{blog_detail}]]></content:encoded>
<excerpt:encoded><![CDATA[{blog_intro}]]></excerpt:encoded>
<wp:post_id>{entry_id}</wp:post_id>
<wp:post_date>{entry_date format="%Y-%m-%d %H:%i:%s"}</wp:post_date>
<wp:post_date_gmt>{entry_date format="%Y-%m-%d %H:%i:%s"}</wp:post_date_gmt>
<wp:comment_status>open</wp:comment_status>
<wp:ping_status>open</wp:ping_status>
<wp:post_name>{entry_id}</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>
{if {comment_total} > 0}
{exp:comment:entries sort="asc" dynamic="off" entry_id="{embed:blog_entry_id}"}
<wp:comment>
<wp:comment_id>{comment_id}</wp:comment_id>
<wp:comment_author><![CDATA[{author}]]></wp:comment_author>
<wp:comment_author_email>{email}</wp:comment_author_email>
<wp:comment_author_url>{url}</wp:comment_author_url>
<wp:comment_author_IP>{ip_address}</wp:comment_author_IP>
<wp:comment_date>{comment_date format="%Y-%m-%d %g:%i:%s"}</wp:comment_date>
<wp:comment_date_gmt>{comment_date format="%Y-%m-%d %g:%i:%s"}</wp:comment_date_gmt>
<wp:comment_content><![CDATA[{comment}]]></wp:comment_content>
<wp:comment_approved>1</wp:comment_approved>
<wp:comment_type></wp:comment_type>
<wp:comment_parent>0</wp:comment_parent>
<wp:comment_user_id>0</wp:comment_user_id>
</wp:comment>
{/exp:comment:entries}
{/if}
</item>
{/exp:weblog:entries}
</channel>
</rss>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.