Adding search engines
Hello,
is it possible to add search engines without modifying zotero/locate/engines.json ? I.e. can they be self-contained (like translators)?
Thanks!
is it possible to add search engines without modifying zotero/locate/engines.json ? I.e. can they be self-contained (like translators)?
Thanks!
Only to the extent that they support the open lookup protocol (not quite sure about the name), which is extremely rare - pubget used to work. Most libraries, though have lookup services you can use, so if that's what you're after...
E.g. I use a "Google Scholar - title only", and "Google search for title", which (obviously) searches google scholar just by title, or google just by title. I've found that quite useful.
It would be good if I could give those two lookup engines to colleagues as a self-contained file, rather than modifying engines.json (which is what I've done to get those searches).
{
"name": "Google Search",
"alias": "Google",
"_urlTemplate": "https://www.google.com/#q={z:title}",
"description": "Google Search",
"hidden": false,
"_urlParams": [],
"_urlNamespaces": {
"z": "http://www.zotero.org/namespaces/openSearch#"
},
"_iconSourceURI": "https://www.google.com/favicon.ico"
},
Restart Zotero
Ideally they'd be on zotero.org, but otherwise I'm happy to host them on a github site.
<Zotero data directory>/locate/engines/
where additional engines could be placed?
Bjoern
https://www.zotero.org/support/dev/creating_locate_engines_using_opensearch
If you want to offer them to other people, use that.
How would you do that with Zotero stand alone?
Also, is there a way to add a search from a file (that I could email to somebody), rather than having to put the XML online?
Bjoern
Nor would e-mail, but putting a file online these days really shouldn't be an obstacle for anyone comfortable enough to manually alter JSON files.
If someone is going to put in the work to change the current behavior, it should be a proper solution and not making what's essentially a workaround (i.e. manually adding/changing json files to the data directory) a little easier.
FWIW, you could send around a complete & altered file that people could use to overwrite their existing one.