List Info

Thread: Technorati tags in feeds?




Technorati tags in feeds?
user name
2006-02-15 21:17:38
 Hi David,

I did restart the server, but that didn't help.  As if the
thing wasn't registered.  I'm now just printing the raw
$technoratiTag without URL-encoding it...

Otis
 
----- Original Message ---- 
From: David Czarnecki  
To: blojsom-users mailing list  
Sent: Wednesday, February 15, 2006 4:05:19 PM 
Subject: Re: [Blojsom-users] Technorati tags in feeds? 
 
Re: [Blojsom-users] Technorati tags in feeds?    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"  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-blojsomyahoo.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.StringUtilitiesP
lugin 
  
 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-blojsomyahoo.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-blojsomyahoo.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($technoratiTa
g)  
  
 I am running Blojsom 2.29 and I do have this in my
blojsom/WEB-INF/plugin/properties: 
 string-utilities=org.blojsom.plugin.common.StringUtilitiesP
lugin 
  
 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&bid=230486&dat=121642
>  
 _______________________________________________ 
 Blojsom-users mailing list 
 Blojsom-userslists.sourceforge.net 
 https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers 
  
  
  
  
 --  
 David Czarnecki 
  
 http://www.blojsom.com/b
log/ | http://blojsom.sf.net 
   
 




-------------------------------------------------------
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
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
Technorati tags in feeds?
user name
2006-02-15 21:28:49
I guess you could also chain multiple .replaceAll calls to
the end of
$technoratiTag like:

$technoratiTag.replaceAll("&",
"&amp;").replaceAll("<",
"&lt;").replaceAll(">",
"&gt;")


On 2/15/06 4:17 PM, "ogjunk-blojsomyahoo.com" <ogjunk-blojsomyahoo.com>
wrote:

>  Hi David,
> 
> I did restart the server, but that didn't help.  As if
the thing wasn't
> registered.  I'm now just printing the raw
$technoratiTag without URL-encoding
> it...
> 
> Otis
>  
> ----- Original Message ----
> From: David Czarnecki
> To: blojsom-users mailing list
> Sent: Wednesday, February 15, 2006 4:05:19 PM
> Subject: Re: [Blojsom-users] Technorati tags in feeds?
>  
> Re: [Blojsom-users] Technorati tags in feeds?    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" 
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-blojsomyahoo.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.StringUtilitiesPl
ugin
>   
>  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-blojsomyahoo.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-blojsomyahoo.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.StringUtilitiesPl
ugin
>   
>  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&bid=230486&dat=121642
>
>  _______________________________________________
>  Blojsom-users mailing list
>  Blojsom-userslists.sourceforge.net
>  https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
>   
>   
>   
>   
>  --  
>  David Czarnecki 
>   
>  http://www.blojsom.com/b
log/ | http://blojsom.sf.net
>    
>  
> 
> 
> 
> 
> -------------------------------------------------------
> 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
> _______________________________________________
> Blojsom-users mailing list
> Blojsom-userslists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers

-- 
David Czarnecki

http://www.blojsom.com/b
log/ | http://blojsom.sf.net




-------------------------------------------------------
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
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )