1.3.8 • Published 6 years ago

notitiaconverter v1.3.8

Weekly downloads
9
License
ISC
Repository
github
Last release
6 years ago

NotitiaConverter

Description

Quick Converter of Regular HTML Article Pages into Google AMP Pages

Information

Notitia (Latin for Knowledge) is a node module. Notitia converts basic HTML based articles into either AMP (Accelerated Mobile Pages) markup or into Facebook Instant Article Markup. Notitia automates the process of converting plain html code into these two article formats, eliminating the need to create multiple copies of the same article.

Set up

npm i notitiaconverter

Methods

Build AMP Page HTML

let Not = new Notitia(contents);
let ampPage = Not.createAMPDocument(contents);
//Returns AMP Complient HTML

Build AMP Page HTML (Body Only)

let Not = new Notitia(contents);
let ampPageBody = Not.createAMPBody(contents);
//Returns AMP Complient HTML (Body Only)

Note: CreateAMPBody Method will only return the body of the AMP HTML Page. This will not pass the AMP Validator. For More info visit AMP's Documentation

Testing

Jest is used to run tests on Notitia

npm run test

License

MIT

1.3.8

6 years ago

1.3.7

6 years ago

1.3.6

6 years ago

1.3.5

6 years ago

1.3.4

6 years ago

1.3.3

6 years ago

1.3.2

6 years ago

1.3.1

6 years ago

1.3.0

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago