Skip to content
This repository

htmlparsing.com, a website devoted to helping people parse HTML correctly

branch: master
Octocat-spinner-32 s added twisted June 27, 2013
Octocat-spinner-32 static handle code inside paragraphs December 26, 2010
Octocat-spinner-32 t starting December 23, 2010
Octocat-spinner-32 tt update the header to mention the right way December 14, 2012
Octocat-spinner-32 .gitignore starting December 23, 2010
Octocat-spinner-32 Makefile add java November 25, 2011
Octocat-spinner-32 README.md renamed all .mkd to .md November 25, 2011
Octocat-spinner-32 crank added Google tracking November 27, 2011
README.md

This project is the source code for http://htmlparsing.com, plus the Perl code that converts it from Markdown format into HTML and uploads it to the server.

Repository layout

s               page bodies in Markdown format
tt              templates in Template::Toolkit format
static          images and styles
t               tests
build           output

Requirements

Perl and additional CPAN modules.

For building:

File::Slurp
Template
Text::Markdown

For testing:

Test::HTML::Lint

Contributing page content

  1. Modify templates or page bodies. New pages have to be registered in the file crank.
  2. Run make to build the site and inspect the result in the build directory.
  3. Run make test to check for HTML errors.
  4. Commit/publish changes, see s/index.md.
Something went wrong with that request. Please try again.