« Return to Thread: blojsom 3 plugins (show-me-more,pager,bookmarlet,param2ctx)

Re: blojsom 3 plugins (show-me-more, pager, bookmarlet, param2ctx)

by Horan, Kenneth M. :: Rate this Message:

Reply to Author | View in Thread

On the subject of plugins, the show-me-more plugin does not play well
with tinyMCE due to its strict cutoff rule.  It cuts the post off after
n characters no matter what, so if it happens to be in the middle of an
href tag... oh well!  This can screw up the layout of the blog and users
have no clue why.  So, may I request that when the show-me-more plugin
is converted to blojsom 3 that it's made HTML safe?


Also, there's one little thing that's been bugging me about the internal
aggregator plugin.  From the manual:

****************************************
The plugin will pull the 3 most recent entries from the blogs that have
opted-in for aggregator. Blogs can opt-out of aggregator by including
the following in their blog.properties file.

    blojsom-plugin-internal-aggegator-opt-out=true
****************************************

blojsom-plugin-internal-AGGEGATOR??

I've done a lot of playing around this plugin and it annoys me to no end
each time something won't work because I've spelled "aggregator"
correctly.  Please, oh please, stop the insanity!

</rant>

Ken



-----Original Message-----
From: blojsom-developers-bounces@...
[mailto:blojsom-developers-bounces@...] On Behalf Of
David Czarnecki
Sent: Thursday, October 05, 2006 5:44 PM
To: blojsom developers
Subject: Re: [Blojsom-developers] blojsom 3 plugins (show-me-more,
pager, bookmarlet, param2ctx)

Dan-

I didn't carry over the bookmarklet plugin to blojsom 3 ... Yet.

The 2 mbledug plugins are 3rd party plugins. The author may or may not
choose to update them for blojsom 3.

However, the pager plugin is sort of taken care of with blojsom's
SkipEntriesFilter. For example,
<http://your.site.com/blojsom/blog/default/skip/2/> (alternatively,
<http://your.site.com/blojsom/blog/default/?pg_num=2>. That'll take you
to
the next page of 15 entries ... And so on.

Just need to write a plugin to say output the number of pages available
and
output the current page. I created an issue for myself,
<http://jira.blojsom.com/jira/browse/BLOJSOM-157>.

Show me more needs a migration to blojsom 3.

Date tool plugin is available in the add-on bundle. So, you could use
the
following (note the correct plugin class name):

<bean id="date-tool"
        class=" org.blojsom.plugin.tools.DateToolPlugin"
          init-method="init"
           destroy-method="destroy"/>


On 10/5/06 4:59 PM, "Dan Harth" <danharth@...> wrote:

>
> I notice in the new spring/hiberate implementation that many
properties files
> have been convert to XML in many cases. Particularlly the
blojsom-plugin.xml
> ,and it does not have any reference to the following plugins
> 1) bookmarlet
> 2) pager
> 3) param2ctx
> 4) show-me-more (set)
> 5) date-tool
> I was wondering if this plugin functionality still is available for
the
> above plugins with blojsom 3? I see a database table called Plugin
which
> seems to set-up the specific plugins per blog (blogId).
> Yet, in the case of page and show-me-more theses plugins have
additional
> property files specific to the plugin
> (ie... pager.properties & showmemore.properties)
>
> If functionality still exists for about mentioned plugins? do we still
use
> the two above *.properties files as opposed to a database table?
>
> Will simply adding the following to  blojsom-plugin.xml  then setup
the

> plugins to work and evenually can be added to a specific blog?
>
> <bean id="bookmarklet"
>        class="org.blojsom.plugin.admin.BookmarkletPlugin"
>          init-method="init"
>           destroy-method="destroy"/>
>
> <bean id="pager"
>        class="com.mbledug.blojsom.plugin.pager.FilterPlugin"
>          init-method="init"
>           destroy-method="destroy"/>
>
> <bean id="param2ctx"
>        class="com.mbledug.blojsom.plugin.param2ctx.Param2CtxPlugin"
>          init-method="init"
>           destroy-method="destroy"/>
>
> <bean id="show-me-more"
>        class="org.blojsom.plugin.showmore.ShowMeMorePlugin"
>          init-method="init"
>           destroy-method="destroy"/>
>
> <bean id="show-me-more-admin"
>        class="org.blojsom.plugin.showmore.admin.ShowMeMoreAdminPlugin"
>          init-method="init"
>           destroy-method="destroy"/>
>
> <bean id="date-tool"
>        class="org.apache.velocity.tools.generic.DateTool "
>          init-method="init"
>           destroy-method="destroy"/>
>
>
> Thank You
>
> Dan

--
David Czarnecki

http://www.blojsom.com/blog/ | http://blojsom.sf.net



------------------------------------------------------------------------
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE
V
_______________________________________________
Blojsom-developers mailing list
Blojsom-developers@...
https://lists.sourceforge.net/lists/listinfo/blojsom-developers

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Blojsom-developers mailing list
Blojsom-developers@...
https://lists.sourceforge.net/lists/listinfo/blojsom-developers

 « Return to Thread: blojsom 3 plugins (show-me-more,pager,bookmarlet,param2ctx)