Readability4J
arc90-readability
Readability4J | arc90-readability | |
---|---|---|
3 | 4 | |
135 | 202 | |
- | - | |
4.3 | 0.0 | |
over 2 years ago | about 2 years ago | |
HTML | PHP | |
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.
Readability4J
-
Creating an advanced search engine with PostgreSQL
Depending upon the type of content, one might want to look into using the Readability (Browder's reader view) to parse the webpage. It will give you all the useful info without the junk. Then you can put it in the DB as needed.
https://github.com/mozilla/readability
Btw, readability, is also available in few other languages like Kotlin:
https://github.com/dankito/Readability4J
-
How does Firefox's Reader View work?
My Hacker News client HACK for iOS and Android has a reader mode ability browser. While on iOS, I was able to use the reader mode feature provided by SFSafariViewController, that wasn't available on android.
So I had to read a ton about this. I ended up using a heavily modified Kotlin version of Readability:
https://github.com/dankito/Readability4J
https://play.google.com/store/apps/details?id=com.pranapps.h...
https://apps.apple.com/us/app/id1464477788
-
Show HN: Instantly Listen to Any URL
Not sure about OP but I just implemented this in my Hacker News android client (thanks for the idea OP).
This is how I implemented it. I had already achieved article to "reader mode" by heavily customizing the Kotlin port of Mozilla‘s Readability:
https://github.com/dankito/Readability4J
Then I pass the text via Android's TextToSpeech library and it works very well:
fun trySpeaking(str:String){
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?
go-readability - Go package that cleans a HTML page for better readability.
Just-Read - A customizable read mode web extension.
article-extractor - To extract main article from given URL with Node.js
parser - 📜 Extract meaningful content from the chaos of a web page
awesome-reMarkable - A curated list of projects related to the reMarkable tablet
percollate - A command-line tool to turn web pages into readable PDF, EPUB, HTML, or Markdown docs.
ftr-site-config - Site-specific article extraction rules to aid content extractors, feed readers, and 'read later' applications.
web-clipper - For Notion,OneNote,Bear,Yuque,Joplin。Clip anything to anywhere
readability - A standalone version of the readability lib
unclutter - A modern reader mode and article library for your browser.