How to customize and install Lookups?

I would like to use the German version of Google Scholar Search.

I don't know how to modify and install an OpenSearch Description.

I' able to change the example below to .de but don't know where to add my additional preferences schhp?hl=de&num=20&newwindow=1&as_sdt=0

<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">;
<ShortName>Google Scholar</ShortName>
<Description>Google Scholar Search Engine</Description>
<Image width="16" height="16" type="image/x-icon">http://scholar.google.com/favicon.ico</Image>;
<Url type="text/html" method="GET"
xmlns:rft="info:ofi/fmt:kev:mtx:journal"
xmlns:z="http://www.zotero.org/namespaces/openSearch#";
template="https://scholar.google.de/scholar?as_q=&amp;as_epq={z:title}&amp;as_occt=title&amp;as_sauthors={rft:aufirst?}+{rft:aulast?}&amp;as_ylo={z:year?}&amp;as_yhi={z:year?}&amp;as_sdt=1.&amp;as_sdtp=on&amp;as_sdtf=&amp;as_sdts=22&amp;"/>
</OpenSearchDescription>


Other Lookups that would be helpful to me are: While I possibly could write a very simple OpenSearch Description, I don't know how to get them installed.

Would the following changes (replacing .com with .de ; replacing http with https) be sufficient to switch from amazon.com to amazon.de with SSL?

<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">;
<ShortName>Amazon.de Lookup</ShortName>
<Description>Look up books on Amazon.de</Description>
<Image width="16" height="16" type="image/x-icon">https://www.amazon.de/favicon.ico</Image>;
<Url type="text/html" method="GET"
xmlns:rft="info:ofi/fmt:kev:mtx:book"
template="https://www.amazon.de/gp/search/ref=sr_adv_b/?search-alias=stripbooks&amp;unfiltered=1&amp;field-author={rft:aufirst?}+{rft:aulast?}&amp;field-title={rft:title}&amp;tag=httpwwwdig0e7-20"/>
</OpenSearchDescription>
  • Lookup engines are stored in the Zotero data directory (https://www.zotero.org/support/zotero_data), in the "locate" folder, in the "engines.json" file.

    You can host the OpenSearch Description you've written on a website and add it using Zotero by going to that page, clicking the Locate button, and choosing "Add". It would probably be easier, though, to manually add engines to the engines.json list. For a change as simple as you're making, it would probably be easy to look at the engines already listed there and make the necessary adjustment.
  • I still think we should have a good way of hosting these.
    Dan, would you be interested in doing this on zotero.org? Otherwise I'll just throw together a github website (I think I have the basics already)

    If you do what bwiernik says (which I agree with) you want to be _very_ thorough in checking over your JSON, validating it etc.
  • I'd be more comfortable to have a hosting solution.

    @adamsmith It would be great if you could set it up – either here or on Github.

    However, as I assume that will take a bit until it's set up, I'll see if I manage to edit the "engines.json" file.
Sign In or Register to comment.