Solved

pdf2html

Posted on 2013-05-18
11
461 Views
Last Modified: 2013-05-20
Are there any open source pdf2html conversion softwares  which i can use preferabbly in Javascript or jquery or php..I need code that I can use in my site or locally on my server
0
Comment
Question by:Moizsaif123
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 5
11 Comments
 
LVL 42

Expert Comment

by:sedgwick
ID: 39177001
0
 
LVL 22

Expert Comment

by:Haresh Nikumbh
ID: 39177005
0
 
LVL 4

Author Comment

by:Moizsaif123
ID: 39177014
where do i go, after downloading this i tried to run the index file from this path below from chrome, but nothing seems to appear


pdf.js-master\examples\helloworld


Im getting this error in console

>>XMLHttpRequest cannot load file:///C:/Users/Admin/Desktop/pdf.js-master/examples/helloworld/helloworld.pdf. Cross origin requests are only supported for HTTP.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 42

Expert Comment

by:sedgwick
ID: 39177108
U need to direct the pdf file via your website:
http://..../helloworld.pdf
0
 
LVL 4

Author Comment

by:Moizsaif123
ID: 39178117
can you break it down for me, the link above, http://..../helloworld.pdf, this would generate a html page for me?

would there be index page like http://..../index.html/helloworld.pdf, because i dont get how would the js files from the plugin be  called if there is no index file specified..
0
 
LVL 42

Expert Comment

by:sedgwick
ID: 39178165
0
 
LVL 42

Accepted Solution

by:
sedgwick earned 500 total points
ID: 39178166
change extension to rar or zip and unzip the files into your web site directory.
navigate to test.html and see how the pdf is displayed.
0
 
LVL 4

Author Comment

by:Moizsaif123
ID: 39178522
yea, that displayed the pdf file in test.html, Although when i viewsource it, i dont see the layout in html, i just get the canvas element, where are all the html objects from the page gone to..
0
 
LVL 42

Expert Comment

by:sedgwick
ID: 39178523
when you view-srouce the page, click on hello.js and you'll see the canvas creation.
0
 
LVL 4

Author Comment

by:Moizsaif123
ID: 39178599
Sure but where has the content gone like design pattern should be in a <p>tag or the image of the book should be shown in a <img tag contained within a span maybe, I would like to view tht HTML
0
 
LVL 4

Author Comment

by:Moizsaif123
ID: 39183310
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
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 …
This video Micro Tutorial is the second in a two-part series that shows how to create and use custom scanning profiles in Nuance's PaperPort 14.5 (http://www.experts-exchange.com/articles/17490/). But the ability to create custom scanning profiles a…

734 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