Foros de discusión

Automatic input for web content for data migration

thumbnail
Christianto Sahat, modificado hace 10 años.

Automatic input for web content for data migration

Regular Member Mensajes: 179 Fecha de incorporación: 25/09/07 Mensajes recientes
Hi all,

Anyone have experience creating script / browser automation / application to automate data entry into Liferay's web content ?

I have so much data to migrate from old web application into Liferay, and in Liferay we are using Structure + Template.

I am exploring Selenium for this purpose. My question :

1. Is Selenium able to grab data from old website and post it into Liferay automatically ?
2. Anyone willing to share experience, for people who have done this ?

Thanks
thumbnail
Victor Zorin, modificado hace 10 años.

RE: Automatic input for web content for data migration

Liferay Legend Mensajes: 1228 Fecha de incorporación: 14/04/08 Mensajes recientes
Unless you are using someone-else's website to grab HTML content from, using Selenium may sound a bit cowboy-ish... emoticon

For solid and repeatable migration outcome, the preference would be to have access to the content management system of the original site, e.g. database or some sort of extract of articles, and then writing a migration script/program which will copy articles' content across.
In most cases we just create a simple servlet web application which does this, deploy it to a target Liferay portal and then invoke the migration run by calling the URL of this servlet.

Using this approach a number of large (and multilingual) content migrations have been started and completed in a couple of days, from custom CMS, Domino, WordPress, etc.
I do not think that these tasks could be achieved using Selenium, does not matter how exciting the HTML hacking process could be for whoever would attempt doing it this way.

Just another relevant link: Web site WEB CONTENT(e.g. html) migration to Liferay