Loading ...
Sorry, an error occurred while loading the content.

2479RE: [ysearchboss] Re: how to get structured result using searchmonkey and yahoo boss

Expand Messages
  • Atul Ilwadi
    Feb 3, 2010
    • 0 Attachment
      Hello Ted
       
      Also I noticed in the below XML that the data in searchmonkey_feed and searchmonkey_rdf are different like the telephone number is not in feed .
       
      This will also be a problem since we are using feed data in our php program . How to use rdf data .
       
      Any help please
       
      Regards
      Atul

      --- On Thu, 2/4/10, Atul Ilwadi <atul_ilwadi@...> wrote:

      From: Atul Ilwadi <atul_ilwadi@...>
      Subject: RE: [ysearchboss] Re: how to get structured result using searchmonkey and yahoo boss
      To: ysearchboss@yahoogroups.com
      Cc: "boss-usergroup-support-team" <boss-usergroup-support-team@...>, "Ted Drake" <tdrake@...>
      Date: Thursday, February 4, 2010, 11:06 AM

      Hello Ted
       
      If you remember we have been discussing about this for last 2 months  on the same blog .
       
      I wanted to get Address , Image , Ratings just like you search for "Capitol Grille" on Yahoo .com and you get the result . Check the attached image .
       
      with Yahoo local I am not getting the IMAGE and RATING . Please inform which tags show image and rating and how to extract them
       
      Below is the result which I got using below URL:
       
      http://boss.yahooapis.com/ysearch/web/v1/Capitol+Grille+searchmonkey:local?appid=QLK5k0nIkY 0zTCeXhqVqrvRzHUUXQBaYur6K&format=xml&start=0&count=15&view=keyterms%2Csearchmonkey_feed%2Csearchmonkey_rdf
       
       
       
        <?xml version="1.0" encoding="UTF-8" ?>
      - <ysearchresponse xmlns="http://www.inktomi.com/" responsecode="200">
      - <resultset_web count="2" start="0" totalhits="2" deephits="77">
      - <result>
      - <abstract>
      <![CDATA[
      <b>Capitol</b> <b>Grille</b> - Hermitage Hotel - Nashville, Nashville, TN : Reviews and maps - Yahoo! Local, 615.345.7116. Get Ratings, Reviews, Photos and more on Yahoo! Local.
        ]]>
        </abstract>
        <clickurl>http://local.yahoo.com/info-31406629-capitol-grille-hermitage-hotel-nashville-nashville;_ylc=X3oDMTRmaXRua2gyBF9TAzIwMjMxNTI3MDIEYXBwaWQDUUxLNWswbklrWSUyMDB6VENlWGhxVnFydlJ6SFVVWFFCYVl1cjZLBGNsaWVudANib3NzBHNlcnZpY2UDQk9TUwRzbGsDdGl0bGUEc3JjcHZpZANBS3hnd1dLSWNycjhmSUNrX3liV2dJbGdQZllGdlV0cVdHb0FCTHJ1</clickurl>
        <date>2009/12/24</date>
      - <dispurl>
      <![CDATA[
      <b>local.yahoo.com</b>/<wbr>info-31406629-<b>capitol</b>-<b>grille</b>-hermitage-ho<b>...</b>
        ]]>
        </dispurl>
      - <keyterms>
      - <terms>
        <term>Nashville</term>
        <term>Hermitage Hotel</term>
        <term>Grille</term>
        <term>Nashville, TN</term>
        <term>the Capitol</term>
        <term>Private Rooms</term>
        <term>wines</term>
        <term>ratings</term>
        <term>business</term>
        <term>6th Ave</term>
        <term>High Tea</term>
        <term>Web Reviews</term>
        <term>Tyler Brown</term>
        <term>Breakfast</term>
        <term>Happy Hour</term>
        <term>Late Night</term>
        <term>Search</term>
        <term>Nashville Maps</term>
        <term>Share your photos</term>
        <term>Weekend Brunch</term>
        </terms>
        </keyterms>
      - <searchmonkey_feed>
      - <feed>
      - <adjunct id="com.yahoo.page.rdf.rdfa" updated="2010-01-23T17:02:12Z" version="1.0">
      - <item rel="dc:subject" resource="http://local.yahoo.com/info-31406629-capitol-grille-hermitage-hotel-nashville-nashville">
      + <type typeof="commerce:Business vcard:VCard" resource="http://local.yahoo.com/info-31406629-capitol-grille-hermitage-hotel-nashville-nashville">
        <meta property="vcard:latitude" xml:lang="en" data_quality="255">36.163037</meta>
        <meta property="commerce:parkingOptions" xml:lang="en">Valet</meta>
        <meta property="commerce:hoursOfOperation" xml:lang="en">Breakfast, Lunch & Dinner daily, Brunch Sun.</meta>
        <meta datatype="rdf:XMLLiteral" property="commerce:businessCategory"><a href="http://local.yahoo.com/results?stx=Southern+Restaurants&amp;csz=Nashville%2C+TN&amp;ycatfilt=96926153&amp;viewtype=map">Southern Restaurants</a>, <a href="http://local.yahoo.com/results?stx=Restaurants&amp;csz=Nashville%2C+TN&amp;ycatfilt=96926236&amp;viewtype=map">Restaurants</a>, <a href="http://local.yahoo.com/results?stx=American+Restaurants&amp;csz=Nashville%2C+TN&amp;ycatfilt=96926237&amp;viewtype=map">American Restaurants</a></meta>
        <meta property="vcard:url" xml:lang="en" data_quality="0">www.thehermitagehotel.com</meta>
        <meta property="vcard:tel" xml:lang="en" data_quality="255">(615) 345-7116</meta>
        <meta property="vcard:longitude" xml:lang="en" data_quality="255">-86.781873</meta>
        <meta property="commerce:attire" xml:lang="en">Smart Casual</meta>
        <meta property="commerce:cuisine" xml:lang="en">American, Contemporary, Southern</meta>
        <meta property="commerce:priceRange" xml:lang="en">$20 - $30</meta>
        <meta property="commerce:serviceOptions" xml:lang="en">BYOB, Banquet/Private Rooms, Bar Dining, Beer, Breakfast, Counter Seating, Farm to Table, Happy Hour, High Tea, Hotel, Late Night Menu, Lounge, Personal wines welcome, Personal wines welcome (corkage fee applies), Private Rooms, Tea/High Tea, Weekend Brunch, Wheelchair Access, Wine</meta>
        <meta property="vcard:Name" xml:lang="en">Capitol Grille - Hermitage Hotel - Nashville</meta>
        <meta property="commerce:takesReservations" xml:lang="en">Suggested</meta>
        <meta property="commerce:smoking" xml:lang="en">Non-Smoking Restaurant</meta>
        <meta property="commerce:features" xml:lang="en">Bar, Brunch, Great Beer List, Great Wine List, Happy Hour, Late Night, Private Rooms, Take Out</meta>
        <meta property="commerce:acceptsCredit" xml:lang="en">American Express, Cart Blanche, Diners Club, Discover, MasterCard, Visa</meta>
        <meta property="commerce:ambience" xml:lang="en">Casual, Elegant, Family Friendly, Romantic</meta>
        <meta property="rdfs:comment" xml:lang="en">Located in the AAA 5 Diamond Hermitage Hotel, the Capitol Grille - Nashville has hosted some of America's most noted individuals while serving as a gathering place for Nashvillians. Using the freshest regional ingredients, executive chef Tyler Brown prepares a memorable celebration of creative Southern cuisine for every occasion.</meta>
      - <item rel="vcard:adr">
        <meta property="vcard:street-address" xml:lang="en">231 6th Ave N</meta>
        <meta property="vcard:region" xml:lang="en">TN</meta>
        <meta property="vcard:postal-code" xml:lang="en" data_quality="255">37219</meta>
        <meta property="vcard:locality" xml:lang="en">Nashville</meta>
        </item>
        </type>
        </item>
        </adjunct>
      - <adjunct id="com.yahoo.page.uf.adr" updated="2009-12-24T12:19:17Z" version="1.1" scope="public">
      - <item rel="dc:subject">
      - <type typeof="vcard:Address">
        <meta property="vcard:street-address">231 6th Ave N</meta>
        <meta property="vcard:locality">Nashville</meta>
        <meta property="vcard:region">TN</meta>
        <meta property="vcard:postal-code" data_quality="255">37219</meta>
        </type>
        </item>
        </adjunct>
      - <adjunct id="com.yahoo.page.uf.geo" updated="2009-12-24T12:19:17Z" version="1.1" scope="public">
      - <item rel="dc:subject">
      - <type typeof="vcard:Location">
        <meta property="vcard:latitude" data_quality="255">36.163037</meta>
        <meta property="vcard:longitude" data_quality="255">-86.781873</meta>
        </type>
        </item>
        </adjunct>
        </feed>
        </searchmonkey_feed>
      - <searchmonkey_rdf>
      - <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:h="http://www.w3.org/1999/xhtml">
      - <rdf:Description rdf:about="http://local.yahoo.com/info-31406629-capitol-grille-hermitage-hotel-nashville-nashville">
        <dc:subject xmlns:dc="http://purl.org/dc/terms/" rdf:resource="http://local.yahoo.com/info-31406629-capitol-grille-hermitage-hotel-nashville-nashville" />
        </rdf:Description>
      - <rdf:Description rdf:about="http://local.yahoo.com/info-31406629-capitol-grille-hermitage-hotel-nashville-nashville">
        <rdf:type rdf:resource="http://search.yahoo.com/searchmonkey/finance/Business" />
        </rdf:Description>
      - <rdf:Description rdf:about="http://local.yahoo.com/info-31406629-capitol-grille-hermitage-hotel-nashville-nashville">
        <rdf:type rdf:resource="http://www.w3.org/2006/vcard/ns#VCard" />
        </
      (Message over 64 KB, truncated)
    • Show all 22 messages in this topic