tidy-html5
arc90-readability
tidy-html5 | arc90-readability | |
---|---|---|
9 | 4 | |
2,663 | 202 | |
0.2% | - | |
0.0 | 0.0 | |
8 days ago | about 2 years ago | |
C | PHP | |
- | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
tidy-html5
- Show HN: I made a tool to clean and convert any webpage to Markdown
- Localize HTML Tidy (README.md)
-
libtidy, compilation errors
So I included the tidy libraries in my project.
-
Searching for the *old* W3C XHTML/CSS validator or something of equivalent functionality
Maybe look into HTML Tidy. It's job is to clean up HTML and convert legacy code to modern form, so it knows about DTDs. You might be able to pass it some options to get what you want.
-
Converting a IETM delivered in HTML to XML S1000D 4.0.
I've always used tidy for HTML/XML formatting jobs.
-
Expand one very long HTML line (>30k characters) as multi-line formatted indented HTML?
Personally I use command that switches the file type to html, and then formats it with tidy. It assumes you're pasting into a new buffer.
-
Unminify HTML in terminal
I use tidy.
-
Inspecting the Clipboard (on Linux)
So I installed HTML tidy.
-
The most underused browser feature
Prune instructs the parser to remove any elements within the extracted article block that look superfluous. This can result in false positives, so we tend to disable it when we've gone to the trouble of creating site-specific extraction rules.
Tidy determines if the source HTML should be cleaned up first with HTML Tidy - https://github.com/htacg/tidy-html5. If you're parsing the source HTML with an HTML 5 parser, as we are now, it shouldn't be necessary any more (I think we actually ignore it now). We used it more before when we relied on libxml parsing, which often trips up on modern HTML.
arc90-readability
- How do Instapaper and Pocket apps extract the content of the articles?
-
How does Firefox's Reader View work?
For those wondering if there's a redability lib in their favorite language. Here's a list of them all (as far as i know) plus the original arc-90 implementation
https://github.com/masukomi/arc90-readability/#readability
Please submit a PR if there's something i don't have listed there.
-
Show HN: Lurnby, a tool for better learning, is now open source
Huh, you are correct. I guess a better way to put this is "the original Readability I encountered was in Python"! The first version I saw was in Aaron Swartz's 2012 read2text tool, but a check of the URL I found that through says, yup, it's a Python port of Arc90's original code, which was a browser extension.
And you're right. It was in JavaScript. I finally tracked a copy down (the original is long evaporated): https://github.com/masukomi/arc90-readability/blob/master/js...
- The most underused browser feature
What are some alternatives?
parser - š Extract meaningful content from the chaos of a web page
Just-Read - A customizable read mode web extension.
readability.php - PHP port of Mozilla's Readability.js
readability - Readability is a library written in Go (golang) to parse, analyze and convert HTML pages into readable content. Originally an Arc90 Experiment, it is now incorporated into Safariās Reader View.
awesome-reMarkable - A curated list of projects related to the reMarkable tablet
toltec - Community-maintained repository of free software for the reMarkableĀ tablet.
ftr-site-config - Site-specific article extraction rules to aid content extractors, feed readers, and 'read later' applications.
SponsorBlock - Skip YouTube video sponsors (browser extension)
readability - A standalone version of the readability lib
unclutter - A modern reader mode and article library for your browser.