This shows you the differences between two versions of the page.
rotation_tags [2014/01/29 18:05] |
rotation_tags [2014/01/29 18:05] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Rotation Tags ====== | ||
+ | |||
+ | Each gallery has some tags. You can see a list of all tags in Rotation - Tags. | ||
+ | If you do not assign tags during Import of galleries - tags will be autocreated using words from gallery' | ||
+ | |||
+ | If a gallery has a tag , let's say ' | ||
+ | |||
+ | You can output a tag cloud , ie list of most used tags | ||
+ | |||
+ | < | ||
+ | |||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | |||
+ | </ | ||
+ | |||
+ | BUT | ||
+ | |||
+ | * only active tags will be included in this cloud (we don't want 10 000's of tags in this cloud) | ||
+ | * status ' | ||
+ | * you can replace tags. Lets say galleries can have 2 tags ' | ||
+ | |||
+ | |||
+ | Tag could: | ||
+ | * top 10% tags can be selected in Rotation - Tags | ||
+ | * Tags from Tags Blacklist | ||
+ | * is autogenerated every 30 minutes | ||
+ | |||
+ | |||
+ | ===== Whitelist ===== | ||
+ | |||
+ | Whitelist is basically a prefilter, ie only words from this list will be added added to gallery' | ||
+ | |||
+ | format | ||
+ | |||
+ | < | ||
+ | tag1 | ||
+ | tag2, | ||
+ | </ | ||
+ | |||
+ | ie if you add a gallery with tag " | ||
+ | |||
+ | There 2 special characters ^(beginning of the word) and $(end of the word). | ||
+ | |||
+ | For example: is you have a word ' | ||
+ | |||
+ | ===== Tags' thumbs===== | ||
+ | |||
+ | Script can select best thumb for each tag , this feature if off by default. You can turn it on in Rotation - Tube - Settings. | ||
+ | |||
+ | When tags' thumbs are created you can see them in Rotation - List thumbs. To output it | ||
+ | |||
+ | < | ||
+ | |||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | Best thumbs are selected for active tags only. | ||
+ | |||
+ | |||
+ | ===== Rotate Tag Thumbs | ||
+ | |||
+ | You can also rotate tags' thumb | ||
+ | |||
+ | < | ||
+ | |||
+ | < | ||
+ | <a target=_blank href='/ | ||
+ | </ | ||
+ | |||
+ | </ | ||
+ | |||
+ | To track those clicks you have to replace default rewrite | ||
+ | |||
+ | < | ||
+ | |||
+ | RewriteRule ^tag/(.*)/$ / | ||
+ | |||
+ | with | ||
+ | |||
+ | RewriteCond %{QUERY_STRING} ^(.+)$ | ||
+ | RewriteRule ^tag/(.*)/$ / | ||
+ | RewriteRule ^tag/(.*)/$ / | ||
+ | </ | ||