Skip to main content

By clicking Submit, you agree to the developerWorks terms of use.

The first time you sign into developerWorks, a profile is created for you. Select information in your developerWorks profile is displayed to the public, but you may edit the information at any time. Your first name, last name (unless you choose to hide them), and display name will accompany the content that you post.

All information submitted is secure.

  • Close [x]

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerworks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

By clicking Submit, you agree to the developerWorks terms of use.

All information submitted is secure.

  • Close [x]

Create a Yahoo! SearchMonkey application

Enhance your search result listings using RDF, XSLT and PHP

Rob Crowther (robert@crowther.info), Web developer, Freelance
Photo of Rob Crowther
Rob Crowther is a Web Developer from London and is currently moderator of the Exploring Semantic Web Technologies forum on developerWorks. He has a keen interest in Web Standards and blogs sporadically at http://www.boogdesign.com/b2evo/.

Summary:  SearchMonkey is one of the first attempts from a major search engine to make use of Semantic Web technologies to enhance search results. In this tutorial, you will implement a Yahoo! SearchMonkey application that enhances blogger.com search listings to include other information about the blog and blog owner. You will first implement a basic application using the default data available from Yahoo!. Then you will create a custom data service to provide your own structured data to SearchMonkey before you develop a more advanced application that takes advantage of this new custom data service.

Date:  14 Oct 2008
Level:  Intermediate PDF:  A4 and Letter (786 KB | 32 pages)Get Adobe® Reader®

Activity:  12708 views
Comments:  

Before you start

This tutorial is intended for Web application developers ready to create their first SearchMonkey application. Once you complete this tutorial, you will have a good understanding of the value SearchMonkey adds for users and site owners. You should be acquainted with basic PHP syntax and familiarity with DOM, XSLT and XPath will also be beneficial. For some introductory links, see Resources.

About this tutorial

Frequently used acronyms

  • DOM: Document Object Model
  • HTML: Hypertext Markup Language
  • PHP: PHP Hypertext Preprocessor
  • RDF: Resource Description Framework
  • URL: Uniform Resource Locator
  • W3C: World Wide Web Consortium
  • XHTML: Extensible Hypertext Markup Language
  • XML: Extensible Markup Language
  • XSL: Extensible Stylesheet Language Transformations

SearchMonkey is the first product from a mainstream search engine provider that takes advantage of Semantic Web technologies to enable you to produce more relevant search results and thus drive more traffic to your Web site. With common Web development technologies such as PHP, XSLT, and XPath, provide a better experience for searchers as you use structured data encoded in Web pages using Semantic Web standards such as Microformats, eRDF, and RDFa. In this tutorial you will:

  • Learn how SearchMonkey allows you to leverage existing Semantic Web content through presentation applications
  • Create a presentation application that enhances blogspot.com search results using the online wizard and some basic PHP
  • Build your own custom data service to pull further structured data from blogspot.com pages using XSLT, XPath, and the XPather Firefox Extension
  • Create a second presentation application that includes the data from your custom data service

Prerequisites

You will need the following tools to follow along with this tutorial:

1 of 7 | Next

Comments



Help: Update or add to My dW interests

What's this?

This little timesaver lets you update your My developerWorks profile with just one click! The general subject of this content (AIX and UNIX, Information Management, Lotus, Rational, Tivoli, WebSphere, Java, Linux, Open source, SOA and Web services, Web development, or XML) will be added to the interests section of your profile, if it's not there already. You only need to be logged in to My developerWorks.

And what's the point of adding your interests to your profile? That's how you find other users with the same interests as yours, and see what they're reading and contributing to the community. Your interests also help us recommend relevant developerWorks content to you.

View your My developerWorks profile

Return from help

Help: Remove from My dW interests

What's this?

Removing this interest does not alter your profile, but rather removes this piece of content from a list of all content for which you've indicated interest. In a future enhancement to My developerWorks, you'll be able to see a record of that content.

View your My developerWorks profile

Return from help

static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=XML, Open source
ArticleID=345577
TutorialTitle=Create a Yahoo! SearchMonkey application
publish-date=10142008
author1-email=robert@crowther.info
author1-email-cc=dwxed@us.ibm.com

Tags

Help
Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere).

My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Use the search field to find all types of content in My developerWorks with that tag. Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere). My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Special offers