Stupid Idea?

Blogging For Dummies
Image by Somewhat Frank via Flickr

random thought from irc :P

[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]
  1. You are Weird! :P

    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. =)

  2. 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…

  3. I think it’d not be worth it considering the extra work one needs to do to maintain it.

  4. This idea sucks. Why on earth would you want a page based anything? Learn python, stop wasting your time with this stupid idea.

  5. 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.

  6. 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.

  7. Your idea will work fine in my opinion. And would be *almost* the most secure platform.

    Your index page will need a simple JS that lists all the titles available in the directory of your posts. Then you wouldn’t even need your program! And by the looks of it, Google won’t be a worry either.

    About comments, if you really need it for such an awesome site, think again. But there may be external support for this one; like Disqus and IntenseDebate.

    I only see advantages in this approach; none of your articles must follow a template and look the same all the time. You can work with a plain text editor or a supercharged WYGISBTWYS editor. All you gotta do next is purchase a sane, non-irritating FTP client. Or hell, script this locally.

    Now about that 50% of claim in the patent…

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>