bin.zotero.zotero_item

Originally (c) Sebastiaan Mathot 2011 Modifications (c) 2014 Martin Paul Eve

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Module Contents

bin.zotero.zotero_item.term_collection = [None, 'collection'][source]
bin.zotero.zotero_item.term_tag = [None, 'tag'][source]
bin.zotero.zotero_item.term_author = [None, 'author'][source]
bin.zotero.zotero_item.term_date = [None, 'date', 'year'][source]
bin.zotero.zotero_item.term_publication = [None, 'publication', 'journal'][source]
bin.zotero.zotero_item.term_title = [None, 'title'][source]
bin.zotero.zotero_item.cache[source]
class bin.zotero.zotero_item.zoteroItem(init=None, noteProvider=None)[source]

Bases: object

Represents a single zotero item.

match(self, terms)[source]

Matches the current item against a term.

Arguments: terms – A list of (term_type, term) tuples.

Returns: True if the current item matches the terms, False otherwise.

get_note(self)[source]

Retrieves a note.

Returns: A note for the current item.

format_single_author(self, author)[source]
format_multiple_author(self, authors)[source]
format_author(self)[source]

Returns: A pretty representation of the author.

format_date(self)[source]

Returns: A pretty representation of the date.

format_title(self)[source]

Returns: A pretty representation of the title.

format_publication(self)[source]

Returns: A pretty representation of the publication (journal).

format_tags(self)[source]

Returns: A pretty representation of the tags.

gnotero_format(self)[source]

Returns: A pretty apa-like representation of the item, which can be used as a label in Qnotero.

full_format(self)[source]

Returns: A pretty, extensive representation of the current item.

simple_format(self)[source]

Returns: A pretty, simple representation of the current item.

JATS_format(self)[source]
hashKey(self)[source]

Returns: A hash representation of the current object.