< home | projects | markthrough

Markthrough

Do you ever get annoyed that you have to keep writing HTML headers and footers for your website, when you'd really rather just put a bit of content up quickly? I know I do. The usual next step is to write a small SSI or PHP script which includes the header and footer. But you still have to write all the tedious HTML...

Enter Markthrough. Markthrough is a tiny CMS-type thing which takes plain text pages, formatted in a wiki-like markup format called Markdown, inserts it into a template, and spits out the result. Suddenly, publishing new pages becomes 100 times easier :-)

The Markdown language is much easier and quicker to write in than HTML, but still allows you to write raw HTML if you need to do something clever. For an example, look at the source to this page, using the link in the footer. Isn't that simple?

Download

Unfortunately, Markthrough isn't available for download yet. I'll probably put something here once I've cleaned it up a bit.

For toolserver users

If you have an account on the Toolserver, you can use my copy of markthrough for now. Copy /home/river/public_html/cgi-bin/page.pl to your cgi-bin directory, and modify the top bit (containing the paths) as appropriate. Copy /home/river/public_html/main.css to an appropriate place; or, if you don't like my design, write your own ;-)

Then copy the relevant RewriteRules from my .htaccess to yours, to set up the nice /pages/ URLs.

Let me know if you have any problems...