Feature #1132
[PATCH] [PLUGIN] Typo_Converter in plugins
| 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
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
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)
