Stupid Idea?

- Image by Somewhat Frank via Flickr
random thought from irc ![]()
[d1g1t] I just thought of an awesome blogging platform!
[d1g1t] weird
[d1g1t] but awesome
[d1g1t] plain html pages!
[d1g1t] we just write posts as html in text files in a folder, a program updates pages/links when we add a new file!
[d1g1t] one dynamic file for comments maybe
[d1g1t] rally rally fast
[d1g1t] the program could compress images and js too
[d1g1t] db-less
[d1g1t] might get chaotic for terribly large sites
[d1g1t] if people use comments. otherwise blazing fast!
* d1g1t patents it
Would it work? and what are the downsides?
![Reblog this post [with Zemanta]](http://img.zemanta.com/reblog_e.png?x-id=3300e3d1-f3b7-41df-a67b-6475c2748799)
You are Weird!
OK these are the problems I think will arise :
1.) How will you maintain Link hierarchy ? Whenever you’ll write a post you’ll need to A.) Make it main page of Blog, b) Update all links locations (Catagories section, Tags, Other posts). Sounds impossible without an AI. Even if possible will take lots of processing power.
2.) You’ll need to add lots of extra code in each page for ads and other widgets. Tedious work.
3.) Too lazy to type other disadvantages of simple HTML.
But maybe there are other ways… Keep looking around. =)
well, you’re basically doing the same thing as any other blogging software. only difference is you write to a file instead of serving the html to a browser
similar to caching I guess…
I think it’d not be worth it considering the extra work one needs to do to maintain it.
This idea sucks. Why on earth would you want a page based anything? Learn python, stop wasting your time with this stupid idea.
This sounds much like a templating system.
Wouldn’t be hard to manage, just have the program watch a certain folder, and organize the text files into dated folders, such as 2008/11/12, which would be posts for November 12th, 2008.
mv stupid_idea.txt new/
crontabbed script checks new/ for existing files
mv new/stupid_idea.txt 2009/08/30/
Template engine will recursively look into all folders for files, import the data from the text file, and place it into the template with all the ads and pictures and such.
But, that’s just me. I’m sure the whitespace-sensitive snake tongue can manage to do all that, just as with pretty much any scripting language. Perl (CPAN) has a ton of modules that’ll quickly aid in getting this task done. Python… not so much.
Your idea sounds good. But lots of efforts will be needed to get it work effectively. Also you need to update the time of post of the hope page always to be on first page.