Uploaded image for project: 'Advanced'
  1. Advanced
  2. TADV-37

Integrate OpenSearch

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.0-B1
    • Component/s: General
    • Labels:
      None
    • Additional information:
      Hide

      Recently I've accidentally pressed TAB when typing a website address. And my Google Chrome browser displayed site-specific search form, that allowed me search data on that site even without visiting it.

      Show
      Recently I've accidentally pressed TAB when typing a website address. And my Google Chrome browser displayed site-specific search form, that allowed me search data on that site even without visiting it.
    • Change Log Message:
      Integrated OpenSearch
    • Story Points:
      2
    • External issue ID:
      1155
    • Sprint:
      In-Portal's First Sprint
    • Copy Issue Key:
    • Patch Instructions:

      Patches must be submitted through Phabricator.

      Description

      Integrate OpenSearch functionality.

      For example you place <link rel="search" type="application/opensearchdescription+xml" href="http://www.website.com/opensearch.php" title="description_here" />

      Then you provide that "opensearch.php" file, that contains OpenSearch settings, to be used by browser (or any program, that supports open search):

      <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
      <ShortName>Company</ShortName>
      <Description>Company Search</Description>
      <Contact/>
      <Url type="text/html" template="http://www.website.com/index.php?story=

      {searchTerms}

      &do=search&subaction=search"/>
      <LongName>Company Search</LongName>
      <Image height="64" width="64" type="image/png">http://www.website.com/logo.png</Image>
      <Image height="16" width="16" type="image/vnd.microsoft.icon">http://www.website.com/favicon.ico</Image>
      <Developer>Company (http://www.website.com)</Developer>
      <Attribution>Copyright 2007-2011 Company.</Attribution>
      <SyndicationRight>open</SyndicationRight>
      <AdultContent>false</AdultContent>
      <Language>ru-ru</Language>
      <OutputEncoding>windows-1251</OutputEncoding>
      <InputEncoding>windows-1251</InputEncoding>
      </OpenSearchDescription>

      [B]Full specifications:[/B] [url]http://www.opensearch.org/Specifications/OpenSearch/1.1[/url]

      No additional programming needed, only create XML file with a set of settings.

      [B]NOTES:[/B]

      It's better if we try creating a template so it ends as http://www.website.com/PATH/opensearch.html or something (and not PHP file).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
                Developer:
                Erik Snarski [Intechnic]
                Reviewer:
                Alex
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: