4. Why SearchMonkey?
• Y! Search User
‐ get more rich informaHon and good user experiences
• Site Owner, Developer
‐ customized presentaHon and bring more traffic to their sites
11. Developer Side
• Go to Dev Tool
‐ hUp://developer.search.yahoo.com/
• PresentaHon Layer
‐ PresentaHon ApplicaHons are small PHP apps that display enhanced search
results using data services.
• Custom Data Services
‐ Data Services provide structured informaHon to display in Yahoo! Search
results.
• Data Feeds
‐ Data Feeds are XML feeds in SearchMonkey's naHve DataRSS format. Site
owners can submit structured data to Yahoo! Search for inclusion in the
Yahoo! Index.
12. Custom Data Services
• Data Services provide structured informaHon to display in Yahoo!
Search results.
• You can create a custom data service by calling an API or by
extracHng structured data from web pages.
• You can create a new data service, start with a sample data
service or import data service.
• Basic Info ‐> URLs ‐> Data ExtracHon ‐> ConfirmaHon
15. Step 3: Define your page extracHon rules
• Specify XSLT code for extracHng informaHon from the page and
represenHng that informaHon as DataRSS.
‐ XSLT is a language for transforming XML documents into other XML
documents.
‐ XSLT makes use of the expression language defined by XPATH for selecHng
elements for processing.
• For assistance with wriHng XPATH expressions, try the XPather
FireFox extension.
‐ hUps://addons.mozilla.org/en‐US/firefox/addon/1192
18. Create a New ApplicaHon
• PresentaHon ApplicaHons are small PHP apps that display
enhanced search results using data services.
• You can use an exisHng data service or create a custom service
below.
• You can create a new applicaHon, start with a sample applicaHon
or import applicaHon.
• Basic Info ‐> URLs ‐> Data Services ‐> Appearance ‐> ConfirmaHon
21. PresentaHon Templates (Infobar)
• Infobar
‐ An expandable pane beneath a search result that provides
addiHonal informaHon about the result.
‐ You can also use general HTML markup to create much more
customized Infobars.
26. Publish Your ApplicaHon
• Three basic version types
‐ Dev: private
‐ Sharable: useable by any logged‐in user
‐ Gallery: a repository of high‐quality applicaHons
• You also can use the ‘export’ and ‘import’ funcHons to share your
code with your colleagues.