Monday, November 08, 2010 at 12:01 AM.
system.verbs.apps.identica.newPost
on newPost (s, username=user.identica.prefs.username, password=user.identica.prefs.password, server="identi.ca") {
<<Changes
<<3/12/09; 5:17:57 AM by DW
<<New optional param, server, allows you to post to another instance of Laconica.
<<7/17/08; 3:46:23 PM by DW
<<Created.
local (posturl = "http://" + server + "/api/statuses/update.xml");
return (twitter.newpost (s, username, password, posturl:posturl))}
<<bundle //test code
<<newpost ("[NYT]: McCain Now Criticizes Obama for Travels http://x.techwheat.com/121", server:"home.smallpicture.com")
This listing is for code that runs in the OPML Editor environment. I created these listings because I wanted the search engines to index it, so that when I want to look up something in my codebase I don't have to use the much slower search functionality in my object database. Dave Winer.