All Projects → vitorbritto → markupify

vitorbritto / markupify

Licence: other
Extract parts from your HTML file

Programming Languages

shell
77523 projects

Markupify Logo

Welcome

Markupify is a simple method to extract some parts of HTML files.

Installation

# 1. Clone this repository
$ git clone git://github.com/vitorbritto/markupify.git

# 2. Place the `markupify.sh` script wherever you want

# 3. Make the script executable
$ chmod u+x path/to/markupify.sh

Usage

$ ./markupify.sh [ options ] <LOCAL_FILE, FILE_URL>

Options:

  -c, --class        output classes
  -i, -id            output ids
  -u, --url          output urls from href

Bonus

If you prefer, put the following alias inside your ~./.bashrc file:

alias mify="bash ~/path/to/script/markupify.sh"

Now, you can simply run:

$ mify [ options ] <LOCAL_FILE, FILE_URL>

License

MIT License © Vitor Britto

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].