Forums de discussion

Storing html in the document library

thumbnail
jelmer kuperus, modifié il y a 14 années.

Storing html in the document library

Liferay Legend Publications: 1191 Date d'inscription: 10/03/10 Publications récentes
Hi, I trying to use the document library to store java api documentation (javadoc).
Basically it's just a bunch of html files linked together. However when accessing these files via the document library display they are made available via an url like this :

/c/document_library/get_file?p_l_id=10178&folderId=10340&name=DLFE-9.html

so links contained in the html would not work. Also the display sets the content disposition header so that the html is offered as a download

Is there some way to just make these files available under some folder ?
thumbnail
Lisa Simpson, modifié il y a 14 années.

RE: Storing html in the document library

Liferay Legend Publications: 2034 Date d'inscription: 05/03/09 Publications récentes
If they're HTML, why not either load them into the wiki or use web content to display them?
thumbnail
jelmer kuperus, modifié il y a 14 années.

RE: Storing html in the document library

Liferay Legend Publications: 1191 Date d'inscription: 10/03/10 Publications récentes
The html is generated and consists of hundreds of pages each linking to one another

Uploading this as web content or in the wiki would be a lot of work and would require me to rewrite all the links by hand.

I like how i can map the document library using webdav. That way i can just copy all the files in there in a single action. But wont display properly in the display portlet

I could always solve it in apache by just exposing a directory and scping the files to there but i was wondering if there is a better way
thumbnail
Shagul Khaja, modifié il y a 14 années.

RE: Storing html in the document library

Liferay Master Publications: 758 Date d'inscription: 27/09/07 Publications récentes
Apache is the best way to expose such static contents.
Michael AC Kimber, modifié il y a 13 années.

RE: Storing html in the document library

New Member Publications: 2 Date d'inscription: 12/01/09 Publications récentes
Is this still the best way to handle HTML pages as I have the same requirement i.e I want to integrate Robo help documentation into liferay.

Just to add, sharepoint does let you do this which is the system we are trying to replace with liferay
Saurabh Saxena, modifié il y a 12 années.

RE: Storing html in the document library

New Member Publications: 3 Date d'inscription: 06/09/11 Publications récentes
Michael AC Kimber:
Is this still the best way to handle HTML pages as I have the same requirement i.e I want to integrate Robo help documentation into liferay.

Just to add, sharepoint does let you do this which is the system we are trying to replace with liferay


Hi Michael,

So did you find an answer to this post? We also have similar need with robohelp generated html files that we want to put in Liferay. Once we host it in some place in Liferay, I also want to know how to access them from links in other portlets? Maybe through portal_pop_up.vm found in the theme or something?

Thanks in advance for your comments,
thumbnail
Hitoshi Ozawa, modifié il y a 12 années.

RE: Storing html in the document library

Liferay Legend Publications: 7942 Date d'inscription: 24/03/10 Publications récentes
I've had a similar request. Just use pre-process the documents and use web service to upload files to the document library.
Saurabh Saxena, modifié il y a 12 années.

RE: Storing html in the document library

New Member Publications: 3 Date d'inscription: 06/09/11 Publications récentes
That wasn't my question. Thanks anyways! I have updated my question, if it wasn't clear.
thumbnail
Hitoshi Ozawa, modifié il y a 12 années.

RE: Storing html in the document library

Liferay Legend Publications: 7942 Date d'inscription: 24/03/10 Publications récentes
Your question is still unclear. Are you just what the URL of a html file you've uploaded to a document library is?
Stephen Welch, modifié il y a 12 années.

RE: Storing html in the document library

New Member Publications: 3 Date d'inscription: 30/09/11 Publications récentes
jelmer kuperus:
The html is generated and consists of hundreds of pages each linking to one another

Uploading this as web content or in the wiki would be a lot of work and would require me to rewrite all the links by hand.

I like how i can map the document library using webdav. That way i can just copy all the files in there in a single action. But wont display properly in the display portlet

I could always solve it in apache by just exposing a directory and scping the files to there but i was wondering if there is a better way


I have a similar requirement and wondered if you ever got this resolved
Saurabh Saxena, modifié il y a 12 années.

RE: Storing html in the document library

New Member Publications: 3 Date d'inscription: 06/09/11 Publications récentes
Stephen Welch:
jelmer kuperus:
The html is generated and consists of hundreds of pages each linking to one another

Uploading this as web content or in the wiki would be a lot of work and would require me to rewrite all the links by hand.

I like how i can map the document library using webdav. That way i can just copy all the files in there in a single action. But wont display properly in the display portlet

I could always solve it in apache by just exposing a directory and scping the files to there but i was wondering if there is a better way


I have a similar requirement and wondered if you ever got this resolved


I haven't gotten any answer to this. We are choosing apache route, till someone who's done this (should be much common request) or who knows how to do this, responds.
Eva Sciacca, modifié il y a 11 années.

RE: Storing html in the document library

New Member Publications: 3 Date d'inscription: 21/11/12 Publications récentes
I have the same problem too. Please let me know if you will find the solution.
Shane Reschke, modifié il y a 10 années.

RE: Storing html in the document library

New Member Envoyer: 1 Date d'inscription: 22/01/13 Publications récentes
Similarly to everyone else I also have Apache RoboHelp artifacts which I would like to integrate into Liferay in some form or another which will maintain all the hyper links, etc.

Did anyone have a solution which they have used which successfully solved this problem??