Re: [Radiant] Importing Movable Type blog?

2008-06-03 Thread Silvano Stralla
Looking at the code of Mephisto [1] some days ago, I casually
discovered a plugin [2] for importing from various blog-engine.
Perhaps you can find some inspiration from that.

[1]: http://mephistoblog.com/
[2]: http://tinyurl.com/4y4xp2

:-)
sistrall


On Tue, Jun 3, 2008 at 5:31 PM, Jay Levitt [EMAIL PROTECTED] wrote:
 I know Radiant isn't quite blog-ready yet, but I've got a ridiculously
 simple blog set up in MovableType that I want to move over.  I don't care
 about users or comments, just posts.

 Can anyone think of a workflow that might help accomplish this, either
 through MovableType's export, a PostgreSQL dump, or even an RSS scraper? I'd
 hate to go cut and paste all 100 posts.

 Jay Levitt


-- 
Considera l'ambiente prima di stampare questa email. Dai, che
l'equazione è semplice: meno A4, più alberi.


. . . Silvano Stralla . . .
email: [EMAIL PROTECTED]
site: http://www.sistrall.it
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Importing Movable Type blog?

2008-06-03 Thread J Aaron Farr

Jay Levitt [EMAIL PROTECTED] writes:

 I know Radiant isn't quite blog-ready yet, but I've got a ridiculously
 simple blog set up in MovableType that I want to move over.  I don't
 care about users or comments, just posts.

 Can anyone think of a workflow that might help accomplish this, either
 through MovableType's export, a PostgreSQL dump, or even an RSS
 scraper? I'd hate to go cut and paste all 100 posts.

I'd start off by creating an extension [1], then creating a Rake task
in that extension to read in some XML export file and then create the
Radiant Pages as needed.  The extension's rake file will give you easy
access to all of Radiant's classes and database.

You might also be able to do a SQL dump and then do enough
find/replaces on the SQL to bring it into Radiant's database, but I'm
not sure how close the schemas are.

-- 
  J Aaron Farr jadetower.com[US] +1 724-964-4515
馮傑仁 cubiclemuses.com [HK] +852 8123-7905

[1] http://wiki.radiantcms.org/Creating_Radiant_Extensions
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Importing Movable Type blog?

2008-06-03 Thread Jay Levitt

J Aaron Farr wrote:

Jay Levitt [EMAIL PROTECTED] writes:


I know Radiant isn't quite blog-ready yet, but I've got a ridiculously
simple blog set up in MovableType that I want to move over.  I don't
care about users or comments, just posts.

Can anyone think of a workflow that might help accomplish this, either
through MovableType's export, a PostgreSQL dump, or even an RSS
scraper? I'd hate to go cut and paste all 100 posts.


I'd start off by creating an extension [1], then creating a Rake task
in that extension to read in some XML export file and then create the
Radiant Pages as needed.  The extension's rake file will give you easy
access to all of Radiant's classes and database.

You might also be able to do a SQL dump and then do enough
find/replaces on the SQL to bring it into Radiant's database, but I'm
not sure how close the schemas are.



That gives me an even better idea (in terms of I'm lazy and it's small): I 
could read the SQL dump, or even the RSS feed, and then script a browser 
session to post it to the Radiant site.  Hey, I can probably even do that 
with AppleScript on the Mac... open two browser tabs and flip between them. 
 So many choices.


Jay
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant