Solved

pdf2html

Posted on 2013-05-18
11
452 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
  • 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
 
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
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

895 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

13 Experts available now in Live!

Get 1:1 Help Now