Comments (7)
$pdf->html() will now return as html string.
if you want to get the dom object, just use $pdf->getDom();
please test it on your own. I already tested it, but I would like you guys to test this too.
from pdf-to-html.
Do you mean it should return html string, instead of dom object?
from pdf-to-html.
No it's return dom object but i need only content of that page , do u have any function that help to get only direct string?? if u have any wiki of the library then please share with us. thank you
from pdf-to-html.
So, is there any way to return the HTML string? My main project use DomCrawler from Symfony so it would be nice if I can just get and pass the html string to my current parser.
from pdf-to-html.
Sorry for late response. I am unable to continue this project for my own work. I will continue to improve this package as soon as possible. thanks for the suggestion. ๐
from pdf-to-html.
@mgufrone Tested and it's working now without any issue ๐, although the html() method still calls the getDom() to extract HTML which might cost some performance when dealing with a large PDF.
from pdf-to-html.
great. I'm still working on it so it will directly return as html.
from pdf-to-html.
Related Issues (20)
- taking extra spaces in html
- How to handle special chars?
- Setting the generate image path HOT 2
- How can i change image src path? HOT 1
- Notice: Undefined index: pages HOT 5
- Why is this issue?
- Landscape document HOT 1
- Error exception when converting pdf to html file on window machine?
- Treatment of HTML generated file
- Ubuntu pdftohtml and pdfinfo not present.
- pdftohtml conversion only converting the 1st page or even less than that. HOT 1
- vendor/gufy/pdftohtml-php must have write access HOT 1
- It extension is work on the dedicated linux server?
- mb_eregi_replace() Error HOT 1
- HTML Output Class meaning
- PHP 7.1 + Compatibility HOT 5
- Class 'Gufy\PdfToHtml\Config' not found
- The text of PDF is being rendered as image HOT 2
- ะกount(): Parameter must be an array or an object that implements Countable HOT 6
- No styles for classes like ft00, ft01 etc.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pdf-to-html.