Merging fizzler with HtmlAgilitypack

Nov 27, 2009 at 8:24 AM

Has anyone taken a look at Fizzler before?

http://code.google.com/p/fizzler/

Even since I've used jQuery, i've become fond of using css selectors for querying page elements.

Fizzler seems to take this idea and bind it with HtmlAgilityPack.

It'd be cool to see Fizzler and HtmlAgilityPack in the same project, to add yet another way to query html documents.

Also, the new changes to the agility pack are great. Thanks for picking up the project and running with it again.

 

Regards,

CV

Nov 28, 2009 at 5:29 PM

Aren't CSS selectors for use in the browser when you just don't have a choice? I think the agility pack is more for parsing html than querying it, and once it's parsed you can use Xpath to query the DOM. I'm not knocking your suggestion but what would be the benefit? How would you see it integrating?

Nov 30, 2009 at 9:06 PM

HAP is used in a variety of situations, some where fizzler would be very beneficial. It actually relates directly to the VS2010 extension I have been building. I'll look over the code and contact the maintainers to see what is possible.

I think integrating it as part of a new Fluent API would be a start

Dec 10, 2009 at 8:31 AM
Edited Dec 10, 2009 at 8:31 AM

@kurtnelle Using css selectors is similar to XPath, except CSS selectors are used exclusively for matching HTML elements, instead of any XML.

I think it makes sense to have more ways to find elements in HAP. So, having XPath, LINQ, CSS selectors and traversal options would make a very agile library.

It would be useful for my situation where I'd like designers (already familiar with CSS) to do simple parsing into object properties.

@DarthObiwan - if you need any help - please let me know, I'd be happy to help out.

What Fluent API did you have in mind? Something similar to jQuery?

Like document.Query("#id").Is(":not([attr=value]")?

Dec 10, 2009 at 7:56 PM

@cvertex Hum... yea I guess that makes sense :)

Sep 27, 2010 at 2:58 AM

Seems like others are requesting css-like selector query syntax as well

http://stackoverflow.com/questions/3664209/alternatives-to-htmlagilitypack/3782276

 

I wish I had time to merge fizzler/sharpquery with HTmlAgilityPack

 

 

Nov 18, 2013 at 12:14 PM
i'd like consider to do such merge.
how can I contact you?
any one interested in please contact me at support@zsubmitter.com