Blogging Like a Hacker
tom.preston-werner.com
tom.preston-werner.com
I've often thought that history etc for cms/blog systems should be pushed off to a proper version control system etc. I even drafted out a project spec to implement basically the same thing as this guy. Then I put it to the very bottom of my priority list. Emacs muse-mode + darcs FTW.
edit: not to sound like a prick - good on the author for working on a personal project, getting something he likes working and then using it. I just don't think it's news.
Neat software hacks are always news. I couldn't think of a better place to post your new bits of code.
He implements this and open sources it, and yet it is not worth a post on HN to you? What is?
So far, it sucks not having full text RSS feeds and having to manually tag posts in delicious. It's slow and some readers seem to miss the comments. But a Tom says, you get to write in textile or markdown. And as for not having CSS, I have convinced mself it's a benefit; I am not spending any time tweaking page layout.
Does anyone else think that Wordpress is getting too complex with all the added features due to it being open source?
I feel like people like my dad, who would be happy with a very straightforward and simple-to-use interface without all the added features, are turned off by the complexity of Wordpress.
I think a very lightweight CMS that would basically be a password protected AJAX textarea that could easily be embeded into any template would be ideal. No back-end interface or complex editing tools.
As far as I know, you currently have to learn the platform (Wordpress, MovableType, etc) in order to make a custom design. I feel like there needs to be a way to have the blog fit into the design without having to code your own CMS.
* chronicle blog compiler: http://www.steve.org.uk/Software/chronicle/
* ikiwiki wiki / bliki compiler: http://ikiwiki.info/
I find ikiwiki particularly interesting in that it coordinates with a local vcs (git, hg, svn, etc) to handle revisions and history.
It features support for LaTex, markdown, textile filters, autobuild, publishing only changed pages etc. Very small and clean.
'gem install webby' is all needed to get you started.
I'm all for people scratching an itch and rolling their own, but I'm curious why Webby wasn't suitable for the task.
In fact, this:
http://github.com/mojombo/tpw/tree/master/index.html
looks exactly like what Webby does.
When I see people sort-of reinvent a wheel or two I wonder what the reason was.
Out of curiosity, did you consider forking Webby, or offering to add in the parts you wanted back to the Webby project? Is it easier to grab the ideas you like and start fresh on your own than to try to hack on someone else's existing code?
For myself, when I find myself writing something similar to an existing project, it tends to be because a) I wasn't quite aware of what the other project offered, b) (more often) the 80/80 rule kicks in: The existing code gives me 80% of what I want, but I'll be spending 80% of my development time trying to get the rest of what I need, and writing my own version looks to be more efficient in the long run. This is more so if I expect to be reusing that code for many projects, so I can readily see the motivation in creating your own blogging software if you plan on using the hell out of it, regardless of what existing tools do.
Coincidentally, I decided to roll my own blog a week ago.
It's written in Lisp.
It looks surprisingly close to the blog system I had stewing in my brain. But hey... now I can just hack at your's. Only thing you're missing is comments, but perhaps that's what HN is for...
Now I just have to learn Ruby.
Comments were the reason I ended up looking into wordpress and movable type. I thought heavily about autosubmitting every post to reddit or hacker news and using that as the discussion but that could be constituted as spam (or offtopic). I thought about using one of the out-sourcing services like disqus or JS-KIT. The problem (back then) was they didn't index properly on search engines and it has really really high switching costs.
If those two issues have been solved (the search engine one might have been), I'd consider switching to a static engine.
Many seem to follow the "title: \n date: \n tags: \n" type style which seems to do the job pretty well (and can be easily parsed).
Any other formats worth investigating?