xah lee ([info]xah_lee) wrote,
@ 2008-07-05 13:35:00
Previous Entry  Add to memories!  Tell a Friend!  Next Entry
Entry tags:elisp, emacs, lisp

Elisp Lesson: Make Download Archive Of A Website
Another emacs lisp tutorial.

SUMMARY

Create a downloadable version of a subdirectory of a website, so that all relative links in the downloadable version are changed into full URLs starting with a domain name, and internal directories or files are removed, etc.

Technically, this lesson gives a example of a text processing function that modifies a file, and this function is applied to hundreds of files. How to call OS's command line utilities to copy, delete, and zip directories. How a function is used to compute the correct link of a given file path and relative link.

HTML version with links and syntax coloring is at:
http://xahlee.org/emacs/make_download_copy.html




(Post a new comment)

Just wanted to say
(Anonymous)
2008-08-02 11:54 pm UTC (link)
Brilliant!

(Reply to this)


Create an Account
Forgot your login or password?
Login w/ OpenID
English • Español • Deutsch • Русский…