[Imc-drupal-dev] sf-active to drupal migration scripts
Steev Hise
steev at detritus.net
Wed Aug 1 19:54:45 UTC 2007
I have yet to try them but for the edification of anyone else moving
from sf-active to drupal I'm forwarding these scripts that victor of
melbourne imc just sent me as well as a few tips.
steev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: export-db.php
Type: application/octet-stream
Size: 10525 bytes
Desc: not available
Url : http://lists.indymedia.org/pipermail/imc-drupal-dev/attachments/20070801/3e3118ea/attachment-0003.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wcwc-export-db.php
Type: application/octet-stream
Size: 10058 bytes
Desc: not available
Url : http://lists.indymedia.org/pipermail/imc-drupal-dev/attachments/20070801/3e3118ea/attachment-0004.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: export-db47.php
Type: application/octet-stream
Size: 11088 bytes
Desc: not available
Url : http://lists.indymedia.org/pipermail/imc-drupal-dev/attachments/20070801/3e3118ea/attachment-0005.obj
-------------- next part --------------
Begin forwarded message:
> Hi Steev,
>
> I've been working on this for melb imc and for a guy shane. Attached
> is some of our conversation about getting it working (may be
> completely irrelevant, but there might be some useful snippets in
> there). The original script exports to drupal 4.6; I've also attached
> a version for 4.7 which I think worked as well. If you want v5 you'll
> either have to install 4.7 then upgrade or else hack the script - it
> writes straight into the drupal database so it's a bit ugly; a nicer
> way would be to use some of the hooks drupal provides for this sort of
> functionality. You will need to do some customisations (particularly
> the category mapping - you will need to set up your
> taxonomy/categories in drupal before running this script). I think I
> ran the script from within the browser. I'd test it out by limiting
> the number of articles imported until everything seems to be working.
> The script lives in the folder website/news. And I think it needs the
> php iconv libraries installed to handle strange characters (long
> hyphens and smart quotes) from text copied from word, though I can't
> quite remember how this worked.
>
Steev Hise | steev at detritus.net | http://detritus.net/steev
-----------------------------------------------------------
"I have just looked up Harvard University. It has 13,000,000
bound volumes now. What a read! And almost every book written
for or about the ruling class."
-Kurt Vonnegut, Hocus Pocus
-----------------------------------------------------------
More information about the Imc-drupal-dev
mailing list