Lily How To.

  • Browse the documentation in the Wiki.
  • Read the How-To blog entries.
  • Join the Lily user discussion group.


From the blog:

January 16, 2008

Local Search Tutorial

Here's 3 two-minute screencasts that demonstrate building a local search mashup step by step in real-time. Best viewed in full-screen.

Performing a local search using the Yahoo local search api and displaying the results using a XUL tree widget. Using patcher to encapsulate patch code.

Adding a call to the Yahoo geocoding API and a Google map to display the location of the search.

Adding markers to the map for each item in the list.

April 14, 2007

Twitter Spellcheck Bot


Here's a small Lily program that lets you check the spelling of a word from your cellphone- it uses the Twitter API to send and receive messages from the cellphone and the Yahoo Suggested Spelling web service to look up the spelling. To use it you'll need two Twitter accounts- one for Lily and one for yourself. You'll also need to enable your cellphone in the Twitter account settings. In the patch you'll need to add your Twitter user/pass as an argument to the twitter object.

Once you're setup, run the spellchecker by texting "d <your-lily-account-name> <word-to-check>" to 40404. You should receive an SMS back from Lily with the correct spelling shortly.


The new twitter object implements most of the api methods, including the direct message feature which I'm using in this patch. The code also includes an example of doing basic auth with xmlhttp. You can download it and the twitter spellchecker patch here.