Results 1 to 12 of 12
Like Tree3Likes
  • 2 Post By gizmo21
  • 1 Post By gizmo21
  1.    #1  
    Not every website has an Opensearch compliant XML file implemented into the Website header, so you are not always getting a notification "Web Search" available.

    There are many directories offering pregenerated Opensearch providers, like mycroft but with most of them the adding to your search engine (here Just Type) is done via JavaScript, which is not the way webOS supports this (or the directory does not recognise webOS webkit).

    WebOS only seems to support the official OpenSearch way of adding through the html-header XML file and here is a website which generates such an file on the fly:

    Generate Search Plugins


    Example: https://developer.palm.com/ is not offering a OpenSearch Engine

    So you have to do a search on that site for the word TEST (all uppercase) - this would lead to an search result page:
    ht tp://www.hpwebos.com/us/search/developer.html?search=TEST

    This link has to be pasted into the Search URL: -field on the searchplugins.net site
    Search plugin title: goes with the name you want to see in your Just Type Websearch
    You can have the icon for the search match the favicon by letting it autodetect.

    After hitting Create Plugin the generator creates a new page and if you wait some seconds, a notification will pop up the a new websearch is detected. Now you can choose this in Just Type Preferences and add it to your "Launch and Search"
    Attached Images Attached Images
    mhunterjr and Vistaus like this.
  2.    #2  
    For those who like to enhance their own website, so that other users don't have to use the above workaround.
    Check out: Specifications/OpenSearch/1.1/Draft 4 - OpenSearch

    As creating the XML from scratch can be painfull (cause of using the wrong editors) it's good to start with a simple XML created for your website-search by using:
    EnhanceIE.com - IE7 Search provider builder

    upload that generated sitename.xml to your webserver make it accessible and put in your startpage html head the following line that references the xml just uploaded (change title="Own Sitename")
    <html >
    <head>
    .....
    <link rel="search" type="application/opensearchdescription+xml" href="http://www.sitename.com/sitename.xml" title="Own Sitename" />
    ....
    </head>
    <body>
    ...
    </body>
    </html>
    There you go, if you now access your own webpage with firefox, IE (NOT 9 ) and of course webos-webbrowser > 2.x.
    On webos you have to wait some seconds for the notification.

    You could enhance this simple xml by adding a favicon url of your website perhaps or any othe parameter descriped on the opensearch.org page linked above
    <Image height="16" width="16" type="image/vnd.microsoft.icon">http://example.com/websearch.ico</Image>
    But always pay attention when editing the XML, don't put linebreaks or wrong formting in any way, cause this breaks the XML and the function.

    So now i hope to see many sites that will implement it:

    Examples in the webos world are:
    The #1 HP / Palm webOS Community | PreCentral.net
    webOS Blog - HP webOS, HP Veer, HP Pre 3, HP Touchpad und vieles mehr!
    Main Page - WebOS Internals

    You can always see it on the Desktop browser when the arrow on your search engine/provider field lights up blue or red.
  3.    #3  
    Does anybody know how to get the instant suggestions (like Preware app) into a website opensearch?
  4. #4  
    Quote Originally Posted by gizmo21 View Post
    Does anybody know how to get the instant suggestions (like Preware app) into a website opensearch?
    It is not possible. Preware does application search, where Just Type searches locally-stored application data to provide instant suggestions. Website opensearch does not have locally-stored data.

    -- Sent from my Palm Pre using Forums
  5.    #5  
    Quote Originally Posted by rsanchez1 View Post
    It is not possible. Preware does application search, where Just Type searches locally-stored application data to provide instant suggestions. Website opensearch does not have locally-stored data.

    -- Sent from my Palm Pre using Forums
    So you say that Opensearch suggestion-feature is not possible with JustType: Specifications/OpenSearch/Extensions/Suggestions/1.1/Draft 1 - OpenSearch
  6.    #6  
    You can get suggestions features with website searches to work with Just Type but it seems the only way to do this is to change the default search engine to that site.
    So if you have a suggestion enabled site in your "Start and Search" (i hope that is how it's named in english) and you add this as your default website, you get the same "Suggestions"-button like for google.

    This would be nice patch "Enable suggestions on all websearch engines" in "Start and Search", well of course only if the website admin intergrated this feature into his OpenSearch .xml.
    Attached Images Attached Images
  7. #7  
    Now THAT would be a nice patch.
  8.    #9  
    To generate a ssl secured and suggest-feature supported googlesearch for your webOS 2/3 devices, enter these values at the site in first posting. This is for the german google search:
    Search URL:
    https://www.google.de/search?hl=de&q=TEST
    Suggestion URL (optional):
    https://encrypted.google.com/complet...firefox&q=TEST
    Search plugin title:
    google.de
    Icon:
    (manual)
    http://www.google.com/favicon.ico
    leave all other values, send the form and wait some seconds to have it poping up pn your webOS device

    here is the english one:
    Search URL:
    https://www.google.com/search?q=TEST
    Suggestion URL (optional):
    https://encrypted.google.com/complet...firefox&q=TEST
    Search plugin title:
    google.com

    Icon:
    (manual)
    http://www.google.com/favicon.ico


    So now your are able again to use suggest as quick poormans spell correction


    Rnp likes this.
  9. kulf's Avatar
    Posts
    84 Posts
    Global Posts
    98 Global Posts
    #10  
    Glad this works. Thank you!
  10.    #11  
    Quote Originally Posted by kulf View Post
    Glad this works. Thank you!
    yeah, was way too long without that great inbuild webOS feature... oh they were so ahead of their time...
  11. #12  
    So, it turns out that on the Pre3, the xml files are stored here: /var/palm/data/universalsearchmgr/searchplugins

    The filename appears to be in the format:

    <scheme>...<url>.xml

    EDIT:
    Oh, I completely forgot... we have source code to the beast that handles this! https://github.com/openwebos/luna-un...ree/master/Src
    Last edited by dkirker; 10/21/2013 at 08:41 PM.
    Did you know:

    webOS ran on a Treo 800 during initial development.

Tags for this Thread

Posting Permissions