Hello World Plugin for 5.0

80 views
Skip to first unread message

Maria _10

unread,
Feb 28, 2017, 1:48:33 PM2/28/17
to zotero-dev
Hello,

I'm trying to follow the example in the website for creating a plugin with Zotero. I found the Hello World Plugin page and followed the instructions. I modified install.rdf to include the maxVersion 5.0.* - however, Zotero 5.0 standalone refused to install it. Any ideas on what I'm missing? Or, is plugin development and installation different for version 5.0? 

Thanks and I appreciate your help.

Maria

Dan Stillman

unread,
Mar 2, 2017, 2:55:55 PM3/2/17
to zoter...@googlegroups.com
On 2/28/17 1:03 PM, Maria _10 wrote:
> I'm trying to follow the example in the website for creating a plugin
> with Zotero. I found the Hello World Plugin page and followed the
> instructions. I modified install.rdf to include the maxVersion 5.0.* -
> however, Zotero 5.0 standalone refused to install it. Any ideas on
> what I'm missing? Or, is plugin development and installation different
> for version 5.0?

Couple issues:

1) Hello World probably isn't set to be compatible with Zotero as the
targetApplication, only Firefox. E.g.,

https://github.com/zotero/zotero-word-for-mac-integration/blob/58a6429fe58abbdffb2c08cf74ab5e5b5ac2cb45/install.rdf#L26

2) Essentially all plugins, including Hello World, need to be updated to
work with 5.0. Not sure when we'll be able to get to that, but if you
have any specific questions in the meantime we can try to answer them here.

Maria _10

unread,
Mar 23, 2017, 9:33:44 AM3/23/17
to zotero-dev
Thanks Dan! I appreciate the response.

I tried changing the target application maxVersion to 5.0.x and that didn't work for me either. At this point, I'm not sure how to move forward. I tried to install the updated xpi on Firefox. Firefox says it can't be installed.

Just to follow up on the need to update the plugins
- Is this for all existing plugins? Do they all need to be changed to work for 5.0? Is it more of a backward compatibility issue? If so, what types of changes breaks compatibility?
- When you said you don't know yet when you'll be able to get to 'that' - do you mean updating the tutorial for HelloWorld? Or, updating all of the plugins so that it works with 5.0?

Thanks,
Maria

Dan Stillman

unread,
Mar 25, 2017, 4:24:27 PM3/25/17
to zoter...@googlegroups.com
On 3/23/17 9:33 AM, Maria _10 wrote:
> Just to follow up on the need to update the plugins
> - Is this for all existing plugins? Do they all need to be changed to
> work for 5.0? Is it more of a backward compatibility issue? If so,
> what types of changes breaks compatibility?

Yes, all plugins will need to be updated, code-wise. Nearly every part
of the codebase has been updated in 5.0.

You can probably look at the code for some of the third-party extensions
that have already been updated (e.g., ZotFile) for guidance.

> - When you said you don't know yet when you'll be able to get to
> 'that' - do you mean updating the tutorial for HelloWorld? Or,
> updating all of the plugins so that it works with 5.0?

Sorry, I meant when we'll be able to update Hello World to work with 5.0.
Reply all
Reply to author
Forward
0 new messages