purell
Hand sanitizer for HTML
Last updated a year ago by marvindanig .
BOL · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install purell -g
SYNC missed versions from official npm registry.

Purell — The Hand Santizer for HTML

Purell is used to extract manuscript from any kind of file format and prepare it for conversion into a raw Superbook. It is pure CLI utility to convert and sanitize low quality markup into clean markdown compatible markup—the lowest common denominator between web and other propreitary formats.

How to use

Purell is almost entirely designed to be used at the root of a Bookiza app. But it can be used as a transitor between file formats as well, like so:

  1. MS Word ⭌ Ugly HTML extract ⭌ Markdown Compatible HTML (Sanitized) ⭌ Superbook
  2. ePub ⭌ Markdown Compatible HTML (Sanitized) ⭌ Superbook
  3. PDF ⭌ Markdown Compatible HTML (Sanitized) ⭌ Superbook
  4. Webpage (Scroll) ⭌ Markdown Compatible HTML (Sanitized) ⭌ Superbook

Alert

Documentation on these parts are sparse. Copious amounts of patience is advised.

Vocabulary

	$ pure --help

	$ pure fetch <url>					// Will fetch original.html from source URI

	$ pure defile <path to file>		// Will extract original.html from source file.

	$ pure sanitize 					// Markdown Compatible HTML (Sanitized)


The responsibility to paginate Markdown Compatible HTML (the sanitized.html file) into a Superbook is left with h2s.

License

Blueoak Model License 1.0.0

Current Tags

  • 3.3.14                                ...           latest (a year ago)

11 Versions

  • 3.3.14                                ...           a year ago
  • 3.3.13                                ...           a year ago
  • 3.3.12                                ...           a year ago
  • 2.2.10                                ...           a year ago
  • 2.2.9                                ...           a year ago
  • 1.2.8                                ...           a year ago
  • 1.1.7                                ...           a year ago
  • 1.1.6                                ...           a year ago
  • 1.1.5                                ...           a year ago
  • 1.1.4                                ...           a year ago
  • 1.0.3                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 11
Dependencies (15)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |