LDSOSSMain Page | About | Help | FAQ | Special pages | Log in

Printable version | Disclaimers

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

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:

  1. Find the lesson at the LDS Library website
  2. Click on the "Bookmark" link at the top of the white background part.
  3. Click OK on the "warning" dialog that pops up.
  4. 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

Retrieved from "http://ldsoss.org/index.php/Lesson_todo"

This page has been accessed 3,389 times. This page was last modified 06:53, 5 December 2005. Content is available under Attribution-ShareAlike 2.5.


Find
Browse
Main Page
Mailing List
Current events
Recent changes
Random page
Help
Donations
Edit
Edit this page
Editing help
This page
Discuss this page
Post a comment
Printable version
Context
Page history
What links here
Related changes
My pages
Create an account or log in
Special pages
New pages
File list
Statistics
Bug reports
More...