Joel Francisco geek stories and photography misadventures

26May/090

updating blog using windows live writer

I am testing Windows Live Writer, a product that came as a free package for the Windows Live Products. It impressively connects to your blogs, like my blog site which uses WordPress, simply install and enter your username and password on your WordPress site, make sure you check XML-RPC on your Wordpress Dashboard  to enable the WordPress, Movable Type, MetaWeblog and Blogger XML-RPC publishing protocols.

Now using Windows Live Writer, blogging has never been as easy as typing it on your MS Word, and not on an HTML crappy plug in that takes ages to load sometimes and doesn’t really work that well. As an almost MS Word look-alike, it features spell-check feature and a Preview Tab so you can check how it will look like into your site.

It also connects to your Windows Live Photos, so you can insert your windows live albums as easy as this:

View pugaks in a box
View Full Album
31Mar/090

Change of Hearts – Transfer Serendipity to Wordpress

Yes, it was a hard decision. But its for the best.

Bye serendipity... 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) import. It does have a RSS2.0 import
2.Serendipity has an full RSS feed export
So it looks like it is a simple export RSS in s9y and import RSS in wp. If only thing is so easy.

The problems:

1.Although s9y says “Export full RSS feed”, it actually export the first part of a 2 parts post.
2.s9y encode html tags < as & lt; and > as & gt;
wp however expect them to be un-encode and enclosed with CDATA[' ']
3.Time out well importing too big a rss file.
The solution:

1.Fix the full export
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.
Save the xml file

2.Fix the encoding
Open the xml file in a text editor (Try NotePad2)
Do a search and replace
& lt; with < & gt; with >

3.Fix the time out
At the top of wp-admin/admin.php
add set_time_limit(0);

Random Snaps

DSC_0835.jpg Gawad Kalinga - Shoot & Shelter Gawad Kalinga - Shoot & Shelter DSC_0544.jpg DSC_0553.jpg DSC_0695.jpg DSC_0538.jpg Dubai Festival City Night Shoot

Blogroll

Archives

Categories

RSS Tekzilla!

New Tag Cloud