Software > lds-get

Layouts

Google



Okay if you are reading this I am assuming you already have been able to get lds-get configured and have it working for the example layout which is included with lds-get. This page is to help you understand how layouts work and to help you create a layout which lets you retrieve exactly what you want from lds.org.

Once again if you have any questions or difficulties please use our mailing list. Questions are certainly welcome but I would suggest that you look through the mailing list first just to make sure your question hasn't already been answered there.

Tutorial

Okay, so if you look at the config.py file one of the last statements looks like this:

DefaultArgs = ["example"]

That is the line that tells lds-get what to retrieve, so if you want to retrieve more items than what exist in the example layout, here is what you do. Download the full layout, full.tgz , and unzip it into the layout directory (in the initial tutorial this was 'c:\ldsget\lds-get\layouts'. This should give you three items in this directory: full (directory), example (directory), and filemap.txt. Move filemap.txt into the src directory replacing the old filemap.txt, and rename the 'full' directory to 'mylayout'.

Now go back to the config.py file and set the DefaultArgs line to this:

DefaultArgs = ["mylayout"]

Okay we are almost ready, now you just need to tell lds-get exactly what you want to retrieve from lds.org. This requires a very minimal knowledge of html.

Open the files 'mylayout\index.html' and 'mylayout\e_m\index.html', and remove any lines that refer to items that you don't want to retrieve from LDS.org.

Once you are done all of this just double click on lds-get.py and everything should be retrieved. Hopefully this is reasonably clear.

Advertisements
Email Address: nathanbullock -at- gmail.com
Last Modified: Thursday, May 19, 2005
This website is created using GNU/Linux, Subversion, Bluefish, and PureContent.
Please consider upgrading your web browser to Firefox to view this site.