Merge lp://staging/~grahamrow/zim/zim-mendeley into lp://staging/~jaap.karssenberg/zim/pyzim
Status: | Needs review |
---|---|
Proposed branch: | lp://staging/~grahamrow/zim/zim-mendeley |
Merge into: | lp://staging/~jaap.karssenberg/zim/pyzim |
Diff against target: |
834 lines (+796/-0) 6 files modified
HACKING/notebook.zim (+1/-0) data/manual/Plugins.txt (+1/-0) data/manual/Plugins/Mendeley_Citations.txt (+17/-0) zim/inc/MendeleyDesktopAPI.py (+357/-0) zim/inc/MendeleyHttpClient.py (+228/-0) zim/plugins/mendeley.py (+192/-0) |
To merge this branch: | bzr merge lp://staging/~grahamrow/zim/zim-mendeley |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jaap Karssenberg | Pending | ||
Review via email: mp+224053@code.staging.launchpad.net |
Description of the change
Hi Jaap, I've been meaning to tie up some loose ends and get this code into the main branch. Mendeley, if you recall, is a citation management program that is widely used in academic communities. A few colleagues and I have been using this plugin with good results over the past several months.
General Functionality and comments:
- Inserts formatted citations (as simple Zim "link" objects) with links to either a users own Mendeley library (via the local mendeley:// protocol) or to a more universal DOI redirect (via http://
- Creates a bibliography in the used-specified format by scraping the current page for mendeley:// or dx.doi.org links and polling the Mendeley application for a complete formatted bibliography.
- The backend is a slightly modified version of the code used in Mendeley's own OpenOffice plugin (https:/
- Since the plugin communicates with the Mendeley application through a minimal web socket, it requires Mendeley to be open. Perhaps I can later implement a feature to have the program be launched automatically.
Preferences include:
1. Whether to insert dx.doi.org or mendeley:// links
2. The citation format
3. The bibliography format
Known limitations:
1. Unit test still lacking, but since the plugin only inserts links and text and is based of the generic plugin class I think that is safe for now. I'll come up with something soon!
Unmerged revisions
- 684. By Graham Rowlands
-
Pulled in Zim 0.61 code.
- 683. By Graham Rowlands
-
Pulled latest lp:zim and relocated Mendeley API code back to inc/ since it is vanilla code from Mendeley. This fixed an issue where the plugin manager thought the plugins/mendeleyAPI directory was itself a plugin, causing an error message to be generated when closing the preferences dialog
- 682. By Graham Rowlands
-
Merged with main zim branch
- 681. By Graham Rowlands
-
Merged into pyzim-refactor. A bit late now...
- 680. By Graham Rowlands
-
Relocated Mendeley API code to plugins/
mendeleyAPI. Added bibliography capability. - 679. By Graham Rowlands
-
Updated reg. exps. for converting bib html to zim formatting.
- 678. By Graham Rowlands
-
Rebased to pyzim-refactor. Added rudimentary bibliography support.
- 677. By Graham Rowlands
-
Reverted inavertent changes to notebook.zim and updated documentation.
- 676. By Graham Rowlands
-
Initial commit of plugin