Simplified blog markup using "tagblog.awk" ------------------------------------------ tagblog.awk converts more-or-less straight text into valid HTML, and supplies the document structure used in "Belisarius Blogs!". What it converts: "title=" is the title of the blog entry, rendered as an

. Can be multiple lines and include quotes, italics, links, etc. "keywords=" are the Meta keywords. Can be multiple lines; cannot include any other specials. Keywords are written to a separate file for inclusion at the proper point in the final page. "bq=" and "=bq" delimit block quotes (
). "link=" begins lines that contain links to other sites ( ends there, allowing links to end before punctuation. Otherwise, there's always a space after the , and a space never ends the hypertext. For example: link=http://home.earthlink.net/~count_belisarius/starwars1.htm In Your Face, North Korea =link is the HTML version of ... Or: link=http://home.earthlink.net/~count_belisarius/starwars1.htm what I said recently=link: Blank lines indicate the end/beginning of paragraphs, including paragraphs in block-quotes. Double quotes are converted to typographic quotes (“ and ”). Apostrophes are converted to right single quotes (’). "---" is converted to an em-dash (—). "..." is converted to a horizonal ellipsis (…). "_" toggles italic face, except in block-quoted text. "__" does the same for bold face. "+" toggles citations ("") "pre=" and "=pre" delimit preformatted text, which is rendered as is. These two tags, like "bq=" and "=bq", must be on separate lines. All other text, including HTML tags, is passed through. All text that is not inside a "pre=/=pre" is filled to a 70-character margin. The script adds the current date at the bottom of the entry (if it's handed a file beginning with the date), and performs other housekeeping and formatting chores as required by the blog structure.