Page 1 of 1

Display of webpages

PostPosted:Sat Feb 08, 2014 5:30 pm
by hbuus
Hi forum

I just installed OpenKM and added some documents, among these some webpages.
How do I make OpenKM display them correctly, that is, as seen in my webbrowser?

I can right-click on a webpage and choose Edit from the menu, but that only opens up the webpage inside the HTML editor, in which the webpage does not look as seen in my webbrowser.

I hope it's clear what I mean, otherwise feel free to ask.
Searched documentation and forum with no luck, so I hope someone here can help.

Thanks!

Best,
Henrik

Re: Display of webpages

PostPosted:Sun Feb 09, 2014 7:17 am
by hbuus
I think I know what the problem is:

I only uploaded the HTML-file itself and not the folder with the same name as the HTML-file, i.e. the folder associated with the HTML-file.
Inside the associated folder is all the graphics etc. necessary to display the web page correctly.
A browser automatically "sees" this associated folder when you point the browser to the HTML-file in question.
Thus the browser knows how to display the webpage properly.
But how do I go about uploading full webpages to OpenKM?
Do I really need to convert each webpage to a PDF-file first, and then just upload the PDF-file?

Thanks.

Best,
Henrik

Re: Display of webpages

PostPosted:Sun Feb 09, 2014 6:14 pm
by jllort
For what I understand you want to capture webpage from url and import all data to openkm no ?

Re: Display of webpages

PostPosted:Mon Feb 10, 2014 6:43 am
by hbuus
Thanks for the reply.
Yes, that's it :)

Best,
Henrik

Re: Display of webpages

PostPosted:Wed Feb 12, 2014 10:54 am
by jllort
This is a feature what is not implemented and needs to think. Are several options.
1- Probably most easy is capture screenshot (image) and asociate text to be indexed ( that seems the easiest ).
2- Capture url with css images etc... -> change links to refer objects and be able to preview from openkm preview tab

Additionaly to complement case 1, could be asociated zip with full capture ( case 2 ). Aso you see it's not so trivial. Best option always should be show some input from openkm to set the url ( other option is something like firefox, chrome plugins etc.. that does a lot of maintenace effor after doing it ).

Well if you want to participate on it, you're wellcome is interesting feature and we will try to help you on it.

Re: Display of webpages

PostPosted:Wed Feb 12, 2014 11:15 am
by hbuus
I found a way out:

In Google Chrome you can add an extension called Fireshot.
It lets you copy a webpage to PDF so that you get a PDF-file with the content of the webpage, of course including all graphics etc.
Then I can just upload the various PDF-files to the OpenKM repository.

I've already found out how to add a Property Group.
This group I use to add additional information about the document in question, for example the URL.

It's an ok solution which I can easily live with :)
Thanks again for thinking about this though.
I appreciate your help.

Best,
Henrik

Re: Display of webpages

PostPosted:Fri Feb 14, 2014 7:25 am
by jllort
Convert URL to PDF seem good idea. I will investigate if there's some library for doing it.