TWOHD_Search Monkey

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Notes on slide 1

    Us, uk have search monkey

    This app displays the main image and top-level table of contents associated with a Wikipedia article (if they exist for that article).

    XSLT makes use of the expression language defined by [XPath] for selecting elements for processing, for conditional processing and for generating text.

    Title — A string specifying the search result's title. The title appears at the top of the search result in a larger font, and provides the definitive link to the page itself. You can change the text of the title, but not the URL. Summary — A string specifying the search result's summary. The summary appears below the title and to the right of any thumbnail images or supplementary links. If you provide any key/value pairs, these start replacing the summary from the bottom up. Image — A thumbnail image that represents the search result. The thumbnail image appears below the title and to the left of the links, summary, and key/value pairs. Link — An HTML link that either provides more information about the search result, or indicates some sort of action the user can take. Links appear below the title and to the left of the summary and key/value pairs In an Enhanced Result. The URL links must belong to the host of the search result. Your application may include up to four supplementary links. Dict — A key/value pair that displays terse, structured information about the item in the search result, such as review ratings, technical specifications, or hours of operation. Your application may include up to four dictionary values. http://developer.yahoo.com/searchmonkey/smguide/presentation.html#fig_infobar_acme

    http://developer.yahoo.com/searchmonkey/smguide/pres_app_php.html

    http://developer.yahoo.com/searchmonkey/smguide/pres_app_php.html

    Three basic version types: dev (private application), sharable (useable by any logged-in user), gallery (a repository of high-quality applications that have gone through an approval process ) If you are developing in a team, use the Export and Import functions to share your code with your colleagues.

    Favorites, Groups & Events

    TWOHD_Search Monkey - Presentation Transcript

    1. Ange Oct. 1, 2009
    2. Agenda
      • What / Why Search Monkey
      • How does it work?
      • Examples
      • Developer Tool
    3. What is SearchMonkey?
      • Search Monkey is an open platform for using structured data to build more useful and relevant search results.
      • Query “Ang Lee” in Y! search
      • Before:
      • After:
    4. Why SearchMonkey?
      • Y! Search User
        • get more rich information and good user experiences
      • Site Owner, Developer
        • customized presentation and bring more traffic to their sites
    5. How does it work?
      • Site owners/publishers share structured data with Yahoo!
      • Site owners & third-party developers build SearchMonkey apps
      • Consumers customize their search experience with Enhanced Results or Infobars
    6. User Side (enable an application)
      • Choose a specific monkey from Search Gallery. http:// tw.gallery.search.yahoo.com /
      • Some apps are default for search.
    7. Search Gallery
    8. User Side (view and enable)
      • Login
      • Select an application
      • Preview the result
      • Save the selected application
      • Example: Wikipedia
    9. Query ‘ 哈利波特’ in Y! Search
    10. Developer Side
      • Go to Dev Tool
        • http://developer.search.yahoo.com/
      • Presentation Layer
        • Presentation Applications are small PHP apps that display enhanced search results using data services.
      • Custom Data Services
        • Data Services provide structured information to display in Yahoo! Search results.
      • Data Feeds
        • Data Feeds are XML feeds in SearchMonkey's native DataRSS format. Site owners can submit structured data to Yahoo! Search for inclusion in the Yahoo! Index.
    11. I want to build YouTube Monkey
      • Youtube presentation in Y! web search result:
      • http://tw.search.yahoo.com/search?p=%E5%BC%B5%E7%91%9E%E5%B8%8C+youtube
    12. YouTube Video Page
    13. Custom Data Services
      • Data Services provide structured information to display in Yahoo! Search results.
      • You can create a custom data service by calling an API or by extracting 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 Extraction -> Confirmation
    14. Step 1: Specify you custom name, type, description
    15. Step 2: Specify your trigger and test URLs
      • Specify a url pattern to match against search results and trigger your data service.
      • Multiple wildcards are supported—you may begin and end your pattern with a wildcard, "*", which matches any string.
      • Add test urls
      • Auto find urls
    16. Step 3: Define your page extraction rules
      • Specify XSLT code for extracting information from the page and representing that information 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 selecting elements for processing.
      • For assistance with writing XPATH expressions, try the XPather FireFox extension.
        • https://addons.mozilla.org/en-US/firefox/addon/1192
    17.  
    18. Step 4: Confirmation
    19. Create a New Application
      • Presentation Applications are small PHP apps that display enhanced search results using data services.
      • You can use an existing data service or create a custom service below.
      • You can create a new application, start with a sample application or import application.
      • Basic Info -> URLs -> Data Services -> Appearance -> Confirmation
    20. Step 1: specify your application’s name, type and description
    21. Presentation Templates (Enhanced Result)
      • Enhanced Result
        • Overwrites the search result itself — it can change the title, the summary, and more.
        • They are limited to a specific set of presentation elements, arranged in a particular format .
        • Title, Summary, Image, Link, Dict
    22. Presentation Templates (Infobar)
      • Infobar
        • An expandable pane beneath a search result that provides additional information about the result.
        • You can also use general HTML markup to create much more customized Infobars.
    23. Step 2: Specify your trigger, test URLs
    24. Step 3: select one or more data services
    25. Step 4: Map your data services to presentation layer
    26. Presentation Application PHP
      • ['title']
      • ['summary']
      • ['image']['src'], ['image']['alt'], ['image']['title'], ['image']['allowResize']
      • ['links'][ n ]['text'], ['links'][ n ]['href']
      • ['dict'][ n ]['key'], ['dict'][ n ]['value'],
      • ['infobar']['summary'], ['infobar']['blob']
    27. Step 5: Confirmation
    28. Publish Your Application
      • Three basic version types
        • Dev: private
        • Sharable: useable by any logged-in user
        • Gallery: a repository of high-quality applications
      • You also can use the ‘export’ and ‘import’ functions to share your code with your colleagues.
    29. After Publishing with Sharing
        • (Ange YouTube) http://gallery.search.yahoo.com/application?smid=SW1.s
    30. Try it on SRP
    31. Reference
      • YDN
        • http://developer.yahoo.com/searchmonkey/
      • Documentation
        • http://developer.yahoo.com/searchmonkey/smguide/
      • Dev Tool
        • http://developer.search.yahoo.com/wizard/index
    SlideShare Zeitgeist 2009

    + JH LeeJH Lee Nominate

    custom

    190 views, 0 favs, 0 embeds more stats

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 190
      • 190 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 4
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories