On Tue, Nov 11, 2008 at 7:25 AM, kranthi kumar
<[EMAIL PROTECTED]> wrote:
> Probably i didin't explain my problem clearly....
> I am having my project and roller as separate applications in webapps of
> tomcat. Now whenever a user registers for my site i need to insert the same
> user credentials into roller database(rolleruser table). Is there any way of
> doing this???

There are at least two ways to do this that I am aware of.

1) The Roller Admin API - a simple web service for creating users and blogs
2) The Roller Java API - just call the Roller Java classes directly

There are README files and examples of how to use these options from
the Groovy language at the link below.
   http://svn.apache.org/viewvc/roller/trunk/sandbox/scripting/groovy/examples/

Here the Roller Java API createuser.gy example:
   http://tinyurl.com/3cwy9j

Here's the Roller Admin API createuser.gy example:
   http://tinyurl.com/5zxzbv

- Dave

Reply via email to