XML Implementation for RelatedSearch SourceType
Bing
This topic contains the following details of an RelatedSearch SourceType query sent to the XML interface:
-
Request Example
-
Response Example
For an example of code that might generate the request in this topic, see XML Code Samples (RelatedSearch SourceType).
This section contains an example of a response that Bing might return when sent the query string in the previous section:
<?xml version="1.0" encoding="utf-8" ?>
<?pageview_candidate?>
<SearchResponse xmlns="http://schemas.microsoft.com/LiveSearch/2008/04/XML/element" Version="2.0">
<Query>
<SearchTerms>free</SearchTerms>
</Query>
<rs:RelatedSearch xmlns:rs="http://schemas.microsoft.com/LiveSearch/2008/04/XML/relatedsearch">
<rs:Results>
<rs:RelatedSearchResult>
<rs:Title>Free ?Stuff?</rs:Title>
<rs:Url>http://bing.com/results.aspx?q=Free+Stuff</rs:Url>
</rs:RelatedSearchResult>
<rs:RelatedSearchResult>
<rs:Title>Free ?Games?</rs:Title>
<rs:Url>http://bing.com/results.aspx?q=Free+Games</rs:Url>
</rs:RelatedSearchResult>
<rs:RelatedSearchResult>
<rs:Title>Free ?Music? ?Downloads?</rs:Title>
<rs:Url>http://bing.com/results.aspx?q=Free+Music+Downloads</rs:Url>
</rs:RelatedSearchResult>
<rs:RelatedSearchResult>
<rs:Title>?Freebox?</rs:Title>
<rs:Url>http://bing.com/results.aspx?q=Freebox</rs:Url>
</rs:RelatedSearchResult>
<rs:RelatedSearchResult>
<rs:Title>Free ?Internet?</rs:Title>
<rs:Url>http://bing.com/results.aspx?q=Free+Internet</rs:Url>
</rs:RelatedSearchResult>
<rs:RelatedSearchResult>
<rs:Title>Free ?Clip? ?Art?</rs:Title>
<rs:Url>http://bing.com/results.aspx?q=Free+Clip+Art</rs:Url>
</rs:RelatedSearchResult>
<rs:RelatedSearchResult>
<rs:Title>Free ?Screensavers?</rs:Title>
<rs:Url>http://bing.com/results.aspx?q=Free+Screensavers</rs:Url>
</rs:RelatedSearchResult>
<rs:RelatedSearchResult>
<rs:Title>Free ?Ringtones?</rs:Title>
<rs:Url>http://bing.com/results.aspx?q=Free+Ringtones</rs:Url>
</rs:RelatedSearchResult>
</rs:Results>
</rs:RelatedSearch>
</SearchResponse>
Show: