20 07/05
03:49

Backpack Samurize Plugin Update

I updated my Backpack plugin for Samurize. There are many updates since the first release.
There are now entry points for a couple of the different Backpack
content types and also a aggregate method that will collect list items
from all your pages. Here’s my (short) documentation for the new
entry points. Don’t forget to follow the important “Note” mentioned in the first release. I plan on posting a couple example configs in the next couple nights.

GetTodoForPage
pageid – See below.
completed
– Set to “true” if you only wish to see completed items.
Otherwise, set to “false and just see uncompleted items.
format – 0 – Item text, 1 – \n (Example: “[ ] {0}{1}”)

GetTodoForAllPages
contains – Use this to only return todo items that contain the specified string. Leave empty if you wish to return all items.
format – 0 – Item text, 1 – Page title, 2 – \n (Example: “[ ] {0} – page: {1}{2}”)

GetAllPages
format – 0 – Page title, 1 – Page id, 2 – \n (Example: “{0} ({1}){2}”)

GetNotesForPage
pageid – See below.
format – 0 – Note title, 1 – Note text, 2 – Note Date/Time, 3 – \n (Example: “Title: {0}{3}Date: {2}{3}Body:{1}{3}”)
dateformat – See below. (Example: “hh:mmtt MM/dd/yy”)

GetAllReminders
format – 0 – Reminder text, 1 – Reminder Date/Time, 2 – \n
dateformat – See below. (Example: “hh:mmtt MM/dd/yy”)

pageid – The number of the page you
wish to get use. You can find this by using the GetAllPages
method in this plugin or by looking at your URL’s on
backpackit.com. This id is the number in the URL after
/page/. Finding the id of your home page is a bit more
difficult. I usually find it by clicking on the “renew address”
button and looking at the URL. You can also do this by looking at
the source.

format – Uses .NET formatting rules. More information can be found here.
The short story is that “{0}” will get replaced with the first item,
“{1}” for the second, etc. I have made the final format item a
line return for each entry.

dateformat – .NET date formatting rules. Details here.

Download the newest backpackplugin2.zip.

16 07/05
03:50

Backpack Samurize Plugin

backpacksamurize.JPGI’ve been using a couple Ruby scripts and Serious Samurize to display my Backpack
todo items on my desktop for a few weeks now. Today I decided to
cut the scripts and work on a Backpack Samurize plugin. Here’s
the intial release of the plugin. Currently, it only has the
abiltity to list todo items for one page, but that is all I need right
now. If others are interested I’ll add things like notes,
reminders, and the ability to get todo items from every page.

The screenshot to the right is the config I use (with some fake todo
items). It’s very simple but it gets the job done. I”m sure
this could be integrated into a much more complicated config.
Just read the readme in the zip file for instructions on how to use the
plugin.

Note: The default refresh rate for plugins seems to
be ‘0’ which I think means “as fast as possible”. Since each time
this is called it’s making a web request to the Backpack site, you need
to set this to something very reasonable or the 37Signals people will
probably not be too happy with you.

Update: There is now a newer version. Please check it out.