Utilities, extras and helper scripts for fastFrag
Python JavaScript Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Textmate/Bundles/fastFrag.tmbundle
app_engine
libraries
python
.gitignore
README.md
UNLICENSE

README.md

The repos contains the python code used to generate JSON from HTML. This comes in two flavors

  1. an google app engine app, under the app_engine folder
  2. a command line python script, see usage examples below

Command line Script Usage

Checkout out this repos

cd python

Get help on the options

python converter.py -h

Read a string for HTML

python converter.py -s "

hi
"

Scrape the contens of a remote URL, turn into JSON fastFrag, writes to stdout

python converter.py -rq "http://www.slate.com/"

Read from a file

python converter.py -f

fastFrag Utils for project fastFrag. More about fastFrag syntax https://github.com/gregory80/fastFrag