-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Héctor Velarde wrote:
> I'm working on a project to migrate content from a well-known commercial
> CMS into Plone (I would not name it but it's name starts with a V and
> ends with an E).
> 
> I already have a prototype Dexterity content type and now I need to
> demonstrate importing capabilities.
> 
> The other CMS uses a relational database so, when you export a content
> type, it gives you a large and ugly XML file full of crap. Worst, this
> content type is a container so it includes information about the files
> inside it.
> 
> I already found the XML elements relevant to me and I want to use
> Beautiful Soup to parse the file.
> 
> What's the best approach, to use a hot folder?
> 
> Where I can find a code example of another packages using an importing
> process like this one into Plone?
>

Nothing can be beat a hand-crafted migration script. Since every
migration is different,  personally I don't want to depend on extra
magic like transmogrifier. An older posting of mine

http://www.zopyx.de/blog/when-the-plone-migration-fails-doing-content-migration-only

is still kind of valid for our migrations.

BeautifulSoup is also a nice and useful tool for cleaning up messed up
HTML markup - I prefer it over lxml.

- -aj
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQGUBAEBAgAGBQJM3O40AAoJEADcfz7u4AZj4noLv3zLMqrTTlRM+uK5RRQoD+WG
iwmTzdNm6qcf1jQGrU8ToUPehrwQP5tbG63eTrXKr2Xl9Sl4K24hwdQGIsubZP7J
3nC3ik/FWBnzVOQVIRhJQ24/0jph36mQ8DwCExQV3SkJdVDbq/5m1PKRGagxcvCJ
8dqJL/yBRiOUM5qVwStsFaeVCYrAzyr2cnRmGxibf7vG1ZLpashN3B+1B0nqXwEq
TrWpR/V7OPOzgdr+Z6WPlUJsSIHozpn8j2Dhonuk7qWjb3XlIWjHuDEwSAv/V2GB
mtGmOYTLxe0q9KBvOyprzjjdPUeq/yvvwCSdLQQhFPzd91HFHlmDR/eDZYV7Vep6
sFd96rIFFRpG9ttmDtB4KbsdVHIhyqPGH/SU7fIYK0YS+eggOw6YjYD0xHQB1iDW
veCqF54hSIgcsEETxb3NaDR3BjegPW140HGirQjW27qupXLuUmxy+LCq+Q5VNJ5q
KRXOrOsT13/GKmYS+9eezJFoHWJ9xT8=
=EaRL
-----END PGP SIGNATURE-----

<<attachment: lists.vcf>>

_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to