Advertisement
Rhalevy

BerryReview: BlackBerry 10 OpenSearch Code

Feb 4th, 2013
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.91 KB | None | 0 0
  1. //This is the text of the opensearch.xml file just change the icons and url
  2.  
  3. <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
  4. <script/>
  5. <ShortName>BerryReview</ShortName>
  6. <Description>Search BerryReview.com</Description>
  7. <Tags>BerryReview BlackBerry</Tags>
  8. <Image height="64" width="64" type="image/png">http://cdn3.berryreview.com/Favicon-64x-opt.png</Image>
  9. <Image height="16" width="16" type="image/vnd.microsoft.icon">http://cdn3.berryreview.com/favicon.ico</Image>
  10. <Query role="example" searchTerms="BlackBerry"/>
  11. <Url type="text/html" template="http://www.berryreview.com/?s={searchTerms}"/>
  12. </OpenSearchDescription>
  13.  
  14. //You also need to add this to the <head> tag of your HTML pages. This is easy to do in WordPress in the header.php file in your theme
  15.  
  16. <link rel="search" href="http://www.berryreview.com/opensearch.xml" type="application/opensearchdescription+xml" title="BerryReview" />
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement