Yeah, I have been thinking of of something similar for advertising sakes. One of the challenges that I ran into was adjusting razor's controller so it would make the search a replace at the correct places with the correct priority.
- Code: Select all
Keywords: enjoying fish, eating fish, fishing
- Code: Select all
This is an article about fish. Many enjoy it some loathe it, some just like enjoying fishing, or eating fish. I like fish. Thanks for the fish!!
Now one could use regular expressions, to sift through the page to find the patterns and then make them into links; yet the only problem would be overlapping, ranking the results, and linking them to external sources based on ranking... yikes!!
If all instances of the word fish went to somefishsite.com then that would be easy as pie; yet that is seldom the case.
Very interesting when it comes to writting code, but its also tricky. Like playing chess with yourself and knowing the next move your going to play, then trying to choose the best move.
I have looked at a few tag clouds for idea and its not impossible, yet I would like to play with razors controller to make the job easier or come up with a intermediate controller to search-sift-and-prioritize results based on key words. It would be interesting to hear your ideas about ranking the results.
~nolo