Topic Options
#41895 - 01/10/13 01:34 PM HTM files & Planetpress! Can it be done!
adequickcopy Offline
OL Newbie

Registered: 07/12/12
Posts: 8
Loc: Phoenix, Arizona USA
Hello everyone!

I hope your day is going well.

I would like to indicate that my knowledge with the ppsuit is very small... I mean really, really tiny!

On to the question, which i am not sure where to put it, sorry.

I have a job that my data file is in an htm format. After some searching, it seems that Planetpress is unable to use htm files. I am hoping I am incorrect in this assumption, and someone can let me know how or where to find the steps to be able to use the htm file.

If I am correct, is there a way to convert the htm file into a useable data file?

Thank you for all of your patience and suggestions!

#41896 - 01/10/13 01:45 PM Re: HTM files & Planetpress! Can it be done! [Re: adequickcopy]
Raphael Lalonde Lefebvre Offline
OL Expert

Registered: 10/14/05
Posts: 4956
Loc: Objectif Lune Montreal

Alas, I'm afraid you're right: PlanetPress doesn't natively support html format data. The only way you could use htm files in PlanetPress as data files would be to write your own HTML interpreter entirely in PressTalk. This would mean hours of work and a great knowledge of the suite, PressTalk and of the HTML language.

As for converting the htm file to another format, well, it all depends what format you want to convert it into. However, because we have no built-in HTML emulation mode, you would most likely have to use a script to convert it to a different format, and use your own data extraction methods. The closest file format to HTML that we support would be XML, though we also support other formats, like CSV, plain text, etc... Whichever is better/easier for you.

Raphaël Lalonde Lefebvre

#41899 - 01/11/13 03:42 AM Re: HTM files & Planetpress! Can it be done! [Re: Raphael Lalonde Lefebvre]
ppuserd Offline
OL Guru

Registered: 07/03/12
Posts: 106
try using the ms word to pdf connector. word understands html (quite) well and so you will probably find that the resulting pdf is more suited to your needs.
let us know.

#42564 - 03/05/13 02:40 PM Re: HTM files & Planetpress! Can it be done! [Re: adequickcopy]
-nth- Offline
OL Expert

Registered: 04/01/03
Posts: 236
Loc: Lincoln, NE
Have you been able to determine how complex the HTML is? If it's not very complex (name, address, etc.) running it through a "pre-process" workflow to transform it to a usable CSV or text file may be doable. Also check out XHTML. Converting your HTML to XHTML would allow PlanetPress to "see" the files as XML and be used accordingly.

Hope this helps,