Coder Social home page Coder Social logo

Comments (13)

bjorn-ali-goransson avatar bjorn-ali-goransson commented on May 21, 2024

from htmlrenderer.

prepare avatar prepare commented on May 21, 2024

Why support more than 1 ?

I want other C# developers who have their framework can
use the HtmlRenderer too.

I don't want them to throw their work away.

eg.

HtmlKit code help this repo come true => I continue to support it.

or Pasta => I want to study the Google code too ;)

from htmlrenderer.

prepare avatar prepare commented on May 21, 2024

And that is another way to ensure that the code has low dependency on others

from htmlrenderer.

bjorn-ali-goransson avatar bjorn-ali-goransson commented on May 21, 2024

HtmlKit almost looks like a SAX parser. Is it anything like traversing the DOM?

from htmlrenderer.

prepare avatar prepare commented on May 21, 2024

You can simply access each node by traveling through their DOM.

but no sophisticated traversing code now.

from htmlrenderer.

bjorn-ali-goransson avatar bjorn-ali-goransson commented on May 21, 2024

It sounds like an abstraction on top of the parsers should be simple.

from htmlrenderer.

prepare avatar prepare commented on May 21, 2024

I bind my RenderTree with the HtmlKit here...

https://github.com/LayoutFarm/HtmlRenderer/blob/master/Source/LayoutFarm.HtmlComposer/1_Composers/1_Builder/WebDocumentParser.cs#L40

and

https://github.com/LayoutFarm/HtmlRenderer/blob/master/Source/LayoutFarm.WebDom/0_WebDom.Parser/HtmlParser.cs#L21

from htmlrenderer.

bjorn-ali-goransson avatar bjorn-ali-goransson commented on May 21, 2024

I find the solution to be a bit strangely organized (if not unorganized 😅)

How does one get Deps ? Why not use NuGet?....

from htmlrenderer.

bjorn-ali-goransson avatar bjorn-ali-goransson commented on May 21, 2024

For example, I now have an empty HtmlRenderer\Source\Deps\BurningMineCurve\CurveUtils, dunno how it got created.

And it gives hundreds of errors when opening the solution (of course since Deps only contains empty dirs)

[Failure] Could not find file '... HtmlRenderer\Source\Deps\BurningMineCurve\CurveUtils\VectorHelper.cs'.

from htmlrenderer.

prepare avatar prepare commented on May 21, 2024

please see this https://github.com/LayoutFarm/HtmlRenderer/blob/master/Source/Deps/README.md

from htmlrenderer.

prepare avatar prepare commented on May 21, 2024

The Rendering Part ((https://github.com/PaintLab/PixelFarm) is a huge part,
quite complex and yes not well-organized :'(

since It is planned to support real-time HtmlRendering.
(esp. UI application / software/hardware rendering).

but once you get the PixelFarm code => all the code are there.

from htmlrenderer.

prepare avatar prepare commented on May 21, 2024

At this development stage,
you may need to see all the PixelFarm code (helping organize them too is welcome).


I cheer you, Don't give up with that complex part!

from htmlrenderer.

prepare avatar prepare commented on May 21, 2024

I am investigating / developing more on Radius (https://github.com/prepare/Radius)

:)

from htmlrenderer.

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.