wiki:TracZoteroPlugin

Version 6 (modified by helend, 3 years ago) (diff)

--

TracZoteroPlugin

Description

TracZoteroPlugin is used to show and cite a local Zotero database.

Features:

  • Collection tree is created and always shown, which based on jQuery plugin: Treeview
  • Show all items in a collection
  • Show a item with all fields, attachment, and related items
  • Cross links to authors, year, publisher
  • Clouds for authors, year, publisher, which based on tags clouds in TagsPlugin
  • Cite item(s) in the WIKIs and tickets

Bugs/Feature Requests

Existing bugs and feature requests for TracZoteroPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out TracZoteroPlugin from here using Subversion, or browse the source with Trac.

Installing

  • Install
    • grab the source from SVN.
    • Build and install an egg from this source.
  • Configure
    • The Zotero database (folder including zotero.sqlite) must be located in the htdocs of your Trac environment
    • Add section '[zotero]' section in you trac.ini file, then setting the path of zotero database
      [zotero]
      path = Reference
      
    • if you have different database name other than 'zotero.sqlite', you can set 'dbname'
      [zotero]
      path = Reference
      dbname = zotero.sqlite
      
    • The columns to show items could be specified by 'fields' and 'lables'.
      fields = firstCreator, year, publicationTitle, title
      labels = Authors, Year, Publication, Title
      
    • The links of attachments are rendered as two ways, http:// and zotero://. The default way is http://. you can set 'attachmentlink' as 'locat' to render attachment as 'zotero://'
      attachmentlink = local
      

See attachments for some screenshots

Example

Cites in the WIKI pages

  • Cite a reference with key
    [[ZotCite(TTQ685TT)]]
    
  • Cite multiple references with keys separated by comma ','. The keys can also start with '0_'
    [[ZotCite(TTQ685TT, GCSENNQ8, 0_CVJBVNCN)]]
    
  • You can add any other words except comma after keys to let them easier to look.
    [[ZotCite(CVJBVNCN(Marcellos&Single1975))]]
    
  • Add argument 'ait' or 'authorintext' to cite them as 'Author (year)'
    [[ZotCite(GCSENNQ8(Rebbecketal.2007),ait)]]
    
  • Show reference list
    [[ZotRef]]
    
  • Show all related items
    [[ZotRelated(5RUPZP36)]]
    

Recent Changes

[10361] by helend on 2011-06-21 15:43:06
Add util.py and bug fix
[10360] by helend on 2011-06-21 15:26:29
Add basic search module
[10359] by helend on 2011-06-21 15:13:31
Add basic search module

Author/Contributors

Author: helend
Maintainer: helend
Contributors:

Attachments (5)

Download all attachments as: .zip