Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

static website (and blog) generator?

by flexo (Sexton)
on Dec 17, 2007 at 20:44 UTC ( #657510=perlquestion: print w/replies, xml ) Need Help??
flexo has asked for the wisdom of the Perl Monks concerning the following question:

I keep a bunch of Pod files (actually, Perl 6 Pod) hanging around on my local machine that contain my own various notes, and currently use perldoc2xhtml plus a homegrown script to convert them to html and create a small statically generated website out of them.

Can anyone recommend a static website generator -- as opposed to my current hand-rolled setup?

Further, I've been wanting to add a blog to the site as well. Is there any reason I should avoid using statically generated html files for a blog? My plan was to generate the blog in a similar way to the rest of the site (everything done locally), and then just rsync it to the server everytime I add a new post.

Thanks.

Replies are listed 'Best First'.
Re: static website (and blog) generator?
by Joost (Canon) on Dec 17, 2007 at 21:02 UTC
    Can anyone recommend a static website generator -- as opposed to my current hand-rolled setup?
    Personally, I use a similar hand-rolled setup for my main site based on Template Toolkit with some content generated from pod files. If you're interested I can provide you with the code, but there's only one really interesting piece in it and that's a custom include provider (I didn't like the default include system).

    For my blog (see profile) I got extremely lazy and just dumped wordpress on a subdomain, because I wanted to allow comments and didn't want to think about design or anything but just posting stuff once a week or so.

    Further, I've been wanting to add a blog to the site as well. Is there any reason I should avoid using statically generated html files for a blog?
    Static files will work well. You may need some server scripts if you want to have public comments.

      Thank you, Joost. Glad to hear someone else does it frontier-style as well. ;-)

      Regarding the blog, I don't think I need anything as fancy as WP, but just need to decide between simple generated static files, and (probably) blosxom. I notice the links at the blosxom site look just like static urls, so, both alternatives will look the same to the user anyway.

Re: static website (and blog) generator?
by naChoZ (Curate) on Dec 17, 2007 at 20:50 UTC

    I believe blosxom is on par with what you're seeking. Not sure if it meets your needs 100% but it's worth a look.

    --
    naChoZ

    Therapy is expensive. Popping bubble wrap is cheap. You choose.

      Thanks naChoZ. On the plus side, it looks like it's just a CGI script, so that should work fine with the hosting arrangement I have (no mod_perl). I'll have to read the docs and have a closer look.

Re: static website (and blog) generator?
by Erez (Priest) on Dec 17, 2007 at 22:24 UTC

    I don't really know if this is what you're looking for, but I really like what Yggdrasil is offering in terms of both template and static-generated site. I've been testing it to see whether it can be used for hosting both a site and a blog on it. Although eventually you'll want to invest in a more dynamic environment, especially once you have more than a few posts and definitely if you'll want to have any form of comments.

    Software speaks in tongues of man; I debug, therefore I code.

Re: static website (and blog) generator?
by markbenson (Initiate) on Apr 21, 2014 at 18:34 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://657510]
Approved by ww
help
Chatterbox?
and the pool shimmers...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2017-12-13 18:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (375 votes). Check out past polls.

    Notices?