MTRelatedEntries ByKeyword

*UPDATE: I have just been informed that the Related Entries plugin already does this; it's just not documented at the site. You can use it like this:

<MTRelatedEntries field="keywords">
        <MTEntries lastn="3"> 
	        <p><a href="<MTEntryLink>"><MTEntryTitle></a> -
<i><$MTEntryDate format="%b %d, %Y"$></i></p>
        </MTEntries> 
</MTRelatedEntries>

Prompted by a thread on the MT Support Forums , I wrote yet another plugin.

Here's an example of how you can use it:

<MTEntries lastn="6">
<$MTEntryTitle$>
<ul>
    <MTRelatedEntriesByKeyword>
    <MTEntries lastn="5">
    <li><$MTEntryTitle$></li>
    </MTEntries>
    </MTRelatedEntriesByKeyword>
</ul>
</MTEntries>

Download relatedkeyword.tar.gz or relatedkeyword.zip, unpack it, and place relatedkeyword.pl in your plugins directory.

MTRelatedEntriesByKeyword

  • Acts exactly like the MTRelatedEntries plugin
  • Keyword note: this plugin assumes all keywords are stored as single "words" seperated by whitespace (e.q. 'plugins', 'computers', and 'movable_type' are keywords it sees, whereas 'movable type' is seen as 'movable' and 'type')

ChangeLog

  • Version 0.1: First version

38 TrackBacks

Related Keywords from Kalsey Consulting Group :: Measure Twice on December 17, 2002 2:30 PM

An undocumented feature of the Related Entries plugin for Movable Type. Read More

Cross Reading from Frankly, I'd Rather Not on April 16, 2003 1:34 AM

First, the BlogShares plugin from David Raynes. I love how these plugins are created and released... Read More

Related entries by birth from Vazdot - Rants from Japan on April 20, 2003 6:09 AM

I have too much time on my hands. This is not new information to anyone. This time I decided to... Read More

Related entries by birth from Vazdot - Rants from Japan on April 20, 2003 6:14 AM

I have too much time on my hands. This is not new information to anyone. This time I decided to... Read More

Related entries by birth from Vazdot - Rants from Japan on April 20, 2003 10:10 PM

I have too much time on my hands. This is not new information to anyone. This time I decided to... Read More

Related entries by birth from Vazdot - Rants from Japan on April 21, 2003 12:18 AM

I have too much time on my hands. This is not new information to anyone. This time I decided to... Read More

