| xah lee ( @ 2008-07-03 04:13:00 |
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.ht ml
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
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.ht
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