• 0
trk32

Opensearch

Question

I'm using the website only for a few days not but my usual interaction is to use the search.

Now there's one awesome feature on the web call opensearch which is basically just a xml file that tells browsers that they can add the page's search functionality into their browser function. It'd be a great new feature on rebrickable.

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

I had never heard of this before, but it seems pretty neat and was easy to do so it's done :) I couldn't get it to work in Firefox/Linux but it worked fine in Chrome/Linux.

Share this post


Link to post
Share on other sites
  • 0

The problem with Firefox might be due to the content type. Your server returns

Content-Type: text/plain; charset=utf-8

where the correct one should be
 

Content-Type: application/xml


Cloudflare delivers the file but if you tell me whether the webserver is apache or nginx I can point you to the appropriate documentation.

PS: You're awesome for adding this  :)

Share this post


Link to post
Share on other sites
  • 0

I've changed the content type which seems to have come through ok (might need to clear cache), but I still can't get Firefox to use it.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now