MT allows you to set some keywords for each entry (if you don't see a keywords field when you go to add a new entry, use the "customize the display of this page" link to add it). Using the Related... Read More

MT allows you to set some keywords for each entry (if you don't see a keywords field when you go to add a new entry, use the "customize the display of this page" link to add it). Using the Related... Read More

I just posted some additional information about a subject I touched upon before in my weblog (Diderot's Voyage of Bougainville).... Read More

I just posted some additional information about a subject I touched upon before in my weblog (Diderot's Voyage of Bougainville).... Read More

I just posted some additional information about a subject I touched upon before in my weblog (Diderot's Voyage of Bougainville).... Read More

I just posted some additional information about a subject I touched upon before in my weblog (Diderot's Voyage of Bougainville).... Read More

Thanks to everyone who asked me a question and helped out with my experiment. It went well and I've decided Read More

I've had quite a few requests for details and screenshots of the hospital's new Movable Type intranet. I'm going to... Read More

There are many ways to use Movable Type to create a link list or blog roll. Jon Hicks has a... Read More

Who and what helped me in my quest for the best look, feel and experience. (I'm talking about this site, not Viagra!) Read More

Who and what helped me in my quest for the best look, feel and experience. (I'm talking about this site, not Viagra!) Read More

Who and what helped me in my quest for the best look, feel and experience. (I'm talking about this site, not Viagra!) Read More

MT allows you to set some keywords for each entry (if you don't see a keywords field when you go to add a new entry, use the "customize the display of this page" link to add it). Using the Related... Read More

I've started moving the content from the former HTML Dreamweaver templated portfolio pages to the new, entirely in MovableType layout. However, I've done more than just move content, I've implemented some plug-ins and features that you might find inter... Read More

Sempre acompanho o registro de todas as buscas que foram feitas nesse blog, mas desde que coloquei a caixa de busca lá em cima, no canto direito, o número de buscas aumentou 5 vezes. Esse negócio de seguir padrões é realmente útil, hein? Tinha colocado... Read More

††Entries的追加 from 生活像啤酒一樣苦 像巧克力一樣的甜 on June 25, 2004 9:37 AM

發表的文章多了,†容相關的文章一定有很多,發表新的Entries的時候,將過去的相關的Entries也能自動的表示出來的plugin很有意思。 在Individual的<head>下追加下面一段關于keywords的代碼(如已經æœ... Read More

关联Entries的追加 from 生活像啤酒一樣苦 像巧克力一樣的甜 on August 12, 2004 10:46 PM

發表的文章多了,內容相關的文章一定有很多,發表新的Entries的時候,將過去的相關的Entries也能自動的表示出來的plugin很有意思。我將設置方法簡單介紹如下: 在Individual的<head>下追加下面一æ... Read More

关联Entries的追加 from 生活像啤酒一樣苦 像巧克力一樣的甜 on August 21, 2004 6:23 AM

發表的文章多了,內容相關的文章一定有很多,發表新的Entries的時候,將過去的相關的Entries也能自動的表示出來的plugin很有意思。我將設置方法簡單介紹如下:... Read More

發表的文章多了,〓容相關的文章一定有很多,發表新的Entries的時候,將過去的... Read More

参考了UDOO的51.net上的MT安装备忘,略有改动。 网站发布系统在设计上最重要的就是良好引用(well referenced),良好组织(well organized),良好导航(with easy... Read More

参考了UDOO的51.net上的MT安装备忘,略有改动。 网站发布系统在设计上最重要的就是良好引用(well referenced),良好组织(well organized),良好导航(with easy... Read More

参考了UDOO的51.net上的MT安装备忘,略有改动。 网站发布系统在设计上最重要的就是良好引用(well referenced),良好组织(well organized),良好导航(with easy... Read More

参考了UDOO的51.net上的MT安装备忘,略有改动。 网站发布系统在设计上最重要的就是良好引用(well referenced),良好组织(well organized),良好导航(with easy... Read More

I'm basically an analyst. I've developed domain models for numerous different types of business, and latterly as an agile coach I've done a deal of process analysis too. In these roles I've... Read More

2005/02/09の作業記録 from shorttrack.jp - ショートトラック情報 on February 9, 2005 9:15 AM

先日トラックバックしていただいた、skyarc さんのかけだし社長のビジネス奮闘記ブログをみていて、もう少し本格的にSEO対策してみようと思い立ち、やってみた。具体的には、meta タグの... Read More

Aunque existen multitud de plugins disponibles para Movable Type que potencian todavía su versatilidad esta breve lista está hecha con el único criterio de incluir aquellos plugins que realmente he necesitado utilizar en alguna instalaci... Read More

Aunque existen multitud de plugins disponibles para Movable Type que potencian todavía su versatilidad esta breve lista está hecha con el único criterio de incluir aquellos plugins que realmente he necesitado utilizar en alguna instalaci... Read More

Aunque existen multitud de plugins disponibles para Movable Type que potencian todavía su versatilidad esta breve lista está hecha con el único criterio de incluir aquellos plugins que realmente he necesitado utilizar en alguna instalaci... Read More

Aunque existen multitud de plugins disponibles para Movable Type que potencian todavía su versatilidad esta breve lista está hecha con el único criterio de incluir aquellos plugins que realmente he necesitado utilizar en alguna instalaci... Read More

Aunque existen multitud de plugins disponibles para Movable Type que potencian todavía su versatilidad esta breve lista está hecha con el único criterio de incluir aquellos plugins que realmente he necesitado utilizar en alguna instalaci... Read More

卢亮最近忙什么呢?BLOG也很久没更新了。上周的一次小聚才了解到:原来他一直在准备自动类聚技术,利用自动类聚技术改进一些现有BLOG发布系统的关联机制: 1 文章的自动分类: 实现类似... Read More

查到chedong上的运用MT TAG的一篇文章.....提供类似文章这个功能.... 曾经介绍过给自己的Blog加上Y!Q用于在互联网上搜索搜索相关文章http://www.chedong.com/blog/archives/000910.html,但目前Y!Q对于中文的支... Read More

6 Comments

Related Entries already does this, it's just not documented.

one thing i wish, is that it would list which 'keyword' that link was related to...
or actually listed all the keywords, then placed a link on the keyword if there were related entries for that keyword.

categories does *something* like that, but, it is not as transparent in the MT interface. (you can only see the primary category in the drop down menu, and this also affect category archiving, when you may not want a full category archive for each keyword)

It would be great is if this plugin could (optionally) sort matching entries by relevance. i.e. if you have an entry that has 5 keywords, and another entry with the same 5 keywords, that is a 100% match. If you have a third entry with 3/5 keywords, that is a 60% match to either of the first two, etc. This percentage should be exposed through some tag, i.e. .

One usefull spinoff would be to have a tag to filter entries by keyword. Just like this plugin but outside the context of a specific entry.

MTFilterEntries keyword="selected"
MTEntries lastn="3"
blah blah
/MTEntries
/MTFilterEntries

MTRelatedEntries does that in the context of an individual archive. What I would like to be able to do is set a keyword "selected" to specific entries and have them popup on the main index page.

I was just wondering how easy would it make to create a plugin, that works similar to the category-based archive listing, but only based on keywords.

This is something similar to what dimitri is proposing in his previous note...

Can this work (i know i know, we are in 2006) with dynamic publishing in MT 3.2 ?

Leave a comment

About Me

I am a software developer for Six Apart living outside of Baltimore, MD. I have written a number of plugins for Movable Type, including the award winning MultiBlog, which has (as of MT 4) been integrated into the base application....
More...

Recent Entries

  • Minimalist plugins are fun!

    Last night I whipped up one of the smallest plugins I’ve ever written. It is so small in fact that I was able to stuff...

  • Feedburner Widget on MT News

    Movable Type News A WordPress 2.5 Upgrade Guide: And of course there are lots of third-party plugins for the MT dashboard, to integrate statistics and...

  • AD&D Monster Stats for the Presidential Canditates

    Charles Stross (scifi author, D&D nerd, and former perl columnist) posted Politics as she is Played with 3d6: The recent death of Gary Gygax, who...

  • Feedburner Widget 0.3

    At this point, I am really tempted to drop the ‘Widget’ from the name of the plugin, since it is doing so much more...

  • Feedburner Widget 0.2

    So I finally got around to updating the FeedburnerWidget plugin for MT 4.1 (since I finally got around to upgrading my install to MT 4.1)....

Close