I would love to be able to blog using nothing more than vim and scp.
Here is the plan...
Each post will simply be a text file. The file name will be the title, and the content will be converted to html using Markdown. The file modification time will be used for the news feed.
A single directory will hold all of the content - posts, images, audio, video and comments. Publishing a post will be accomplished by copying the files to this directory. Images, audio, video and comments will be stored in corresponding subdirectories and additional subdirectories can be created to store posts. The index page will display the posts stored in the root directory and the site navigation will be generated from the subdirectories.
Images will be automatically resized (ImageMagick). Audio and video files will be automatically transcoded (ffmpeg) and playable inline (html5).Comments will be screened for spam using email confirmation and unconfirmed comments will auto-expire.
posted at 2011-06-10T06:05:52 by baerg