pdf2html

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
LVL 4
Moizsaif123Asked:
Who is Participating?
 
Meir RivkinConnect With a Mentor Full stack Software EngineerCommented:
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
 
Meir RivkinFull stack Software EngineerCommented:
0
 
Haresh NikumbhSr. Tech leadCommented:
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
Moizsaif123Author Commented:
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
 
Meir RivkinFull stack Software EngineerCommented:
U need to direct the pdf file via your website:
http://..../helloworld.pdf
0
 
Moizsaif123Author Commented:
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
 
Meir RivkinFull stack Software EngineerCommented:
0
 
Moizsaif123Author Commented:
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
 
Meir RivkinFull stack Software EngineerCommented:
when you view-srouce the page, click on hello.js and you'll see the canvas creation.
0
 
Moizsaif123Author Commented:
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
 
Moizsaif123Author Commented:
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.