Flat files are easy to maintain, and is very portable I like
it over SQL databases for personal websites. But if we
can define a standard for 'flat files' blogs, then it shall
be more futureproof.
Right now I'm using markdown as the parser (its not
standardized beyond the first markdown
specs? :/ ) for
the content of each post.
Also for each post, I encoded the time date in ISO 8601
format, and included the title within the filename after
time date information. (e.g. 2014-06-14_First_Post.md
I had thought to include these info within the post, but
placing it in the file name would make it easier to search
later on. Also having year-month-day, would make it
to organize the post by timedate using alphanumerical
Structure of the file name for each post (contact me for
regexp if you need it):
[ISO8601 timedate]+[optional "_"or" "]+[title of post]+
extension ".txt" ".md"]
All these post are included in a folder named "/blog/",
a subfolder "/gallery/" for pictures and non post files.
I am however not sure what to do about blog post tags. I
don't want to encoded it into the file name, as that
clutter it up.
Anything else about a typical personal blog that would
to be considered for a flatfile blog standard?