lexborisov / myhtml

Fast C/C++ HTML 5 Parser. Using threads.
GNU Lesser General Public License v2.1
1.66k stars 147 forks source link

xpath #73

Closed kostya closed 7 years ago

kostya commented 8 years ago

hi, is there any plans to implement xpath?

lexborisov commented 8 years ago

Hi! by spec? It is in the lowest priority.

Vitaliy-Grigoriev commented 8 years ago

In the vastness of Git there is such a HTML parser project by Google: link This project has a very useful extension for searching the tree node and attributes that supports JQuery standard: link

lexborisov commented 8 years ago

Oh, use Modest to make full use CSS Selectors. See example

Gumbo slow and does not correspond to the actual specification.

dbeacham commented 7 years ago

If I'm going to be writing bindings to take use of the css selectors should I write separate bindings against myhtml, mycss and use those when writing the modest bindings or are the versions of myhtml, mycss in the modest repository kept up to date?

lexborisov commented 7 years ago

Hi @dbeacham ! All code developed in Modest, then simply copied into myhtml, mycss ( i.e., always kept up to date).

I would be really happy to have a binding for another programming language. You can ask any questions to the mail.

Thank you!

kostya commented 7 years ago

binding for crystal, it was quite easy to write because of nice api, thanks: https://github.com/kostya/modest

lexborisov commented 7 years ago

@kostya , Thanks, and thanks for binding!