Show
Ignore:
Timestamp:
06/25/05 01:08:54 (4 years ago)
Author:
ogawa
Message:

Add encode_urlplus global filter and its documentation.
And fix typos and examle for MTEntryTags.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • tagwire/trunk/README.txt

    r95 r97  
    2323  separately. 
    2424 
    25 - Full-fleged support for tag handling: Tagwire provides various 
    26   functions including blog-wide/entry-wise tag listing and couting, 
     25- Full-fledged support for tag handling: Tagwire provides various 
     26  functions including blog-wide/entry-wise tag listing and counting, 
    2727  listing entries that have user-specified tags, and listing related 
    2828  entries. 
     
    8787* Option(s): 
    8888 
     89glue="glue" 
     90 
     91    Separates each of the tags with a string specified by "glue". 
     92    This is useful when you wish to separate the tag names with a 
     93    comma, for example. 
     94 
    8995sort_by="tag|tag-case|count" 
    9096 
     
    151157* Option(s): 
    152158 
     159glue="glue" 
     160 
     161    Separates each of the tags with a string specified by "glue". 
     162    This is useful when you wish to separate the tag names with a 
     163    comma, for example. 
     164 
    153165case_sensitive="0|1" 
    154166 
     
    168180  
    169181<ul> 
    170   <MTTags sort_by="count" sort_order="descend" lastn="10"> 
     182  <MTEntryTags> 
    171183  <li><a href="http://www.technorati.com/tag/<$MTTag encode_url="1"$>" 
    172184    rel="TAG" title="TAG:<$MTTag$>"><$MTTag$></a></li> 
    173   </MTTags> 
     185  </MTEntryTags> 
    174186</ul> 
    175187  
     
    270282</MTEntries> 
    271283 
     284--------------------- 
     285encode_urlplus Filter 
     286--------------------- 
     287 
     288A variation of encode_url filter. First this filter converts 
     289whitespaces of the target string into '+'s, and then converts it into 
     290URL-safe string. 
     291 
     292* Example: 
     293 
     294<ul> 
     295  <MTEntryTags> 
     296  <li><a href="http://www.technorati.com/tag/<$MTTag encode_urlplus="1"$>" 
     297    rel="TAG" title="TAG:<$MTTag$>"><$MTTag$></a></li> 
     298  </MTEntryTags> 
     299</ul> 
     300 
    272301 
    273302=============================