pdf to html

  • Thread starter Thread starter Phil
  • Start date Start date
P

Phil

Hi,
I maintain the web site for our church and they have various pdf files that
they want on the web page. I know I can link to a pdf file, but I would like
to convert the pdf files to html files. Can someone recomment a good program
for doing this? A freeware would be great.
Thanks,
 
Hi,
I maintain the web site for our church and they have various pdf files that
they want on the web page.  I know I can link to a pdf file, but I would like
to convert the pdf files to html files.  Can someone recomment a good program
for doing this?  A freeware would be great.
Thanks,

An easy option that you may wish to consider is to display the
original PDF files in an iframe. This way you do not need to do any
conversion and you can still maintain a menu in a separate frame.

www.richardfisher.com
 
Here are a couple of ways that I thought of

1. PDFZilla http://www.pdfzilla.com/
I think I got this from a free offer once. Today is the first time I tried
to use it to convert to HTML. It retained the layout but the formatting was
a bit odd - different colours of font, images missing, etc.

2. Save as text in the Adobe reader and use this as the html file
Just to do a quick test, I added
<html>
<body>
at the top and
</body>
</html>
at the bottom of the saved text file

This works but completely loses all formatting

3.
a) Use PDFZilla to convert it to a .doc file.
b) Use Word to save as .html

The .doc file was almost a copy of the .pdf file, except that some text was
superimposed on other text. The .html file saved by Word did not look as
good and would need tidying up a bit. Word is NOT known for generating good
HTML code, and is not recommended for that reason

4. <a href="A_test.pdf">Test pdf </a>
This works quite well, and all that has to be done to get back to the page
is to use the Back button at the top left hand corner (<-)

I think another poster suggested using a frame, which would also work,
especially an iframe. I use this code to display a "news" page in an iframe
<input type="button" value="Open/Close
News of this Site"
title="Open/Close
News of this Site"
onclick="loadIframe('News','news.html')" />
<iframe id="News" src=""></iframe>

This supported by this CSS
iframe#News{
display: none;
overflow: auto;
height: 250px;
width: 400px;
}
and this JS function
function loadIframe(id,sPath) {
var x = document.getElementById(id);

if (x.style.display != 'block') {
x.style.display = 'block';
x.src = sPath;
}
else
{ x.style.display = 'none'; }
} //---------------------------

The height and width of the iframe can be adjusted as required, e.g
height: 600px;
width: 800px;

Keep us posted on what you decide
 
Hi,
I maintain the web site for our church and they have various pdf files that
they want on the web page. I know I can link to a pdf file, but I would like
to convert the pdf files to html files. Can someone recomment a good program
for doing this? A freeware would be great.
Thanks,

Using Adobe Acrobat Pro 8.0 (not Adobe Reader), opened an existing
PDF, selected Save As > HTML, simple as that...

DJ
 
Phil said:
Hi,
I maintain the web site for our church and they have various pdf files that
they want on the web page. I know I can link to a pdf file, but I would like
to convert the pdf files to html files. Can someone recomment a good program
for doing this? A freeware would be great.
Thanks,

The free OpenOffice.Org suite will let you open a pdf file and then
export it as an html document. Worked for me with a single page pdf.

Be aware that this program is a large download.

Bill
 
I've only started using Adobe Professional over the past year, so my
knowledge is not complete, but FWIW, I would offer this observation:

First, a lot might depend on how the PDF was originally created. If if was
created by scanning a document (many large office copiers have this
functionality) then really all that was done was essentially that a picture
was taken of the page being scanned, and that image is not translatable to
any kind of editable document even using Adobe Professional.

If the original PDF was created using the conversion function within Adobe
Professional, then I believe it can be re-converted e.g. back into a Word
document, and then from that format into HTML ... but I don't know of any
freeware for doing this. I've heard there is a downloadable program (Google
is your friend in an instance like this) but I think the freeware
functionality is limited compared to Adobe Professional.

HTH
 
Back
Top