GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Gmousse/makeHTMLFileReadable.js: NOT MAINTAINED

This repository was archived by the owner on Aug 17, 2024. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

9 Commits
9 Commits

Folders and files

NameName
Last commit message
Last commit date
README.md
README.md
 
 
Star.Wars.Wikipedia.html
Star.Wars.Wikipedia.html
 
 
makeHTMLFileReadable.js
makeHTMLFileReadable.js
 
 
result.html
result.html
 
 

Repository files navigation

makeHTMLFileReadable.js

No Maintenance Intended

A simple example on how to use Mozilla Readability.js under Node.js to parse HTML files.

You can find the mozilla repository here : https://github.com/mozilla/readability In this repository you can find an example of Readability.js usage under node.js in order to parse .html file.

  • First, install node dependencies and Readability.js (it's not available under npm, then use github under npm to get it):
npm install --save-dev jsdom github:mozilla/readability
  • Then, use the script in command line:
node makeHTMLFileReadable.js /path/to/yourfile.html /path/to/yourparsedfile.html

To understand how it works, look at the script.

You can see the result of a wikipedia page transformation under result.html.

About

NOT MAINTAINED

Resources

Readme
Activity

Stars

2 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.