|
List Info
Thread: Technorati tags in feeds?
|
|
| Technorati tags in feeds? |

|
2006-02-15 21:05:19 |
|
Yes, you will need to restart the application server after adding the plugin to /WEB-INF/plugin.properties to have the plugin loaded by blojsom on startup.
On 2/9/06 12:38 AM, "Cliffano Subagio" <cliffano gmail.com> wrote:
Hmm, that's odd (tm).
I tested your sample code with fresh blojsom.war 2.29, it works fine after string-utilities is added to the chain. I've also verified that the plugin's position within the chain isn't a problem.
FYI, in blojsom 2.29, string-utilities is available in blojsom's plugin.properties, but is not added in the default blog's plugin chain.
I assume you don't get any error message on the log.
Just to triple check, did you restart the server after modifying the properties? did you ctrl refresh when you view the page?
Cheers,
Cliff.
On 2/9/06, ogjunk-blojsom yahoo.com <ogjunk-blojsom yahoo.com yahoo.com"><mailto:ogjunk-blojsom yahoo.com> > wrote:
Hi Cliffano,
Ah, I really did not have it added to html.blojsom-plugin-chain for my blog. I added it now.
Unfortunately, that didn't help either.
The $technoratiTag variable is there, so it looks like $BLOJSOM_PLUGIN_STRING_UTILITIES is undefined...
This is what I have:
WEB-INF/plugin.properties:
...
string-utilities=org.blojsom.plugin.common.StringUtilitiesPlugin
WEB-INF/otis/plugin.properties:
...
html.blojsom-plugin-chain=technorati-tags, meta, date-format, referer-log, calendar-gui, calendar-filter, comment, trackback, sendemail, simple-search, limiter, emoticons, macro-expansion, days-since-posted, word-count, simple-obfuscation, nofollow, rss-enclosure, string-utilities
Thanks,
Otis
----- Original Message ----
From: Cliffano Subagio
To: "ogjunk-blojsom yahoo.com"
Cc: blojsom-users mailing list
Sent: Wed 08 Feb 2006 06:03:07 PM EST
Subject: Re: [Blojsom-users] Technorati tags in feeds?
Hi Otis,
Have you added string-utilities to html.blojsom-plugin-chain of your blog?
Another possibility is that if $technoratiTag variable doesn't exist, then you'll get $BLOJSOM_PLUGIN_STRING_UTILITIES.escapeString($technoratiTag) as is.
Cheers,
Cliff.
On 2/9/06, ogjunk-blojsom yahoo.com wrote:Hi Cliffano,
Thanks, that got me a step further. I forgot about calling Java methods in Velocity .
Unfortunately, now my loop outputs this for each $technoratiTag:
$BLOJSOM_PLUGIN_STRING_UTILITIES.escapeString($technoratiTag)
I am running Blojsom 2.29 and I do have this in my blojsom/WEB-INF/plugin/properties:
string-utilities=org.blojsom.plugin.common.StringUtilitiesPlugin
And I did see during the webapp startup:
2006-02-08 10:27:51,019 INFO [ org.blojsom.servlet.BlojsomServlet] Added blojsom plugin: org.blojsom.plugin.common.StringUtilitiesPlugin
Any idea why the _expression is not evaluated and is being printed literally?
Thanks,
Otis
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&amp;bid=230486&dat=121642>
_______________________________________________
Blojsom-users mailing list
Blojsom-users lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-users
--
David Czarnecki
http://www.blojsom.com/blog/ | http://blojsom.sf.net
|
[1]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|