Skip to content
This repository was archived by the owner on Aug 14, 2021. It is now read-only.

Lots of progress!

Pre-release
Pre-release

Choose a tag to compare

@andreskrey andreskrey released this 26 Nov 00:13
· 538 commits to master since this release

We are getting closer to be a 100% complete port of Readability.js!

  • Added prepArticle to remove junk after selecting the top candidates.
  • Added a function to restore score after selecting top candidates. This basically works by scanning the data-readability tag and restoring the score to the contentScore variable. This is an horrible hack and should be removed once we ditch the Element interface of html-to-markdown and start extending the DOMDocument object.
  • Switched all strlen functions to mb_strlen
  • Fixed lots of bugs and pretty sure that introduced a bunch of new ones.