Monday, November 08, 2010 at 12:01 AM.
system.verbs.apps.metaWeblog.getRecentPosts
on getRecentPosts (blogid, username, password, numberOfPosts, adrdata=@metaWeblog.data) {
<<Changes
<<8/24/06; 2:47:48 PM by DW
<<Created.
local (url);
metaWeblog.init ();
bundle { //set defaults
if username == nil {
username = user.metaWeblog.username};
if password == nil {
password = string (user.metaWeblog.password)};
if blogId == nil {
blogId = user.metaWeblog.blogId}};
url = "xmlrpc://" + adrdata^.server + ":" + adrdata^.port + adrdata^.rpcPath;
return ([url].metaWeblog.getRecentPosts (blogid, username, password, numberOfPosts))}
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.