Libweb

Mirroring Libweb


Guidelines

I am happy to make Libweb available for you to mirror on your own site, subject to the following guidelines. Directions for creating the mirror appear below.

Note: Due to the adundance of mirror sites in the U.S. and Germany, I am not currently adding any more sites in those locations to the list of official mirrors. Additional U.S. and German sites are still welcome to mirror Libweb, subject to the rules below, but they will not be listed at this time. Thank you for your understanding.

Libweb is available for use under the terms of the Creative Commons Attribution-NonCommercial-ShareAlike 2.5 License. In addition, I request that you let me know about your mirror via e-mail. I provide links to selected mirrors from the Libweb home page.

  1. The HTML pages have comments labeled TOP LOCAL LINK and BOTTOM LOCAL LINK. You may replace either or both of these comments with HTML source to provide local identifying information or links. For example, you may replace them with a logo image, a "Return To Our Home Page" link, or a navigation bar common to all the pages on your site. You may not replace them with commercial advertisements.
  2. The mirror’s home page as distributed is named index.html. If your web server cannot accommodate this, you may change the filename as needed. The other pages link to it with the relative URL "./", so as long as your server uses some default file name, these links should work.
  3. Your local presentation of Libweb must not obscure my authorship or the role of WebJunction as the originating site. This includes but is not limited to enclosing Libweb in a frameset if that frameset serves to make Libweb look anyone else’s original work.
  4. I strongly request that you update your server at least once a week and certainly no less often than once a month. I will take sites off the list if they fall too far out of date.

Directions

The mirror currently consists of a single, self-contained directory of files, distributed as a tar file. Updating the mirror is simply a matter of getting the tar file and extracting it in a directory under your web server.

The tar file is located at <URL:http://lists.webjunction.org/libweb/mirrors/libweb.tar>.

  1. Using a Web browser or any HTTP-capable program, GET http://lists.webjunction.org/libweb/mirrors/libweb.tar and save it to a file.
  2. Using tar or any utility that understands the TAR format, extract the files to a location under your web server. They will extract to a local directory named libweb-mirror. In addition to the Unix "tar" utility, a number of programs handle tar files, including PKZip and WinZip running under Windows.
  3. Feel free to delete the tar file once it has been extracted.

That’s all there is to it.

Here is a complete Unix shell script to update the mirror (it combines steps 1 and 2 into a single command):


	#!/usr/bin/ksh
	cd /path/to/parent/directory
	
	GET http://lists.webjunction.org/libweb/mirrors/libweb.tar | \
	    tar xf -

	#If your system doesn't have GET, comment out the two lines above.
	#Then uncomment the following two lines.
	#lynx -dump http://lists.webjunction.org/libweb/mirrors/libweb.tar | \
	#    tar xf  -

This was suggested to me as a more Linux-friendly script:

	#!/usr/bin/bash
	cd /path/to/parent/directory
	wget http://lists.webjunction.org/libweb/mirrors/libweb.tar | \
	    tar xf -
	rm -f libweb.tar

Change the directory name, and you’re ready to go.

My apologies, but I am not able to offer the mirror via rsync or other distribution methods.