Thursday, July 03, 2008
generating sitemap with emacs lisp
Here's a little tutorial on text processing with emacs lisp.
I want to use elisp to create a sitemap. More specifically, generate a list all files of a given directory including its subdirectories, for each file create a url string in some particualr XML form, and put the whole result into a file with proper header and footer texts.
HTML version with syntax coloring and links is at: http://xahlee.org/emacs/make_sitemap.html
livejournal screws up raw html source code so no text version here.
Also, my emacs and elisp tutorial is now downladable. Download link at bottom of http://xahlee.org/emacs/emacs.html
I want to use elisp to create a sitemap. More specifically, generate a list all files of a given directory including its subdirectories, for each file create a url string in some particualr XML form, and put the whole result into a file with proper header and footer texts.
HTML version with syntax coloring and links is at: http://xahlee.org/emacs/make_sitemap.html
livejournal screws up raw html source code so no text version here.
Also, my emacs and elisp tutorial is now downladable. Download link at bottom of http://xahlee.org/emacs/emacs.html

