Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for html5ever as an optional HTML parser #83

Closed
philss opened this issue Jan 15, 2017 · 1 comment
Closed

Add support for html5ever as an optional HTML parser #83

philss opened this issue Jan 15, 2017 · 1 comment
Assignees
Labels

Comments

@philss
Copy link
Owner

philss commented Jan 15, 2017

We made html5ever and Floki work together through ex_html5ever thanks to @hansihe and the Rustler team! 👏

Using ex_html5ever can be very useful those who need a more accurate parsing of the HTML. It solves the issues #50 and #75, for example.

Since ex_html5ever relies on a Rust NIF, it requires the user to have Rust installed.

Also I ran some benchmarking that shows the ex_html5ever version is faster from the average to big HTML files. ⚡️

UPDATE: the html5ever Elixir NIF was named to "html5ever" on Hex.pm, and the repository is now https://github.com/hansihe/html5ever_elixir

@philss philss added the Feature label Jan 17, 2017
@philss philss self-assigned this Jan 26, 2017
@philss philss changed the title Add support for ex_html5ever as an optional HTML parser Add support for html5ever as an optional HTML parser Jan 30, 2017
@philss
Copy link
Owner Author

philss commented Feb 8, 2017

Closed by #90 .

It was released in version 0.14.0.

Thank you @hansihe and @aphillipo!

@philss philss closed this as completed Feb 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant