Closed prepare closed 6 years ago
Those constraints would be no problem, florian do you have such constraints?
Supporting several parser would definetely be possible, you just make an abstraction layer above it.
But why, since anglesharp is the best? :smile:
No seriously, why?
Den 6 feb 2018 02:16 skrev "win" notifications@github.com:
@bjorn-ali-goransson https://github.com/bjorn-ali-goransson
If your code meet these ...
- No copyleft code
- Support .Net framework >=2.0
- No Linq
It makes me easier to integrate your code back to my repo.
I also try to figure out How to support more that 1 Html-Css Dom/Parser frameworks.
eg.
- HtmlKit https://github.com/jstedfast/HtmlKit - that is used in this repo.
- Pasta https://github.com/prepare/Pasta - my unfinished port of Google's Gumbo.
- Radius https://github.com/prepare/Radius - attempt the bring AngelSharp to the HtmlRenderer, not finish.
Feel free to create issues about the HtmlRenderer here.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/LayoutFarm/HtmlRenderer/issues/11, or mute the thread https://github.com/notifications/unsubscribe-auth/AAoyADwyPrexNTvKlB5wzIJdOJvx9llnks5tR6gLgaJpZM4R6We6 .
And that is another way to ensure that the code has low dependency on others
HtmlKit almost looks like a SAX parser. Is it anything like traversing the DOM?
You can simply access each node by traveling through their DOM.
but no sophisticated traversing code now.
It sounds like an abstraction on top of the parsers should be simple.
I find the solution to be a bit strangely organized (if not unorganized 😅)
How does one get Deps ? Why not use NuGet?....
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'.
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.
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!
I am investigating / developing more on Radius (https://github.com/prepare/Radius)
:)
Hello @bjorn-ali-goransson, and those who come from https://github.com/AngleSharp/AngleSharp.Css/issues/2
If your code meet these ...
It makes me easier to integrate your code back to my repo.
I also try to figure out How to support more that 1 Html-Css Dom/Parser frameworks.
eg.
so lets create some abstraction.
Please don't throw other frameworks away :)
Feel free to create issues about the HtmlRenderer here.