Yahoo! Developer Network Blog
« Previous | Main | Next »
March 12, 2009
Search Monkey Announces Support for Video, Games, and More
The Yahoo! Search Blog has just posted about how SearchMonkey now allows the embedding of video, documents, and games on the Yahoo! Search results page. Here on the YDN blog, we'd like to highlight a couple of technical notes.
First, this new program represents a significant new feature for SearchMonkey. Up until now, site owners and developers have had to first get their structured data into the Yahoo! Search index, and then go to the SearchMonkey Developer Tool to create a presentation. With this launch, SearchMonkey is starting to provide default treatments for certain types of data. Yahoo! Search is essentially saying, "Here are some patterns of structured data that we understand and will present in a certain way." If you would like to override our default treatment, you can always use the SearchMonkey developer tool to build a custom presentation.
Second, when it comes to understanding patterns of structured data, our approach is that There's More Than One Way To Do It. For example, the announcement on the Yahoo! Search Blog illustrates how to mark up a video using Facebook Share markup:
<link rel="image_src" href="http://thumbnails.hulu.com/9/967/32912_145x80_generated__VfWxSNY3rESG1ntOzexNRQ.jpg" />
<link rel="video_src" href="http://www.hulu.com/embed/GREW9Qw0P7KjIyjJydQYRw" />
<meta name="video_height" content="296"/>
<meta name="video_width" content="512"/>
<meta name="description" content="Video description: Homer gets upset at a vending machine filled with apples."/>
<meta name="video_type" content="application/x-shockwave-flash"/>
But you can use W3C standard RDFa to do exactly the same thing, or even include additional data. Here's the equivalent markup in RDFa (namespace declarations omitted for clarity):
<link rel="media:thumbnail" href="http://thumbnails.hulu.com/9/967/32912_145x80_generated__VfWxSNY3rESG1ntOzexNRQ.jpg" />
<link rel="media:video" href="http://www.hulu.com/embed/GREW9Qw0P7KjIyjJydQYRw" />
<meta name="media:height" content="296"/>
<meta name="media:width" content="512"/>
<meta name="dc:description" content="Video description: Homer gets upset at a vending machine filled with apples."/>
<meta name="media:type" content="application/x-shockwave-flash"/>
In the documentation page for Video objects, we show yet another formulation of the RDFa — the RDFa we need is embedded directly in the
Finally, you can always provide structured data using a DataRSS XML feed. This method allows you to share structured data privately with Yahoo!, without having to touch your front end code. And of course, we're completely open to supporting additional patterns of markup that represent "a video," particularly if those patterns become popular and widely deployed.
With video, games, and documents, we've tried to deliberately keep these objects small and easy to understand. To define a video object, the minimum you need to provide is a video URL and a preview thumbnail URL. Adding more structured data will help us optimize your presentation, but to simply get any presentation at all requires just two pieces of information. We're hoping that kicking things off with these simple examples will help illustrate the power of providing even small amounts of structured data ... and help encourage web developers to dig deeper into the world of structured data. Meanwhile, we will continue to flesh out our support for vocabularies for other use cases. Let us know what you think!
Yahoo! SearchMonkey Team
Posted at March 12, 2009 9:01 AM | Permalink
Comments
Post a comment
Comment Policy: We encourage comments and look forward to hearing from you. Please note that Yahoo! may, in our sole discretion, remove comments if they are off topic, inappropriate, or otherwise violate our Terms of Service. Fields marked with asterisk '*' are required.
Subscribe
Recent Blog Articles
view all
YQL Open Table for Google Buzz now live
Tue, 09 Feb 2010
INSERT INTO twitter.status ...
Mon, 08 Feb 2010
Announcing the Yahoo! Brasil Open Hack Day 2010, 20-21 March
Mon, 08 Feb 2010
Marketing hacks, linchpins, and tech women of valor
Sun, 07 Feb 2010
Yahoo! India invites you to join the first India Hadoop Summit
Thu, 04 Feb 2010
Recent Links
Appcelerator Titanium + Yahoo YQL on Vimeo
Mon, 08 Feb 2010
Tue, 02 Feb 2010
PhoneGap | Cross platform mobile framework
Sat, 30 Jan 2010
Web developers can rule the iPad - O'Reilly Radar
Sat, 30 Jan 2010
rc3.org - Is the iPad the harbinger of doom for personal computing?
Thu, 28 Jan 2010
Archives
2010
2009
2008
2007
2006
2005
Recent Readers

