Created
November 19, 2014 15:39
-
-
Save cdevroe/f15c9be4b337957d7ce6 to your computer and use it in GitHub Desktop.
Export Barley CMS to WordPress (WIP)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your blog. --> | |
<!-- It contains information about your blog's posts, comments, and categories. --> | |
<!-- You may use this file to transfer that content from one site to another. --> | |
<!-- This file is not intended to serve as a complete backup of your blog. --> | |
<!-- To import this information into a WordPress blog follow these steps. --> | |
<!-- 1. Log into that blog as an administrator. --> | |
<!-- 2. Go to Manage: Import in the blog's admin panels. --> | |
<!-- 3. Choose "WordPress" from the list. --> | |
<!-- 4. Upload this file using the form provided on that page. --> | |
<!-- 5. You will first be asked to map the authors in this export file to users --> | |
<!-- on the blog. For each author, you may choose to map to an --> | |
<!-- existing user on the blog or to create a new user --> | |
<!-- 6. WordPress will then import each of the posts, comments, and categories --> | |
<!-- contained in this file into your blog --> | |
<!-- generator="WordPress/MU" created="2008-05-16 22:49"--> | |
<rss version="2.0" | |
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>Plain</title> | |
<link>http://plainmade.com/</link> | |
<description>Just another WordPress.com weblog</description> | |
<pubDate>Fri, 16 May 2008 22:46:22 +0000</pubDate> | |
<generator>http://wordpress.org/?v=MU</generator> | |
<language>en</language> | |
<wp:wxr_version>1.0</wp:wxr_version> | |
<wp:base_site_url>http://plainmade.com/</wp:base_site_url> | |
<wp:base_blog_url>http://plainmade.com</wp:base_blog_url> | |
<!-- <item> | |
<title>About</title> | |
<link>http://jlueck.wordpress.com/about/</link> | |
<pubDate>Fri, 11 Jan 2008 20:23:05 +0000</pubDate> | |
<dc:creator><![CDATA[jlueck]]></dc:creator> | |
<guid isPermaLink="false"></guid> | |
<description></description> | |
<content:encoded><![CDATA[This is an example of a WordPress page, you could edit this to put information about yourself or your site so readers know where you are coming from. You can create as many pages like this one or sub-pages as you like and manage all of your content inside of WordPress.]]></content:encoded> | |
<wp:post_id>2</wp:post_id> | |
<wp:post_date>2008-01-11 20:23:05</wp:post_date> | |
<wp:post_date_gmt>2008-01-11 20:23:05</wp:post_date_gmt> | |
<wp:comment_status>open</wp:comment_status> | |
<wp:ping_status>open</wp:ping_status> | |
<wp:post_name>about</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>page</wp:post_type> | |
<wp:post_password></wp:post_password> | |
</item> --> | |
<!-- repeat:blogpost:50 --> | |
<item> | |
<title>%TITLE%</title> | |
<link>%BARLEY_URL%</link> | |
<pubDate>%PUBLISHED_ON%</pubDate> | |
<dc:creator><![CDATA[%AUTHOR%]]></dc:creator> | |
<guid isPermaLink="false">%BARLEY_URL%</guid> | |
<description></description> | |
<content:encoded>%BODY%</content:encoded> | |
</item> | |
<!-- endrepeat --> | |
</channel> | |
</rss> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nice work, Colin. I'll test it soon.