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
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?
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=&as_epq={z:title}&as_occt=title&as_sauthors={rft:aufirst?}+{rft:aulast?}&as_ylo={z:year?}&as_yhi={z:year?}&as_sdt=1.&as_sdtp=on&as_sdtf=&as_sdts=22&"/>
</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&unfiltered=1&field-author={rft:aufirst?}+{rft:aulast?}&field-title={rft:title}&tag=httpwwwdig0e7-20"/>
</OpenSearchDescription>
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.
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.
@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.