Wednesday, April 18, 2007

Searchable Blogger Labels 標籤搜尋




The problem with Blogger's label is after intensive usage it tends to grow to a size which is impossible to manage.

This Label Search function is an extension of Beautiful Beta's TOC widgets.
It will allow you to quick search any label you have.
Best of all is, this is case-sensitive partial search, so you can use 'Eng' or 'glis' it will all find 'English' for you.
Now all we need is an 'and' 'or' 'not' operand to this search..

ps. this opens a possibility of using my.favorite.photo as tag.
Since if you type in 'photo' the list will all the files containes
my.favorite.photo
2005.trip.photo
flower.photo.collected
it is much easy to chose from.
and if you are good , just type 'te.phot' you get 'my.favorite.photo'

Blogger標籤(labels) 最大的問題是經過大量的使用之後,標籤的數量變得龐大而且難以管理。
一如Google的作法,我擴充了Beautiful Beta的目錄原件(TOC Widget)增加了『標籤檢索』功能。
更重要的是,這個檢索是「部分檢索」因此鍵入「Chi」或「nes」都會讓你找到「Chinese」。
現在我們所需要的只是「或」「和」「非」等邏輯運算而已。

附註: 「部分檢索」提供了使用新標籤可能性。我們可以用 「my.favorite.photo」當標籤。
因為你只要鍵入「photo」就能找到以下的標籤
my.favorite.photo
2005.trip.photo
flower.photo.collected
標籤變得非常容易使用。
假如你真的要快的話,可以鍵入 「te.phot」 你就會找到 'my.favorite.photo'而不是其他的標籤。

<form action="#" name="label_search">
<input onkeyup=" javascript:filterPosts(document.label_search.target.value)"
name="target" type="TEXT"/>
</form>

No comments: