Skip to content
This repository was archived by the owner on Apr 12, 2018. It is now read-only.

clarkbw/mozilla-readability-read

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mozilla-readability-read

This is a Node.js (io.js) app that uses the Mozilla Readability code to parse pages and display those pages in an iframe. It's useful for testing out how a page will render on the Desktop Reader View.

You can use it here: https://moz-readability.herokuapp.com/

Setup

  npm install

Run

  npm start

Update the Readability.js

This gulp command downloads the Readability.js file from the mozilla repo and concatenates it with a local Readability-node.js. We do this because the original file expects a global Node object and doesn't export itself as a module like the Node.js world expects.

  gulp readability

The real way to fix this area of the code is to turn the Readability.js file into a npm module.

Update the Readability CSS (aboutReader.css)

This gulp command downloads the aboutReader.css file from the mozilla mxr and drops it into the public directory.

  gulp readability-css

About

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors