Home |
BlogMax is an Emacs package that aids in the creation of a
weblog. News below. See the
Docs page
for details.
As you have noticed if you're following this blog, I haven't made any changes to BlogMax in a long, long time. Actually, I made a few changes up through February of 2007, when I was blogging at imacpr0n.com (now defunct), so today I merged those into the main source, and I pushed the whole thing to github.com/BlogMax. It's GPL licensed, so you're free to fork and make any changes you want, as long as they remain free. If you DO make changes, please let me know, so I can consider pulling them back into the main repository.
#
I made the RSS generator create a kludgey # Shane Simmons donated a Wikipedia macro:
I didn't bother to generate a new zip file. Just download
#
I added support for
BugMeNot links. BugMeNot is a database of userid/password pairs
for web sites that require them, e.g. The
New York Times and The
Washington Post. A BugMeNot link to a web site is generated by the
" # Thanks to m3m, whose full name I don't remember, the time strings in RSS files are now RFC 822 compliant.
#
C-M-L now inserts a permalink,
# I added a "Permalink" macro. {pl "name"} inserts a name tag enclosing a link to that name tag with text taken from the new "pl-macro-text" parameter in weblog.ini. The text defaults to the sharp sign ("#") if there is no such parameter in weblog.ini. Click the "source" in the lower-right-hand corner of the page to see it in action. # Here's another bogus entry just so you can play with the permalinks. I'm including an excerpt from the Declaration of Independence here just to make this entry long enough so that clicking on its permalink will scroll to it. When in the Course of human events, it becomes necessary for one people to dissolve the political bands which have connected them with another, and to assume among the powers of the earth, the separate and equal station to which the Laws of Nature and of Nature's God entitle them, a decent respect to the opinions of mankind requires that they should declare the causes which impel them to the separation.
I've made a few small bug fixes and feature additions since my last entry:
I've been using amphetaDesk to scan RSS channels. The RSS that BlogMax generates looks funny there. The main link appears twice. I've been thinking about some ideas to improve the RSS and get rid of the need to use <br> tags for paragraph breaks within an entry. I think I know what to do now.
I'll add two new macros,
{/story} will expand into:
The weblog-insert-story-tags command, likely bound to
<Ctrl><Shift>-S, will insert:
using the clipboard as the "link", auto-generating the "name" as one
more than the largest integer already used in the file, and putting
the cursor between the two quotes of a blank "title". RSS generation
will then be done on the generated HTML file, finding the
<!--story--> and <!--/story--> comments
and pulling the link and title out of the generated anchor tag.
Comments?
Hard to believe it's been almost a year since my last update. I use BlogMax almost every day for my political blog (End the War on Freedom). I've made some small changes to it over the last eleven months, but I'm just now getting around to uploading them. I converted the three image files from GIF to PNG. Hopefully, this will be good news to my Linux users. weblog.ini now includes some comments from James Thornton on using Tramp to do "scp" for the web site upload. It also includes a new "month-index" flag, which controls whether a monthly index page is generated and linked to the month name in the output of the {calendar} macro (as you should see in the upper right-hand corner of this page). The default is to generate the monthly index file. I implemented Tony Sidaway's suggestions, adding "alt" attributes to "<img ...>" tags and "#" to the colors in the template files. I also removed the final newline in "side-links.inc". The generated html should now pass weblint, though it still uses tables for layout because I've been too lazy to learn enough CSS to switch. The {calendar} macro now makes the link to the previous or next month go to the previous or next day file even if it's further away than a month.
|
|
Copyright © 2011 by Bill St. Clair <bill@billstclair.com> | source |