Related posts 的实现计划


Related posts 的实现计划

Published on Sun 11 Jan 2009 08:01 ( 1 year, 7 months ago)
Blog Blog on blog 学习

Wordpress里一个很有用的plugin是related posts, 在GAE里如何实现类似的东西是我一直计划要做的。 粗略看了了几个评价不错的wordpress related posts插件发现他们都采用了mysql的全文检索的特性,一般通过subject, tags等来综合得出其他posts的relevant score, 这个在GAE里面恐怕现在是办不到的。

今天看到blogger related posts service, 在blogger.com的服务基础上提供一个简单related posts服务, 其原理是通过label, 应该就是tags吧,查询其他具有相同tags的post并根据拥有相同的tags的数量来评分。 这是个简单的方式,我过去想过类似的方式,但怀疑效果已经担心对于tag太多并且posts也太多的时候查询效率太低而一直没有实现。

通过看这个服务的用户的一些实例,发现其相关文章的效果还是很不错的,另外既然他是基于blogger的api检索并且在GAE上实现, 想必我在data store上应该没有理由实现不出理想的结果。

有没有同学构思出更好的GAE上实现related posts的方法呢?


Related posts:


Search related in web:

Custom Search

RSS Feed

One click subscribe this blog in your google reader!

Be social!


Want to say something here? please sign in



Blog posts link to this page
What are friends tweeting?
Tags cloud
Monthly Archives