« A Cthulhu Christmas | Main | Plugin Forums »

December 17, 2002

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

Posted by rayners at December 17, 2002 02:34 PM

Trackback Pings

TrackBack URL for this entry:
http://mt.rayners.org/mt-tb.cgi/102

Listed below are links to weblogs that reference MTRelatedEntries ByKeyword:

» Related Keywords from Kalsey Consulting Group :: Measure Twice
An undocumented feature of the Related Entries plugin for Movable Type. [Read More]

Tracked on December 17, 2002 02:30 PM

» Cross Reading from Frankly, I'd Rather Not
First, the BlogShares plugin from David Raynes. I love how these plugins are created and released... [Read More]

Tracked on April 16, 2003 01:34 AM

» Related entries by birth from Vazdot - Rants from Japan
I have too much time on my hands. This is not new information to anyone. This time I decided to... [Read More]

Tracked on April 20, 2003 06:09 AM

» Related entries by birth from Vazdot - Rants from Japan
I have too much time on my hands. This is not new information to anyone. This time I decided to... [Read More]

Tracked on April 20, 2003 06:14 AM

» Related entries by birth from Vazdot - Rants from Japan
I have too much time on my hands. This is not new information to anyone. This time I decided to... [Read More]

Tracked on April 20, 2003 10:10 PM

» Related entries by birth from Vazdot - Rants from Japan
I have too much time on my hands. This is not new information to anyone. This time I decided to... [Read More]

Tracked on April 21, 2003 12:18 AM

» use keywords to help users find related entries from Al-Muhajabah's Movable Type Tips
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]

Tracked on May 21, 2003 12:00 AM

» use keywords to help users find related entries from Al-Muhajabah's Movable Type Tips
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]

Tracked on May 21, 2003 12:01 AM

» Updating past posts from Fragments
I just posted some additional information about a subject I touched upon before in my weblog (Diderot's Voyage of Bougainville).... [Read More]

Tracked on June 8, 2003 09:09 AM

» Updating past posts from Fragments
I just posted some additional information about a subject I touched upon before in my weblog (Diderot's Voyage of Bougainville).... [Read More]

Tracked on June 8, 2003 09:13 AM

» Updating past posts from Fragments
I just posted some additional information about a subject I touched upon before in my weblog (Diderot's Voyage of Bougainville).... [Read More]

Tracked on June 8, 2003 09:14 AM

» Updating past posts from Fragments
I just posted some additional information about a subject I touched upon before in my weblog (Diderot's Voyage of Bougainville).... [Read More]

Tracked on June 10, 2003 04:42 AM

» Asterisk* FAQs from asterisk*
Thanks to everyone who asked me a question and helped out with my experiment. It went well and I've decided [Read More]

Tracked on December 8, 2003 01:54 PM

» Movable Type For Policies & Procedures from asterisk*
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]

Tracked on January 22, 2004 03:41 PM

» XFN Friendly Link List With Movable Type from asterisk*
There are many ways to use Movable Type to create a link list or blog roll. Jon Hicks has a... [Read More]

Tracked on January 30, 2004 03:38 PM

» Credits from About
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]

Tracked on February 28, 2004 01:30 AM

» Credits from About
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]

Tracked on February 28, 2004 01:31 AM

» Credits from About
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]

Tracked on February 28, 2004 10:58 AM

» use keywords to help users find related entries from Al-Muhajabah's Movable Type Tips
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]

Tracked on February 28, 2004 07:30 PM

» Portfolio pages as a photoblog from A View From Home
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]

Tracked on April 26, 2004 01:27 AM

» Analisando logs de busca from Usabilidoido
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 nmero de buscas aumentou 5 vezes. Esse negcio de seguir padres realmente til, hein? Tinha colocado... [Read More]

Tracked on June 14, 2004 09:47 AM

