<?xml version="1.0" encoding="UTF-8"?>
<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:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Joel Francisco &#187; export serendipity to wordpress</title>
	<atom:link href="http://www.joelfrancisco.com/tag/export-serendipity-to-wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.joelfrancisco.com</link>
	<description>geek stories and photography misadventures</description>
	<lastBuildDate>Thu, 10 Jun 2010 18:21:09 +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>
		<title>Change of Hearts &#8211; Transfer Serendipity to Wordpress</title>
		<link>http://www.joelfrancisco.com/2009/03/31/hello-world/</link>
		<comments>http://www.joelfrancisco.com/2009/03/31/hello-world/#comments</comments>
		<pubDate>Tue, 31 Mar 2009 12:14:48 +0000</pubDate>
		<dc:creator>Joel</dc:creator>
				<category><![CDATA[Technology rocks!]]></category>
		<category><![CDATA[export serendipity to wordpress]]></category>
		<category><![CDATA[serendipity to wordpress]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://joelfrancisco.com/?p=1</guid>
		<description><![CDATA[Yes, it was a hard decision. But its for the best.
Bye serendipity&#8230; Hello Wordpress!
Lot of issues for the change, but it just actually because of the limited plugins/widgets serendipity was offering.
Anyway good thing i found this blog to export my blog entries from serendipity to wordpress
First the idea.
1.WordPress (wp) do not have a Serendipity (s9y)]]></description>
			<content:encoded><![CDATA[<p>Yes, it was a hard decision. But its for the best.</p>
<p>Bye serendipity&#8230; Hello Wordpress!</p>
<p>Lot of issues for the change, but it just actually because of the limited plugins/widgets serendipity was offering.</p>
<p>Anyway good thing i found this blog to export my blog entries from serendipity to wordpress</p>
<p>First the idea.</p>
<p>1.WordPress (wp) do not have a Serendipity (s9y) import. It does have a RSS2.0 import<br />
2.Serendipity has an full RSS feed export<br />
So it looks like it is a simple export RSS in s9y and import RSS in wp. If only thing is so easy.</p>
<p>The problems:</p>
<p>1.Although s9y says “Export full RSS feed”, it actually export the first part of a 2 parts post.<br />
2.s9y encode html tags &lt; as &amp; lt; and &gt; as &amp; gt;<br />
wp however expect them to be un-encode and enclosed with CDATA[' ']<br />
3.Time out well importing too big a rss file.<br />
The solution:</p>
<p>1.Fix the full export<br />
In the file rss.php (in the root folder), find this line serendipity_printEntries_rss($entries, $version, $comments, $metadata['fullFeed'], $metadata['showMail']);before the line add$metadata['fullFeed'] = true;Go into Serendipity admin and click on Export entries.<br />
Save the xml file</p>
<p>2.Fix the encoding<br />
Open the xml file in a text editor (Try NotePad2)<br />
Do a search and replace<br />
&amp; lt; with &lt; &amp; gt; with &gt;</p>
<p>3.Fix the time out<br />
At the top of wp-admin/admin.php<br />
add set_time_limit(0);</p>

<!-- Quick Adsense Wordpress Plugin: http://techmilieu.com/quick-adsense -->
<div style="float:none;margin:0px 0 0px 0;text-align:center;">
<script type="text/javascript"><!--
google_ad_client = "pub-2361570022033930";
/* 468x60, created 12/6/09 */
google_ad_slot = "8925992766";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>

<div style="font-size:0px;height:0px;line-height:0px;margin:0;padding:0;clear:both"></div>]]></content:encoded>
			<wfw:commentRss>http://www.joelfrancisco.com/2009/03/31/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
