Dashboard > blojsom 3.0 > ... > Plugins > Google Highlight Plugin
  blojsom 3.0 Log In   View a printable version of the current page.  
  Google Highlight Plugin
Added by David Czarnecki, last edited by David Czarnecki on Jun 19, 2007  (view change)
Labels: 
(None)

Description

The Google Highlight plugin will highlight words on your blog if the referrer came from a Google query.

Installation and Setup

In your /WEB-INF/classes/blojsom-plugins.xml file, add the following:

<bean id="googlehighlight" class="org.blojsom.plugin.highlight.GoogleHighlightPlugin" init-method="init"
          destroy-method="destroy"/>

Add the following to your CSS file you use for your blog.

.searchhighlight {
   background-color:#FFFF00;
   color: #000000;
}

You may then add "googlehighlight" to one of the flavor-based plugin chains.

Site running on a free Atlassian Confluence Open Source Project License granted to blojsom. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.4 Build:#809 Jun 12, 2007) - Bug/feature request - Contact Administrators