Foros de discusión

Help importing large amounts Wiki content (that isn't in .lar format)

Calvin Pert, modificado hace 11 años.

Help importing large amounts Wiki content (that isn't in .lar format)

New Member Mensajes: 5 Fecha de incorporación: 19/10/12 Mensajes recientes
Hello.

I'm an experienced systems architect. Our project is using Liferay to develop a data dictionary for a national client.

To initialize the Liferay Wiki, we need to load hundreds (and hundreds) of pages based on exports from various data sources. Would anybody have a suggestion as to how we can do this?

I'm hoping we'd be able to create an import file, and import the hundreds of Wiki pages in the same manner as if it was a .lar file.

I hope you can help. Thanks.
Calvin Pert, modificado hace 11 años.

RE: Help importing large amounts Wiki content (that isn't in .lar format)

New Member Mensajes: 5 Fecha de incorporación: 19/10/12 Mensajes recientes
Eh guys.. one more thing.
We'd be willing to import the pages from the database back-end if necessary- provided it could be done without affecting the data integrity.
thumbnail
Hitoshi Ozawa, modificado hace 11 años.

RE: Help importing large amounts Wiki content (that isn't in .lar format)

Liferay Legend Mensajes: 7942 Fecha de incorporación: 24/03/10 Mensajes recientes
If there's no inter-page links within the content (external links are OK), the best way is probably to develop an importer program. This can be done by external program using liferay's web service interface or by developing a portlet to import a file.
Calvin Pert, modificado hace 11 años.

RE: Help importing large amounts Wiki content (that isn't in .lar format)

New Member Mensajes: 5 Fecha de incorporación: 19/10/12 Mensajes recientes
Thanks. It looks hopeful that we'll be able to use the "Portlet_Wiki_WikiPageService" web service, because I found things in there like an AddPage method.

Would there be an example of how to use use it- to expedite the learning curve? For example, I'm not sure where to derive the Node ID, or the service.context ?

PS. We were hoping actually to be able to use a DocBooks.xml.
Calvin Pert, modificado hace 11 años.

RE: Help importing large amounts Wiki content (that isn't in .lar format) (Respuesta)

New Member Mensajes: 5 Fecha de incorporación: 19/10/12 Mensajes recientes
I tried everything, and found it more struggle then it was worth.

In the end, we used an automated testing tool.