Feature #1132

[PATCH] [PLUGIN] Typo_Converter in plugins

Added by Cyril Mougel 447 days ago. Updated 85 days ago.

Status :Closed Start :
Priority :Low Due date :
Assigned to :neuro - % Done :

0%

Category :installer
Target version :5.1
Resolution :

fixed


Description

I create a new system for converting the database of another blog in Typo blog database. My new system is base on Mephisto converter. It's a plugin and he use completly ActiveRecord. For retrieve the information on other blog and post in typo.

Now, the converter works only with Dotclear, but an interface is write and you can use it with another Blog engine to create another adapter.

To start the migration with dotclear, you need complete the config/database.yml with an configurations with dc key and all information on where find the database with SQLDump of your blog engine. After this configuration you can start the migration with the follow commande line :

./script/runner 'TypoPlugins.convert_from :dotclear'

By default all articles migrated, but you can migrate only articles with specifiques categories.

./script/runner "TypoPlugins.convert_from :dotclear, {:categorie => ['ruby', 'rails', 'dev']}" 

Advice : To accelerate the migration you can comment in
config/environnement.rb the line of Observer :
#config.active_record.observers = :email_notifier, :web_notifier

typo_converter.diff (16.2 KB) Cyril Mougel, 07/17/2007 09:00 PM

History

07/26/2007 08:30 PM - neuro -

Changed name from Typo_Converter in plugins to [PATCH] [PLUGIN] Typo_Converter in plugins
Changed priority to low
Changed severity to minor
Changed version to 4.1
Changed release to 4.2
Changed type from defect to enhancement

12/21/2007 10:07 AM - neuro -

Milestone 4.2 deleted

06/15/2008 06:45 PM - Cyril Mougel

I update the TypoConverteur for Typo 5.0.4. I made a project in Github (http://github.com/shingara/typo_converteur/tree/master)

07/13/2008 01:04 PM - neuro -

  • Status changed from New to Closed
  • Target version changed from Maybe Someday to 5.1
  • Resolution set to fixed

The migrator is now a part of the trunk.

Also available in: Atom PDF