PDA

View Full Version : integrating Yahoo's Term Search


meandean
08-07-2006, 07:45 AM
With memes and taggery all the rage in the world of aggregation today, I thought perhaps it might make sense at some point to expand NewsTopica with the ability for those possessing a Yahoo Application ID (http://api.search.yahoo.com/webservices/register_application) the ability to feed content and/or titles, first mopped-up with the php strip_tags() function (http://us3.php.net/strip_tags), through the Yahoo Term Extraction (http://developer.yahoo.com/search/content/V1/termExtraction.html) service?

I didn't find an example of how to use it via Yahoo's PHP Developer Center (http://developer.yahoo.com/php/) home page, I did find an example of it via their REST how-to page (http://developer.yahoo.com/php/howto-reqRestPhp.html). I also found a nice little PHP class (http://www.techbytes.co.in/blogs/2006/06/02/yahoo-term-extraction-api/) over at 'Tech Bytes' - which appears to be more error resiliant than this little wrapper snippet (http://www.wynia.org/wordpress/2005/09/07/yahoo-keyword-extractor/) I found over at 'The Glass is Too Big.'

Perhaps keywords could be stashed in a data table or two - to provide a technorati-like "what's hot" list based on post content?

Thoughts, anyone?