Install and load
Run these commands in a Haybarn SQL session. The extension is available from the community repository.
INSTALL html_readability FROM community;
LOAD html_readability FROM community;
Try it in a temporary SQL session with html_readability already loaded. Queries run in this tab; examples using files or services need their own setup.
Using upstream DuckDB? Follow the maintainer’s installation instructions.
Usage example
SELECT parse_html('<html><head><title>Hello</title></head><body><article><p>World</p></article></body></html>');
Provided by midwork-finds-jobs. Not yet verified on Haybarn 2.0.0.
Sample data & setupAbout this extension
The html_readability extension provides a parse_html() function that extracts readable content from HTML pages.
It uses Mozilla's Readability algorithm - the gold standard for extracting readable text from HTML. This is the same algorithm that powers Reader Mode in Firefox and Safari, providing clutter-free viewing by stripping away navigation, ads, and other non-essential elements.
Project overview from the community descriptor.
Documentation and resources
Project and build details
- Repository
- midwork-finds-jobs/duckdb-html-readability
- License
- MIT
- Maintainers
- onnimonni
- Written in
- Rust
- Build source
c4d5a34f16b3- Build definition
- Community descriptor