-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a6d6ed4
commit 20f2f8c
Showing
2 changed files
with
58 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
#dr-settings.py | ||
|
||
|
||
#### You must configure the following items | ||
|
||
library_id = '000000' # your group or user ID (e.g., six numeric digits) | ||
library_type ='group' # or 'group' # group or userm | ||
api_key = '' # secret key (from Zotero) | ||
|
||
toplevelfilter = 'AAABBBB' # top-collection that is going to be ignored (as a level) | ||
catchallcollection = 'BBBBCCC' # include "Miscellaneous" category at end containing all items not mentioend anywhere else | ||
|
||
|
||
|
||
###### Special settings | ||
|
||
limit=None # None, or set a limit (integer<100) for each collection for debugging | ||
|
||
bib_style = 'apa' # bibliography style format (e.g., 'apa' or 'mla') - Any valid CSL style in the Zotero style repository | ||
|
||
order_by = 'date' # order in each category: e.g., 'dateAdded', 'dateModified', 'title', 'creator', 'type', 'date', 'publisher', 'publication', 'journalAbbreviation', 'language', 'accessDate', 'libraryCatalog', 'callNumber', 'rights', 'addedBy', 'numItems' | ||
|
||
sort_order = 'desc' # "desc" or "asc" | ||
|
||
write_full_html_header = True # False to not output HTML headers. In this case, expect a file in UTF-8 encoding. | ||
|
||
outputfile = 'zotero-bib.html' # relative or absolute path name of output file | ||
category_outputfile_prefix = 'zotero' # relative or absolute path prefix | ||
|
||
show_search_box = True # show a Javascript/JQuery based search box to filter pubs by keyword. Must define jquery_path. | ||
jquery_path = "../wp-includes/js/jquery/jquery.js" # path to jquery file on the server - default: wordpress location | ||
|
||
|
||
|
||
|
||
|
||
## | ||
|
||
|
||
wp_url = 'https://example.com/wp/xmlrpc.php' # Wordpress XMLRPC URL | ||
wp_username = 'pubpusherusername' | ||
wp_password = 'password' | ||
wp_blogid = "0" | ||
|
||
post_id = 225 | ||
|
||
infile = "zotero-bib.html" | ||
|
||
|
||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20f2f8c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lines 24 to 52 in zot.py seem to be redundant after the creation of settings.py.