Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Item1918: added TAGSEARCH, made TAGCLOUD optional, added tagsplugin2 …
…skin git-svn-id: http://svn.foswiki.org/trunk/TagsPlugin@4686 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
- Loading branch information
OliverKrueger
authored and
OliverKrueger
committed
Aug 20, 2009
1 parent
d935864
commit 5b74ebd
Showing
12 changed files
with
394 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
%META:TOPICINFO{author="BaseUserMapping_333" date="1250720173" format="1.1" reprev="1.1" version="1.1"}% | ||
%TAGSEARCH{ | ||
query="tag" | ||
tag="%URLPARAM{"q"}%%" | ||
format="$tag" | ||
sep="$n" | ||
}% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
%META:TOPICINFO{author="BaseUserMapping_333" date="1250703240" format="1.1" reprev="1.4" version="1.4"}% | ||
<noautolink> | ||
|
||
---+++ list of everyone's tags on the current topic | ||
%TAGSEARCH{ web="%BASEWEB%" topic="%BASETOPIC%" }% | ||
|
||
---+++ list of %NOP%%WIKINAME%'s tags on the current topic | ||
%TAGSEARCH{ web="%BASEWEB%" topic="%BASETOPIC%" user="%WIKINAME%" }% | ||
|
||
---+++ tag cloud of everyone's tags | ||
%TAGCLOUD{ terms="$percntTAGSEARCH{ query=\"tag\" format=\"$tag:$count\" sep=\", \" }$percnt" }% | ||
|
||
---+++ tag cloud of everyone's tags on topic ?mytopic=%URLPARAM{"mytopic" default="undef"}% | ||
%TAGCLOUD{ terms="$percntTAGSEARCH{ query=\"tag\" topic=\"$percntURLPARAM{mytopic}$percnt\" format=\"$tag:$count\" sep=\", \" }$percnt" }% | ||
|
||
---+++ List of topics tagged with ?tag=%URLPARAM{tag}% (inverse tag lookup) | ||
%TAGSEARCH{ query="topic" tag="%URLPARAM{tag}%" }% | ||
|
||
---+++ Complete list by topics | ||
%TAGSEARCH{ | ||
query="topic" | ||
header="|*Tag*|*Topic*|*User*|$n" | ||
format="| $tag | [[$item][$item]] | $user |" | ||
sep="$n" | ||
}% | ||
</noautolink> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
# Dependencies for TagsPlugin | ||
Geo::GeoNames,,cpan,Optional | ||
Foswiki::Contrib::DbiContrib,,perl,Required | ||
Foswiki::Contrib::FamFamFamContrib,,perl,Optional | ||
Foswiki::Plugin::JQueryPlugin,,perl,Optional | ||
Foswiki::Plugin::TagCloudPlugin,,perl,Optional |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.