Site Moved

This site has been moved to a new location - Bin-Blog. All new post will appear at the new location.

Bin-Blog

Links Search - Interactive Sitemaps with JavaScript

Sitemaps generally tend to be a boring collection of links - useful - but boring. When I was working on the Sitemap for OpenJS, I wanted to make it more user friendly. As a result, I created the sitemap filter function. This function takes a few keywords from the user and searches the DOM structure for link texts matching the search term(s). If the search term is not found in a link, that links will be hidden from view. The result is a very cool searching script.

Code

The code is available in GPL. I have created the code as a Object Literal - so it should work with other scripts - unless you want to name a variable 'links_search'.

View source - JS file

Demo

Read More...

Links Search - Interactive Sitemaps

2 Comments:

freebird said...

good job. The function is pretty useful. I never thought about this before.

Sitebases Protocol said...

Sitebases, the next protocol after Sitemaps
It can save the time and press for the search engine, also for the websites.
It can bring new search engine that named Search Engine 2.0.
Using Sitebases protocol, will save 95% bandwidth above. It is another sample for long tail theory.
In this protocol, I suggested that all search engine can share their Big Sitebases each other, so the webmaster just need to submit their Sitebases to one Search Engine.
And I suggested that all search engines can open their search API for free and unlimited using.