Skip to topic | Skip to bottom
Home
Search:

Local
Local.IMCSydneyMigrationScriptsr1.13 - 04 May 2006 - 06:37 - CamGtopic end
You are here: Local > ImcSydney > IMCSydneyMigration > IMCSydneyMigrationScripts

Start of topic | Skip to actions

TODO

  • Categories and Hiding
    • Hide existing hidden stories by putting them in 'hidden' category.
    • Hide existing hidden comments by setting them to unpublished.
    • Put all visible stories in two categories - 'newswire' and 'migrated stories'
  • Look at adding .txt and .html and .htm as inline
  • Redirection
    • Develop redirection for comments
    • Create a redir for oldsydimc.cat.org.au that goes back to sydney.indymedia.org just incase anyone has added an external link in the last 6 months or so
  • features migration
    • fix 'read more' links so they display properly.

Links

Notes

  • syd-imc doesn't have events, so we won't need to run that part of the migration script

Database export/import Notes

  • command to dump DB from colourful : pg_dump -D -f syd-imc.pg.dmp -U php active_sydney-indymedia (get pwd from active install)
  • created temp DB active_sydney-indymedia on tacwols
  • have to remove non ascii characters from the dump file (see java proggie attached below), this will create a file called syd-imc.pg.dmp.processed
  • edit that uber file and remove the reference to the user 'php' at the top
  • import using psql active_sydney-indymedia < syd-imc.pg.dmp.processed (sudo su - postgres)

-- IrenicAu - 11 Aug 2005

  • features.convert.php.txt: This script converts the features database to drupal nodes. It currently needs work, see notes in the script.

  • active_redirect.module: Module to redirect Active URLs (with article_id) to a drupal node. This script a stub, the actual lookup code is yet to be written.

  • active_redirect.module: This script converts the features database to drupal nodes. It currently needs work, see notes in the script.

  • active_redirect.module: 'Module to redirect Active URLs (with article_id) to a drupal node. This script a stub, the actual lookup code is yet to be written.'

to top

I Attachment sort Action Size Date Who Comment
tasmedia-migrate.tar.gz manage 56.9 K 11 Aug 2005 - 09:04 IrenicAu the original tasmedia active --> drupal conv scripts
migrate.pl.txt manage 4.4 K 11 Aug 2005 - 10:40 IrenicAu modified migrate.pl to better support historical redirection
Active.pm manage 7.1 K 11 Aug 2005 - 10:41 IrenicAu modified Active.pm to better support historical redirection
Drupal.pm manage 9.4 K 11 Aug 2005 - 10:41 IrenicAu modified Drupal.pm to better support historical redirection
active2drupalRedirector.php3.txt manage 0.1 K 11 Aug 2005 - 10:48 IrenicAu the redirector, we probably won't use this for syd-imc, but maybe for active sydney
RemoveNonAsciiFromTxtFile.java manage 2.5 K 05 Oct 2005 - 08:40 IrenicAu removes non ascii chars from postgres db dump file
features.convert.php.txt manage 7.3 K 22 Oct 2005 - 06:00 CamG This script converts the features database to drupal nodes. It currently needs work, see notes in the script.
active_redirect.module manage 1.3 K 23 Oct 2005 - 09:05 CamG 'Module to redirect Active URLs (with article_id) to a drupal node. This script a stub, the actual lookup code is yet to be written.'

You are here: Local > ImcSydney > IMCSydneyMigration > IMCSydneyMigrationScripts

to top

Copyright © 1999-2008 by the contributing authors.
All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding this tool? Send feedback (in English, Francais, Deutsch or Dutch).