On Mon, Aug 11, 2008 at 8:36 AM, Shakti Purohit
<[EMAIL PROTECTED]> wrote:
> I went through the java API doc of Roller. I am into developing a plugin for
> Roller which will fetch existing content (WeblogEntries, comments, tags)
> from the Roller. I think this task is very much doable using APIs provided.
> My only concern: does there exist any plugin framework on Roller by which I
> can make plugin a part of Roller environment? I mean does Roller provide any
> admin based UI by which I can upload my plugins? If not please provide the
> way to load the plugin.

There are a variety of ways to plugin to Roller, but there is no
Plugin Manager.

Typically what you need to do is:
- Implement an interface in Java
- Jar up your classes, put them in the Roller classpath (WEB-INF/lib)
- Override some properties in roller-custom.properties to hook in your classes

There is a list of plugin types on here:

I'd be glad to answer questions about any of them here on the mailing list.


> Secondly, how can I detect data creation, deletion and update on Roller? I
> did not find anything like listeners on Rollers, listeners being listening
> to create update and delete events. Please suggest how to implement this
> functionality (event listeners like functions)?

We don't have any types of listeners for events like that, so your
best be is probably to plugin your own manager. For example, you could
create MyJPAWeblogEntryManager which extends
JPAWeblogEntryManagerImpl. The override the methods you need to, call
super where appropriate -- and then hook in your new implementation
via JPAWebloggerModule.

Not at great situation right now, eh?

Personally, I think better plugin infrastructure should be the #1
priority for Roller.

- Dave

Reply via email to