Freigeben über


Conector de Pesquisa – Imagens Bing (TechEd 2009)

Para criar um conector de pesquisa referente a imagens do Bing, copie e cole o texto abaixo em um arquivo txt, renomeando sua extensão para .osdx. Por fim, basta dar um clique duplo no arquivo (Windows 7).

<?xml version="1.0" encoding="UTF-8"?>
<OpenSearchDescription xmlns="https://a9.com/-/spec/opensearch/1.1/">
<ShortName>Bing Image Search</ShortName>
<Description>Use bing.com to search the image index.</Description>
<Tags>Image</Tags>
<LongName>bing.com Image Search</LongName>
<Image width="16" height="16" type="image/gif">https://www.bing.com:80/s/rsslogo.gif</Image>
<Query role="example" searchterms="seattle"/>
<Developer>Microsoft Corporation, bing Search Development Team</Developer>
<SyndicationRight>limited</SyndicationRight>
<InputEncoding>UTF-8</InputEncoding>
<OutputEncoding>UTF-8</OutputEncoding>
<Url type="text/html" template="https://www.bing.com/images/search?q={searchTerms}"/>
<Url type="application/rss+xml" template="https://api.bing.com/rss.aspx?source=image&amp;query={searchTerms}&amp;image.count=50&amp;mkt={language?}"/>
<ms-ose:ResultsProcessing format="application/rss+xml" xmlns:ms-ose="https://schemas.microsoft.com/opensearchext/2009/">
<ms-ose:PropertyDefaultValues>
<ms-ose:Property schema="https://schemas.microsoft.com/windows/2008/propertynamespace" name="System.PropList.ContentViewModeForSearch">prop:~System.ItemNameDisplay;System.Size;~System.ItemPathDisplay</ms-ose:Property>
</ms-ose:PropertyDefaultValues>
</ms-ose:ResultsProcessing>
</OpenSearchDescription>