All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.tagcloud.tld Maven / Gradle / Ivy

There is a newer version: 5.0.10
Show newest version


  TagCloud tag library
  TagCloud tags
  1.1
  tagcloud
  http://net.sourceforge.openutils/mgnlTagCloud
  
    tagcloud
    /META-INF/tags/tagcloud/tagcloud.tag
    TagCloud tag
    
    

    The following properties are supported:
    
Property Required Description
name false name of configured tagcloud
repository (default: "website") false name of repository
path (default: "/") false jcr path under which count tags
property (default: "tags") false name of nodedata in which tags are stored
count (default: 20) false number of tags to extract starting from most used to less used
cache (default: true) false if true the request for this tagcloud is cached and refreshed automatically on repository updates
orderby (default: "name asc") false specify tags order in the form "type[ asc|desc]" where type could be one of name, count.
Valid values are:
orderby="name" or orderby="name asc": sort by tag name ascending
orderby="name desc": sort by tag name descending
orderby="count" or orderby="count asc": sort by tag hits ascending
orderby="count desc": sort by tag hits descending
id false id of enclosing div element
cssclass (default: "tagcloud") false css class of enclosing div element
steps (default: 10) false used to compute how many different css class to apply to tag. For example if steps = 8 css classes applied to tags goes from "tagsize0" for tag with the lowest count to "tagsize8" for the tag with biggest count.
cssprefix (default: "tagsize") false set the name of css class applied to tag span element for size. For example if cssprefix = "sizeoftag" the result is ...<span class="tag sizeoftag8">mgnlMedia</span><span class="tag sizeoftag10">openutils</span>...
url false if url is not empty, a link element is created around each tag and the href links to url + tag.
For example if url = "http://www.google.com/search&q=" the result is ...<span class="tag tagsize8"><a href="http://www.google.com/search?q=mgnlMedia">mgnlMedia</a></span><span class="tag sizeoftag10"><a href="http://www.google.com/search?q=openutils">openutils</a></span>...
Using name attribute make tag to ignore repository, path, property, count and cache attributes. ]]>
]]>
named Get a tag cloud configured in adminCentral (which caches values and updates on repository operations) net.sourceforge.openutils.mgnltagcloud.el.TagCloudElFunctions info.util.Map named(java.lang.String) ${tag.key} ]]> cached Create a tag cloud, cache it, and link it to repository events for updates net.sourceforge.openutils.mgnltagcloud.el.TagCloudElFunctions info.util.Map cached(java.lang.String, java.lang.String, java.lang.String, int) ${tag.key} ]]> notcached Calculate tag cloud, without caching it. Each call to notcached will calculate tags from lucene indicies net.sourceforge.openutils.mgnltagcloud.el.TagCloudElFunctions info.util.Map notcached(java.lang.String, java.lang.String, java.lang.String, int) ${tag.key} ]]> props Get a map with some properties of passed tag cloud: min which holds the number of hits for the less used tag, max which holds the number of hits for the most used tag. Could be useful for normalization work. net.sourceforge.openutils.mgnltagcloud.el.TagCloudElFunctions info.util.Map props(java.util.Map) Minimum hits for a tag:
Maximum hits for a tag: ]]>
sortbyname Sort a tag cloud by tag names. If the second parameter is true, the sort order is ascending otherwise descending. net.sourceforge.openutils.mgnltagcloud.el.TagCloudElFunctions info.util.Map sortbyname(java.util.Map, boolean) ]]> sortbycount Sort a tag cloud by tag count. If the second parameter is true, the sort order is ascending otherwise descending. net.sourceforge.openutils.mgnltagcloud.el.TagCloudElFunctions info.util.Map sortbycount(java.util.Map, boolean) ]]>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy