Lesson todo
From LDSOSS
Contents |
lesson_todo
Description
A command-line script that automatically reads an LDS Website lesson manual and creates a Backpack(TM) page with a todo item for each lesson. This page describes where to get it, and how to use it.
You can see an example page that has been created for the David O. McKay lesson manual (note that pages are not made public like this by default). The public view of this page doesn't show it, but in your private view you will have clickable checkboxes next to each lesson. Also, notice how the completed ones get moved to the bottom of the page. It's very nice really.
News
- The first update has been released as of Dec. 04, 2005 10:45pm PST. The download link and usage instructions have been updated. This release simplified the effort needed to get the url of the lesson_manual that lesson_todo needs.
Usage
The hardest part of getting a page with a todo item for every lesson in your LDS lesson manual is getting the right URL for the lesson manual. Here's how:
- Find the lesson at the LDS Library website
- Click on the "Bookmark" link at the top of the white background part.
- Click OK on the "warning" dialog that pops up.
- Now, highlight the URL (starts with "http:...") in the location box of the new browser window and copy it (usually ctrl-c).
Now you can paste that in your command-line invocation of lesson_todo:
lesson_todo 'http://username.backpackit.com/' 'ApiKey' 'URL'
Replace username with your Backpack username, and ApiKey with your Backpack account API key (down at the bottom of your "account" page), hit enter, and watch it go!
Download
A compressed tar archive that includes the lesson_todo script and a (slightly modified) Python Backpack API can be downloaded by clicking right here!
It's licensed under the GPL as it states in the lesson_todo file.
Installation
There is no installation really. Just unpack the tar file (tar -zxvf lesson_todo.tar.gz on Linux) and run lesson_todo from the newly created lesson_todo folder. The only other thing you might do to install it is to create a link to lesson_todo somewhere in your path.
Future Plans
In writing up this description I can see that it'd be really cool if the user didn't have to go to all the trouble to get the lesson manual frame in a window by itself in order to grab the correct URL.
Also, it'd be much more user friendly if it was a little GUI or web-based application.
Bugs
Please submit any bugs or patches to the author (see lesson_todo -h).
Author
lesson_todo was written by Krupan