import script for 20six/myblog

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
oliof
Regular
Posts: 9
Joined: Thu May 17, 2007 12:55 pm

import script for 20six/myblog

Post by oliof »

Hello,
I am helping a friend to get the world's best blog. At the time being, he is stuck with 20six.net/myblog.de, which has no export function whatsoever.

Did anyone write an import script for this? I am not happily looking forward reinventing the wheel for one and a half years worth of blogging.

Regards,
Harald
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: import script for 20six/myblog

Post by garvinhicking »

Hi!

Sadly I haven't heard of that. You could use the generic RSS feed import, but then you only get the latest X articles of the blog of course.

Without an export, it's quite hard to write an import. ;-)

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

Do you have any access to the blog other than through its web interface? Shell, control panel, SQL, PHPMyAdmin?
Judebert
---
Website | Wishlist | PayPal
oliof
Regular
Posts: 9
Joined: Thu May 17, 2007 12:55 pm

Post by oliof »

no, nothing. the service is quite limited on the export side, kinda locked-in.

At the time being it looks like a manual import could be the easiest.

Generic RSS import works fine, but 20six/myblog does not sport comment feeds, which would yet need another import path.

Some major regex hackery might do the heavy lifting, although this is far from perfect (dos linebreaks need to be cleared up, gratuitous <br /> tags, the list goes on).

Regards,
Harald
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

Yowsa. "You will use our blog, and ONLY our blog. You will be forever chained to our website." Cue the evil laughter.

The only other thing I can think of is writing a screen-scraper to pull the entries down. Ick.
Judebert
---
Website | Wishlist | PayPal
Post Reply