BOSS’s integration with SearchMonkey provides great structural data. However, it’s a bit tricky to get results filled with the appropriate data. This blog post from the search team introduces the new SearchMonkey query filters: Accessing SearchMonkey Structured Objects via BOSS.
The SearchMonkey team has been encouraging developers to use our structured data to build semantic Web applications ever since we partnered with BOSS. Using the BOSS API, you can access SearchMonkey structured objects.
To restrict the result set to pages with SearchMonkey objects, just add “searchmonkey:<objecttype>” to your query. The result set from BOSS will only contain URLs that have objects of that type.
Accessing SearchMonkey Structured Objects via BOSS
Here’s a list of SearchMonkey filters:
- searchmonkey:video – restricts the result set to videos.
- searchmonkey:product – restricts the result set to products.
- searchmonkey:local – restricts the result set to local businesses.
- searchmonkey:event – restricts the result set to events.
- searchmonkey:document – restricts the result set to presentations, spreadsheets, and similar document formats.
- searchmonkey:discussion – restricts the result set to blogs and forums.
- searchmonkey:game – restricts the result set to Flash games.
Here’s a sample search request for iPhone products:
http://boss.yahooapis.com/ysearch/web/v1/iphone+searchmonkey:product?appid=insert-your-appid&format=xml&start=0&count=15&view=keyterms,searchmonkey_rdf
Related articles by Zemanta
- See More SearchMonkey in Your Search Results (ysearchblog.com)
Programming PHP
Pro Web 2.0 Mashups: Remixing Data and Web Services (Expert's Voice in Web Development)
Learning the Yahoo! User Interface library: Develop your next generation web applications with the YUI JavaScript development library.
Kindle 2: Amazon's New Wireless Reading Device (Latest Generation)