Code Monkey home page Code Monkey logo

Comments (7)

mgufrone avatar mgufrone commented on July 30, 2024 1

$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.

mgufrone avatar mgufrone commented on July 30, 2024

Do you mean it should return html string, instead of dom object?

from pdf-to-html.

kartikkapatel avatar kartikkapatel commented on July 30, 2024

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.

fengkaijia avatar fengkaijia commented on July 30, 2024

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.

mgufrone avatar mgufrone commented on July 30, 2024

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.

fengkaijia avatar fengkaijia commented on July 30, 2024

@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.

mgufrone avatar mgufrone commented on July 30, 2024

great. I'm still working on it so it will directly return as html.

from pdf-to-html.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.