readability.php
tidy-html5
readability.php | tidy-html5 | |
---|---|---|
3 | 9 | |
208 | 2,660 | |
- | 0.2% | |
6.3 | 0.0 | |
10 days ago | 7 days ago | |
HTML | C | |
Apache License 2.0 | - |
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.
readability.php
-
Gripes with RSS after one week
There are RSS readers like Tiny Tiny RSS [1] which are able to do exactly that (in this case using a PHP port of Mozilla's library [2]). Does not work in 100% of cases but is a really useful thing.
[1] https://tt-rss.org/
[2] https://github.com/fivefilters/readability.php
-
Nobel prize to the people behind reader mode
https://github.com/fivefilters/readability.php is port of it, and it's server backend support, ported from https://github.com/mozilla/readability
-
The most underused browser feature
Any developers who'd like to contribute to improving how article content is extracted from web pages should check out Mozilla's Readability repository: https://github.com/mozilla/readability
I'm currently trying to bring the PHP port up to speed here: https://github.com/fivefilters/readability.php
We use currently use an older version as part of our article extraction for Push to Kindle: https://www.fivefilters.org/push-to-kindle/
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.
What are some alternatives?
readability - A standalone version of the readability lib
parser - š Extract meaningful content from the chaos of a web page
tranquility-reader-webextensions - Tranquility Reader rewritten using Webextensions API
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.
tridactyl - A Vim-like interface for Firefox, inspired by Vimperator/Pentadactyl.
toltec - Community-maintained repository of free software for the reMarkableĀ tablet.
SponsorBlock - Skip YouTube video sponsors (browser extension)
awesome-reMarkable - A curated list of projects related to the reMarkable tablet
ftr-site-config - Site-specific article extraction rules to aid content extractors, feed readers, and 'read later' applications.
Wallabag - wallabag is a self hostable application for saving web pages: Save and classify articles. Read them later. Freely.