Contributors mailing list archives

contributors@odoo-community.org

Avatar

Re: Migrating content from Wordpress to Odoo

by
Sunflower IT, Tom Blauwendraat
- 23/02/2021 15:57:39
I dont have experience with it but i'd say that you could upload the images as "ir.attachment" object and then modify the URLs in the pages to point to it

Unless odoo website module has another/better model for storing images in, im not sure about that sorry

Feb 23, 2021 09:37:00 Sergio Corato <sergiocorato@gmail.com>:

The modules manage the images, sorry but I don't remember how it works
Sergio Corato


Il giorno mar 23 feb 2021 alle ore 08:56 Torvald Baade Bringsvor <torvald@bringsvor.com> ha scritto:
Might be that I do that actually...

How about the images, can I upload them in a similar object?



Torvald Baade Bringsvor
Bringsvor Consulting AS - Developer, consultant, allrounder

Tel (+47) 4548 2848


søn. 21. feb. 2021 kl. 16:37 skrev Tom <tom@sunflowerweb.nl>:
You can write an odoorpc script to loop the content and create pages on the remote odoo for it, or if it is a lot of pages, you can try uploading the content to the odoo server first, and writing a "click-odoo" script instead, which will be a bit faster.

In both cases you'd need to do "create" actions on the "website.page" object.

Another way would be to get the content into CSV format and then trying to import it through the Odoo UI.

Feb 21, 2021 15:31:56 Torvald Baade Bringsvor <torvald@bringsvor.com>:

Hi

I'm faced with the task of moving a website from Wordpress to Odoo. I have a backup of the old site, is there any way to move the pages from the Wordpress site to Odoo? And mass upload of the images from the old site?

I've experimented with parsing and processing the backup file, so I have some of the content on my computer, but it would be nice to be able to mass upload it to Odoo, so the webmaster can work on the formatting of the pages.



Torvald Baade Bringsvor
Bringsvor Consulting AS - Developer, consultant, allrounder

Tel (+47) 4548 2848

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe

Reference