webOS Nation Forums >  webOS apps and software >  webOS discussion > Just Type Opensearch for every Website
Just Type Opensearch for every Website

  Reply
Like Tree1Likes
  • 1 Post By gizmo21

 
LinkBack Thread Tools Display Modes
Old 06/30/2011, 09:03 PM   #1 (permalink)
Member
 
Join Date: Jun 2009
Posts: 951
Likes Received: 33
Thanks: 128
Thanked 131 Times in 104 Posts
Default Just Type Opensearch for every Website

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
File Type: png browser_2011-01-07_035119.png (38.1 KB, 53 views) Email Attachment
File Type: png browser_2011-01-07_041046.png (103.6 KB, 46 views) Email Attachment
__________________
Palm Pre 3 webOS 2.2.4 3175 EU UMTS
Palm Pre 2 webOS 2.2.4 160 EU UMTS
Palm Pre - webOS 1.4.5 EU UMTS

Found a bug or miss a feature in webOS, just use this form: Feedback & Feature Requests | Palm USA
-- Oops, sorry HP does not offer a Feedback form anymore send feature request to CEO

Last edited by gizmo21; 06/30/2011 at 09:44 PM.
gizmo21 is online now   Reply With Quote
Liked by Mhunterjr likes this.
Old 07/01/2011, 03:36 AM   #2 (permalink)
Member
 
Join Date: Jun 2009
Posts: 951
Likes Received: 33
Thanks: 128
Thanked 131 Times in 104 Posts
Default Simple adding of opensearch to your own page

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")
Quote:
<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
Quote:
<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.
__________________
Palm Pre 3 webOS 2.2.4 3175 EU UMTS
Palm Pre 2 webOS 2.2.4 160 EU UMTS
Palm Pre - webOS 1.4.5 EU UMTS

Found a bug or miss a feature in webOS, just use this form: Feedback & Feature Requests | Palm USA
-- Oops, sorry HP does not offer a Feedback form anymore send feature request to CEO

Last edited by gizmo21; 07/01/2011 at 09:52 AM.
gizmo21 is online now   Reply With Quote
Thanked by Jason Robitaille, konus
Old 07/03/2011, 04:49 PM   #3 (permalink)
Member
 
Join Date: Jun 2009
Posts: 951
Likes Received: 33
Thanks: 128
Thanked 131 Times in 104 Posts
Default

Does anybody know how to get the instant suggestions (like Preware app) into a website opensearch?
gizmo21 is online now   Reply With Quote
Old 07/04/2011, 01:09 AM   #4 (permalink)
Member
 
Join Date: Sep 2010
Posts: 1,836
Likes Received: 89
Thanks: 55
Thanked 323 Times in 228 Posts
Default

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
__________________
Grav - Canvas-based Gravity Simulation
rsanchez1 is offline   Reply With Quote
Old 07/04/2011, 03:58 AM   #5 (permalink)
Member
 
Join Date: Jun 2009
Posts: 951
Likes Received: 33
Thanks: 128
Thanked 131 Times in 104 Posts
Default

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
__________________
Palm Pre 3 webOS 2.2.4 3175 EU UMTS
Palm Pre 2 webOS 2.2.4 160 EU UMTS
Palm Pre - webOS 1.4.5 EU UMTS

Found a bug or miss a feature in webOS, just use this form: Feedback & Feature Requests | Palm USA
-- Oops, sorry HP does not offer a Feedback form anymore send feature request to CEO
gizmo21 is online now   Reply With Quote
Old 07/05/2011, 02:40 AM   #6 (permalink)
Member
 
Join Date: Jun 2009
Posts: 951
Likes Received: 33
Thanks: 128
Thanked 131 Times in 104 Posts
Default Patch request

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.
__________________
Palm Pre 3 webOS 2.2.4 3175 EU UMTS
Palm Pre 2 webOS 2.2.4 160 EU UMTS
Palm Pre - webOS 1.4.5 EU UMTS

Found a bug or miss a feature in webOS, just use this form: Feedback & Feature Requests | Palm USA
-- Oops, sorry HP does not offer a Feedback form anymore send feature request to CEO

Last edited by gizmo21; 07/25/2011 at 11:32 AM.
gizmo21 is online now   Reply With Quote
Old 07/05/2011, 11:14 AM   #7 (permalink)
Member
 
Join Date: Sep 2010
Posts: 1,836
Likes Received: 89
Thanks: 55
Thanked 323 Times in 228 Posts
Default

Now THAT would be a nice patch.
__________________
Grav - Canvas-based Gravity Simulation
rsanchez1 is offline   Reply With Quote
Old 11/29/2011, 12:56 AM   #8 (permalink)
Member
 
Join Date: Jun 2009
Posts: 951
Likes Received: 33
Thanks: 128
Thanked 131 Times in 104 Posts
Default

here is how to remove unwanted open searches in just type: http://www.precentral.net/remove-unw...ches-just-type
__________________
Palm Pre 3 webOS 2.2.4 3175 EU UMTS
Palm Pre 2 webOS 2.2.4 160 EU UMTS
Palm Pre - webOS 1.4.5 EU UMTS

Found a bug or miss a feature in webOS, just use this form: Feedback & Feature Requests | Palm USA
-- Oops, sorry HP does not offer a Feedback form anymore send feature request to CEO
gizmo21 is online now   Reply With Quote
Reply

 

Tags
browser, just type, opensearch

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0