Not sure what you want to do with it, but I did a short writeup of what I did here: http://roller.markmail.org/message/uysdhfuzi2ywnlda?q=programmatic+blog+entries
HTH /Brian > From: henning.br...@googlemail.com > Date: Sun, 26 Apr 2009 08:58:37 +0200 > Subject: Re: Help on roller MetaWeblog API > To: user@roller.apache.org; ypu01...@yahoo.com > > Just take a look at Rome Propono: > > http://wiki.java.net/bin/view/Javawsxml/RomePropono > > I used this to migrate several thousands of messages from a legacy > system to roller blog. Java code is quite simple, I used something > like this: > > > String BLOG_URL = "<YourBlogBaseDir>/roller-services/xmlrpc"; > String BLOG_USER = "<YourBlogUser>"; > String BLOG_PWD = "<YourBlogUserPassword>"; > String BLOG_HANDLE = "<YourBlogHandle>"; > > BlogConnection con = BlogConnectionFactory.getBlogConnection( > "metaweblog", BLOG_URL, BLOG_USER, BLOG_PWD); > > Blog blog = con.getBlog(BLOG_HANDLE); > if (blog == null) > throw new Exception("blog not found"); > > Blog.Collection entries = blog.getCollection("entries"); > > if (entries == null) > throw new Exception("no entries found in blog"); > > .... > > -Henning > > On Fri, Apr 24, 2009 at 7:41 AM, April Pu <ypu01...@yahoo.com> wrote: > > > > Hi, > > > > I need to write code to test Metaweblog API. Does someone has smaple java > > code? > > > > Thanks! > > > > April > > > > > > > > > > > > -- > Dipl.-Inform. Henning Brune > > http://ekvv.uni-bielefeld.de/pers_publ/publ/PersonDetail.jsp?personId=10185 > > Universität Bielefeld > Projekt BIS > Postfach 10 01 31 > D-33501 Bielefeld > > Die neue Homepage des BIS Projektes: > http://www.uni-bielefeld.de/bis/ _________________________________________________________________ Rediscover Hotmail®: Now available on your iPhone or BlackBerry http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Mobile2_042009