Solved

PDF to HTML conversion that looks good on Android Phones

Posted on 2016-09-29
3
51 Views
Last Modified: 2016-10-12
We have converted a bunch of PDF's to HTML using JPDF2HTML, they look great for the web on a computer but when viewing from an Android it looks messed up.  Does anyone know of a conversion tool that converts from PDF to Traditional HTML and will work properly on Android?  

Thank you
0
Comment
Question by:rcimasi
3 Comments
 
LVL 51

Expert Comment

by:Joe Winograd, EE MVE
ID: 41822726
Another tool is Xpdf's PDFtoHTML. You can learn about the Xpdf tools in this 5-minute EE video Micro Tutorial:
Xpdf - Command Line Utility for PDF Files

I've done other videos here at EE on six of the nine utilities, but, unfortunately, not on PDFtoHTML. But I'm sure you can figure it out from the documentation in the download. It works well, but I don't know if the converted HTML will work properly on Android — I haven't tried that. It's worth a (free!) shot. Let me know how it goes — I'm curious. Regards, Joe
0
 
LVL 41

Accepted Solution

by:
Jackie Man earned 500 total points
ID: 41823063
they look great for the web on a computer but when viewing from an Android it looks messed up.

It is pretty normal that the view will get messed up as the resolution and rendering engine for HTML are very different in Android and it is not possible for just using a converter to create an HTML file which looks good on all platforms.

You have two options.

One is to create two versions of HTML file, one is for Desktop and the other is for mobile device. The other option is to enable desktop view in the default browser.

How to Request Desktop Version of Website in Chrome on Android Phone
https://www.megebyte.com/how-to-request-desktop-version-of-website-in-chrome-on-android/
http://www.howtogeek.com/176932/how-to-disable-the-mobile-version-of-a-website-on-your-phone/
0
 

Author Closing Comment

by:rcimasi
ID: 41841068
Thanks
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

This is an explanation of a simple data model to help parse a JSON feed
This article discusses four methods for overlaying images in a container on a web page
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now