Sweetcron to the rescue

September 3 2008, 4:15pm

With all of the social sites, blog sites, RSS feeds, and image repositories at our disposal, Sweetcron has finally given *bloggers a way to compile all of those warehouses in one place - your own site. I decided to give Sweetcron a shot. And with its simple, yet powerful, codebase, I swapped from WordPress to Sweetcron immediately.

Of course, Sweetcron is still in its infancy, so I had to write some custom code to get everything imported. I didn't just want to leave my WordPress instance on my server. I wanted to completely get rid of it. So I figured I would share the code I used to import my WordPress posts into Sweetcron... Enjoy!

So here goes - and I know it's not the most beautiful code snippet in the world, but it worked for me. Feel free to post modified code in the comments.

Get the code here (rename to import.php).