<?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; serendipity to wordpress</title>
	<atom:link href="http://www.joelfrancisco.com/tag/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, 22 Dec 2011 20:06:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<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 [...]]]></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>
]]></content:encoded>
			<wfw:commentRss>http://www.joelfrancisco.com/2009/03/31/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