» ††Entries的追加 from 生活像啤酒一樣苦 像巧克力一樣的甜
發表的文章多了,†容相關的文章一定有很多,發表新的Entries的時候,將過去的相關的Entries也能自動的表示出來的plugin很有意思。 在Individual的<head>下追加下面一段關于keywords的代碼(如已經... [Read More]

Tracked on June 25, 2004 09:37 AM

» 关联Entries的追加 from 生活像啤酒一樣苦 像巧克力一樣的甜
發表的文章多了,內容相關的文章一定有很多,發表新的Entries的時候,將過去的相關的Entries也能自動的表示出來的plugin很有意思。我將設置方法簡單介紹如下: 在Individual的<head>下追加下面一... [Read More]

Tracked on August 12, 2004 10:46 PM

» 关联Entries的追加 from 生活像啤酒一樣苦 像巧克力一樣的甜
發表的文章多了,內容相關的文章一定有很多,發表新的Entries的時候,將過去的相關的Entries也能自動的表示出來的plugin很有意思。我將設置方法簡單介紹如下:... [Read More]

Tracked on August 21, 2004 06:23 AM

» 关联Entries的追加 from CATHOME01.COM
發表的文章多了,〓容相關的文章一定有很多,發表新的Entries的時候,將過去的... [Read More]

Tracked on November 16, 2004 10:20 AM

» MT安装笔记:初始化和安全配置 from 车东BLOG
参考了UDOO的51.net上的MT安装备忘,略有改动。 网站发布系统在设计上最重要的就是良好引用(well referenced),良好组织(well organized),良好导航(with easy... [Read More]

Tracked on December 5, 2004 01:09 AM

» MT安装笔记:初始化和安全配置 from 车东BLOG
参考了UDOO的51.net上的MT安装备忘,略有改动。 网站发布系统在设计上最重要的就是良好引用(well referenced),良好组织(well organized),良好导航(with easy... [Read More]

Tracked on December 5, 2004 01:13 AM

» MT安装笔记:初始化和安全配置 from 车东BLOG
参考了UDOO的51.net上的MT安装备忘,略有改动。 网站发布系统在设计上最重要的就是良好引用(well referenced),良好组织(well organized),良好导航(with easy... [Read More]

Tracked on December 5, 2004 01:16 AM

» MT安装笔记:初始化和安全配置 from 车东BLOG
参考了UDOO的51.net上的MT安装备忘,略有改动。 网站发布系统在设计上最重要的就是良好引用(well referenced),良好组织(well organized),良好导航(with easy... [Read More]

Tracked on January 2, 2005 01:45 AM

» semantic links added from silk and spinach
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]

Tracked on January 13, 2005 05:12 AM

» 2005/02/09の作業記録 from shorttrack.jp - ショートトラック情報
先日トラックバックしていただいた、skyarc さんのかけだし社長のビジネス奮闘記ブログをみていて、もう少し本格的にSEO対策してみようと思い立ち、やってみた。具体的には、meta タグの... [Read More]

Tracked on February 9, 2005 09:15 AM

» Algunos plugins interesantes para Movable Type from Microsiervos
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]

Tracked on March 22, 2005 06:30 AM

» Algunos plugins interesantes para Movable Type from Microsiervos
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]

Tracked on March 22, 2005 06:31 AM

» Algunos plugins interesantes para Movable Type from Microsiervos
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]

Tracked on March 22, 2005 06:31 AM

» Algunos plugins interesantes para Movable Type from Microsiervos
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]

Tracked on March 22, 2005 06:35 AM

» Algunos plugins interesantes para Movable Type from Microsiervos
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]

Tracked on March 22, 2005 06:36 AM

» 自动摘要/分类技术:将每次浏览都变成搜索 from 车东[Blog^2]
卢亮最近忙什么呢?BLOG也很久没更新了。上周的一次小聚才了解到:原来他一直在准备自动类聚技术,利用自动类聚技术改进一些现有BLOG发布系统的关联机制: 1 文章的自动分类: 实现类似... [Read More]

Tracked on July 17, 2005 10:27 AM

Comments

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

Posted by: Adam Kalsey at December 17, 2002 02:11 PM

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)

Posted by: hezair at February 9, 2003 02:03 PM

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. .

Posted by: Kevin at February 18, 2003 04:30 AM

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.

Posted by: dimitrisp at March 24, 2003 01:26 PM

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...

Posted by: Akos Maroy at December 4, 2004 02:57 PM

Post a comment




Remember Me?

(you may use HTML tags for style)