Print 30 Boxes Calendar as a Pocketmod
04 Jun 2007
Just try to provide the complete set of online calendar and to-do list Pocketmod print modules. This one, like all the others use your RSS feed to get the content.
Use something like this in your “mod.xml”
Get the feed url for you calendar under the SHARE button and get the link for the RSS feed.
For those of you keeping score the list so far:
- Tada
- Stikkit
- Remember The Milk
- Google Calendar







Hi, I wanted to use your idea for a Toodledo calendar pocketmod, but I have not figured out how you parse the info and put it into an .swf file. Can youi provide a tutorial on how you made this one or the Google cal mod?
Thanks for including 30 Boxes. Could you also include a module for 30 Boxes To Do lists. There is an RSS icon at the top of to do lists (the big button with the check mark) that gives the feed for the current list being displayed.
That would be awesome.
@sfo
I am not really a programmer, but I am really good at cut ‘n paste.
Google “xml parsing actionscript” and that should give you plenty of info.
Load XML:
function getTodo(todoXMLurl) {
var todo = new Array();
todo_xml = new XML();
todo_xml.ignoreWhite = true;
todo_xml.load(todoXMLurl);
todo_xml.onLoad = function(sucess) {
if (sucess) {
parseTodo(todo_xml);
} else {
showError("Error loading xml. Check you public feed or network connection.");
}
};
}
Slap it into an array:
listItem = parentNode.childNodes[0].childNodes[a].childNodes[0].firstChild;
function parseTodo(xmlDoc_xml) {
temp = new Array();
parentNode = xmlDoc_xml.firstChild;
listTitle = parentNode.childNodes[0].childNodes[0].firstChild;
for (var a = 6; a
itemDate = parentNode.childNodes[0].childNodes[a].childNodes[1].firstChild;
n = new AddList(listItem, itemDate);
todos.push(n);
}
}
@Narendra
http://www.fairlyuseless.com/2007/06/04/30-boxes-to-do-list-pocketmod-too/trackback/
@sfo
I had seen Toodledo mentioned on LifeHacker but saw that they had already created one.
http://www.toodledo.com/booklet.php
Yes, but the Toodledo booklet content is awful, and the formatting is too. I have been tinkering with it, trying to get it imported here with no luck. This rePocketmod is so much nicer if there were only a swf file for it…….
::wishing::
Thanks for the great s’ware!