TagSupplementals PluginSupplemental "tag" features for Movable Type 4.2. Current version of TagSupplementals plugin only supports MT 4.2+. Older versions which support MT 3.3, 4.0, and 4.1 will be available from here. Changes
OverviewMovable Type support tagging features natively. But I think it is not so convenient because of the lack of varieties of the features for handling tags. TagSupplementals Plugin is intended to provide supplemental features, in addition to the standard MT tags for tagging. And now it provides the following MT tags:
How To Install
Available Template Tags and FiltersMTEntryTagsCount variable tagShows the number of tags which current entry has. OptionsNothing. Examples<MTEntries> Tag Count: <$MTEntryTagsCount$> </MTEntries> MTRelatedEntries container tagA container tag for listing entries related to the current entry. MTRelatedEntries calculates ''relevance'' between the current entry and each other entries, based on weighted sum of co-occured tags, and then listed entries which have the highest total ''relevance''s. This container can only be used in "entry context" which means "the inside of MTEntries" or Individual Archives. Options
ExamplesTo list 10 most related entries for the current entry: <MTEntries lastn="10">
<h2><a href="<$MTEntryPermalink$>"><$MTEntryTitle$></a></h2>
<$MTEntryBody$>
<ul>
<MTRelatedEntries lastn="10">
<li><a href="<$MTEntryPermalink$>"><$MTEntryTitle$></a></li>
</MTRelatedEntries>
</ul>
</MTEntries>MTRelatedTags container tagA container tag for listing tags related to the current tag. The relationship between tags is defined by how many common entries includes them. This container can only be used in "tag context" which means the inside of MTTags, MTEntryTags, or MTXSearchTags. Option(s)
ExampleTo list tags of the entries and their related tags, and to link all of them to Technorati: <MTEntries lastn="10">
<h2><$MTEntryTitle$></h2>
<ul>
<MTEntryTags>
<li><a href="http://www.technorati.com/tag/<$MTTagName encode_url="1"$>"
rel="TAG"><$MTTagName$></a>
<ul>
<MTRelatedTags>
<li><a href="http://www.technorati.com/tag/<$MTTagName encode_url="1"$>"
rel="TAG"><$MTTagName$></a></li>
</MTRelatedTags>
</ul>
</li>
</MTEntryTags>
</ul>
<$MTEntryBody$>
</MTEntries>MTArchiveTags container tagA container tag for listing tags of entries included in the current archive. This container can only be used in dated-based archives and category archives. Option(s)
ExampleTo list tags of entries included in the current archive, and to link all of them to Technorati: <h2>Tags in this archive</h2>
<ul>
<MTArchiveTags>
<li><a href="http://www.technorati.com/tag/<$MTTagName encode_url="1"$>"
rel="TAG"><$MTTagName$></a></li>
</MTArchiveTags>MTTagLastUpdated variable tagShows the last date the tag added. Option(s)As well as MTEntryDate, "format", "language", and "utc" options are avaiable. Example<ul> <MTEntryTags> <li><$MTTagName$> (<$MTTagLastUpdated$>)</li> </MTEntryTags> </ul> encode_urlplus global filterA variation of encode_url filter. First this filter converts whitespaces of the target string into '+'s, and then converts it into URL-safe string. ExampleWhen generating URL strings, encode_urlplus can replace encode_url like as follows:
</mtentrytags>
MTSearchTags container tagA container tag for listing the query string of MT-Search as tags. It can only be used in "Search Results" Template. Option(s)
ExampleTo list tags given by the query string of MT-Search and their related tags, and to link them to Technorati: <MTSearchTags>
<h2><$MTTagName$></h2>
<ul>
<MTRelatedTags>
<li><a href="http://www.technorati.com/tag/<$MTTagName encode_url="1"$>"
rel="TAG"><$MTTagName$></a></li>
</MTRelatedTags>
</ul>
</MTSearchTags>MTXSearchTags container tag''This tag requires to install MT-XSearch.'' A container tag for listing the query string of MT-XSearch as tags. It can only be used in "MT-XSearch" Template. Option(s)
ExampleTo list tags given by the query string of MT-XSearch and their related tags, and to link them to Technorati: <MTXSearchTags>
<h2><$MTTagName$></h2>
<ul>
<MTRelatedTags>
<li><a href="http://www.technorati.com/tag/<$MTTagName encode_url="1"$>"
rel="TAG"><$MTTagName$></a></li>
</MTRelatedTags>
</ul>
</MTXSearchTags>MTTagXSearchLink variable tag''This tag requires to install MT-XSearch.'' A variable tag for the tag search URL by using MT-XSearch. In short, it is an alternative variable tag of MTTagSearchLink for MT-XSearch. Option(s)Nothing. Example<ul> <MTEntryTags> <li><a href="<$MTTagXSearchLink$>"><$MTTagName$></a> </MTEntryTags> </ul> MT-XSearch supportTBD See AlsoLicenseThis code is released under the Artistic License. The terms of the Artistic License are described at http://www.perl.com/language/misc/Artistic.html. Author & CopyrightCopyright 2006-2009, Hirotaka Ogawa (hirotaka.ogawa at gmail.com) |
hi there,
does this plug-in work with MT5?
Building on Stefan's comment ...
The plug-in looks installed just fine in the dashboard. But when I go to publish a new entry (in MT 5), I get this error: "An error occurred. HTTP::Message content not bytes"
Despite that error message, the entry does get built, and it does add related entries just like it used to.
I don't know if other parts of the script are failing, since Related Entries is all I use.
One more thought: The script may also be causing entries to duplicate themselves when I rebuild them.
sortable_categories v.0.2 "Bareword "POSIX::INT_MAX" not allowed while "strict subs" in use at mt/plugins/SortableCategories/sortable_categories.pl line 41.
Solution: change "POSIX::INT_MAX," on line 41 to "POSIX::INT_MAX(),".