News for hackers. Stuff that matters.
Re:Poll: What's your favorite static site generator? by ComputerGuru on Saturday December 01, 2012 @08:36AM (#4857571)
bash and wget.

Simple example:

    for f in `ls *.php`; do  wget http://myexample.com/$f -O $f.html; done;
    rename 's/\.php\.html/.html/' *
    sed -i 's/\.php/.html/g' *.html
Re:Poll: What's your favorite static site generator? by keithpeter on Saturday December 01, 2012 @08:45AM (#4857587)
Bash, markdown and hope.

Sample...

http://sohcahtoa.org.uk/pages/publish-a-web-site-with-bash-s...

it is horrid, but it works for me.

Seriously, how about a voting option for something like 'homebrew'?

Re:Poll: What's your favorite static site generator? by nkuttler on Saturday December 01, 2012 @09:07AM (#4857635)
Kinda.

When I need a 'static' site I just use whichever CMS/framework is best and wget --mirror the output.

Re:Poll: What's your favorite static site generator? by joeld42 on Sunday December 02, 2012 @12:02AM (#4860151)
That sounds horrible. All of the added complexity of a heavyweight framework without any of the advantages. Most frameworks have an option to cache the output if you want to go that route, then you'll get the performance of a static site without losing the flexibility.