Blogging from Emacs

Posted by me on Monday, the 5th day of June, anno domini 2006 at 10:24 PM, local time.

So, I’m testing a simple method of blogging from emacs by way of my command line blogging script. I think it should work pretty good. I guess we will find out. Now, one thing I was reading about somewhere was making it easier to link things. Essentially, my command line blogging script can be made to preprocess the body of the post to make it easier to do italics, bold, etc., as well as linking to arbitrary websites, or wikipedia, or other random websites based on keywords. I should also fix up some keywords to map to category numbers so I don’t have to figure out what the category number is for the category I wish to blog in!

Plan for preprocessing then is:
*bold*
<b>bold</b>
_underline_
<u>underline</u>
/italics/
<i>italics</i>
{sitekeyword:siteargs linktext mouseovertext}
<a href=link(sitekeyword,siteargs) title=mouseovertext>linktext</a>

Some initial keyword/arg sets will be:
wp:topic
for a given topic at wikipedia (no topic links to wikipedia itself).
google:search
for a google search of the given search terms (no search links to google itself)
map:place
for a google maps search of the given place terms (no place linkes to google maps itself)
bible:book:chapter:verse
for a link to a given book chapter:verse in the bible at some bible site. Likely the KJV with good Strong number concordance that I have somewhere.
compare:versions:book:chapter:verse
for a link to comparison versions of a bible verse or chapter at unbound bible. (Still need to figure out its interface)
guten:book
for a link to a gutenberg project text of a given book.

And we’ll see how that all works. Maybe something will suggest itself for further enhancement.

Tags: , , , , , , , ,