Categorization and folksomony application

Function: RenderWebTagCloudHitList

Renders the hit list in a WebTagCloud selection

Documentation

TODO

Parameters
  • QUERY
  • SKIP
  • LIMIT
  • PARAMS
  • HILITE

Css

Implementation

%STARTINCLUDE%
*~~
%~~ DBQUERY{"TopicType=~'\b(Tagged|Classified)Topic\b' %QUERY%"
~~~    web="%BASEWEB%"
~~~    sort="modified" 
~~~    limit="%IFDEFINED{"%LIMIT%" then="$test"}%" 
~~~    reverse="on" 
~~~    skip="%IFDEFINED{"%SKIP%" then="$test"}%"
~~~    header="<noautolink><div class=\"clsHitList\"> $n
~~~      | *Nr* | *Topic* | *Summary* | *Changed* | *By* |$n
~~~      $percntTABLE{tablewidth=\"100%\"}$percnt$n"
~~~    format="
~~~      | $index 
~~~      | <a href=\"%SCRIPTURLPATH{"view"}%/$web/$topic\" 
~~~         %IFDEFINEDTHEN{"%HILITE%" glue="off"}%
~~~           title=\"$expand(%HILITE%)\"
~~~           onmouseover=\"hiliteElements('$expand(%HILITE%)','hilite');\"
~~~           onmouseout=\"hiliteElements('%URLPARAM{"search"}%','current');\"
~~~         %FIDEFINED%
~~~         >$expand(TopicTitle or topic)</a>
~~~      | $flatten($expand(Summary or Text or 'no description'))
~~~      | <span style=\"white-space:nowrap\">$formatTime(info.date)</span>
~~~      | [[%MAINWEB%.$expand(info.author)][$expand(info.author)]]  
~~~      |"
~~~    footer="$n
~~~      $percntIFDEFINEDTHEN{\"%LIMIT%\" glue=\"off\"}$percnt
~~~        $percntDBCALL$nop{\"Applications.RenderPageNavigation\" 
~~~          SKIP=\"%IFDEFINED{"%SKIP%" then="$test"}%\" 
~~~          MAX=\"$count\"
~~~          LIMIT=\"%IFDEFINED{"%LIMIT%" then="$test"}%\"
~~~          PARAMS=\"%PARAMS%\"
~~~        }$percnt
~~~      $percntFIDEFINED$percnt
~~~      </div></noautolink>"
~~~ }%
~~~
%STOPINCLUDE%

Test

Nr Topic Summary Changed By
1 TestTopic0 foo bar 29 Feb 2008 - 09:02 TWikiContributor
2 TestTopic1 no description 04 Dec 2007 - 04:29 TWikiContributor

Calls to 'RenderWebTagCloudHitList'

Copyright

© 2007 Michael Daum http://wikiring.de

This file is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. For more details read the LICENSE.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY, to the extent permitted by law; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Applications.ApplicationTopic
TopicType: DocuTopic, TopicFunction
Summary: Renders the hit list in a WebTagCloud selection
TWikiApplication: ClassificationApp
r0 - 07 Nov 2007 - 15:13:27 - TWikiContributor
© giant orange extension cord that reeks hip-hop, funk & soul