Difference between revisions of "Terroir - WordPress + Zotero"

From Help Wiki
(Created page with "__NOTOC__ ===Setting up Zotero with an API/Feed!=== #In another browser tab login into zotero.org and go to the [https://www.zotero.org/settings/keys Settings > Feeds/API page...")
 
m
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
===Setting up Zotero with an API/Feed!===
+
The WordPress plugin ZotPress allows you to connect your Zotero.org account and library to your WordPress site. Once connected you can use shortcode to dynamically create bibliographies or in-text citations using entries directly from your Zotero library.
 +
 
 +
===Getting Started===
 +
This tutorial requires that you already have an account at Zotero.org and understand the basics of working with Zotero. The following steps work best if you have 2 tabs open in your browser - one open to your WordPress site and another to Zotero.org.
 +
[[File:Zotero-create-api-key.png|thumb|right|300px|Create Zotero API Key]]
 +
 
 +
 
 +
===Setting up Zotero with an API/Feed===
 
#In another browser tab login into zotero.org and go to the [https://www.zotero.org/settings/keys Settings > Feeds/API page]
 
#In another browser tab login into zotero.org and go to the [https://www.zotero.org/settings/keys Settings > Feeds/API page]
 
# Click '''Create new private key'''
 
# Click '''Create new private key'''
 
#Give it a description (like ZotPress) so you know what it's being used for
 
#Give it a description (like ZotPress) so you know what it's being used for
#Accept the defaults and click '''Save Key'''
+
#Set '''Default Group Permissions" to Read Only
 +
#Accept the remainder defaults and click '''Save Key'''
 +
[[File:Zotero-save-key.png| thumb|right|200px|Enter a description and save your key]]
  
===Setting up ZotPress!===
+
 
 +
 
 +
 
 +
 
 +
===Setting up ZotPress in WordPress===
 
#Login into your WordPress site
 
#Login into your WordPress site
 
#Activate the ZotPress plugin from your Dashboard
 
#Activate the ZotPress plugin from your Dashboard
Line 12: Line 25:
 
#ZotPress needs to connect to your Zotero account and is going to need to know your:
 
#ZotPress needs to connect to your Zotero account and is going to need to know your:
 
#* Account Type = Group
 
#* Account Type = Group
#* API User ID ''(from zotero.org - hover over group settings to view group ID in URL lower left)''
+
#* API User ID (in our case use your Group's User ID [[File:Group-id.png|thumb|right|300px|Find your Group's user ID]]
#* A private key ''(from zotero.org)''
+
#* ''from zotero.org - go to your '''group settings''' to view group ID in URL''
 +
#* A private key ''(the one you created at zotero.org)''
 
#* A nickname for the account to make it easy to reference i.e., Group7
 
#* A nickname for the account to make it easy to reference i.e., Group7
 
#Click the '''Validate''' button when you're set
 
#Click the '''Validate''' button when you're set
 
#Choose your default options and click next
 
#Choose your default options and click next
#Import the contents of your Zotero account into your WordPress site
 
  
===Adding citations to site's posts/pages!===
+
 
 +
 
 +
 
 +
 
 +
 
 +
===Adding citations to site's posts/pages===
 
ZotPress uses a set of shortcodes with parameters to call the plugin and pull filtered content from your Zotero account. To learn how to use these shortcodes:
 
ZotPress uses a set of shortcodes with parameters to call the plugin and pull filtered content from your Zotero account. To learn how to use these shortcodes:
 
#Navigate to ZotPress in your Dashboard and go to the '''Help''' section and review the shortcodes
 
#Navigate to ZotPress in your Dashboard and go to the '''Help''' section and review the shortcodes
====Create a site wide bibliography====
+
 
#Create a new page called bibliography
+
 
 +
[[File:Collection-ID.png|thumb|right|300px|Locate the Collection ID]]
 +
====Create a bibliography of a collection in WordPress====
 +
#Navigate to and Edit your Bibliography page
 
#Add the shortcode that will display the Zotero references for a site-wide bibliography this could be organized by "Collection", "Tag" or perhaps your entire Zotero account (userid or nickname)
 
#Add the shortcode that will display the Zotero references for a site-wide bibliography this could be organized by "Collection", "Tag" or perhaps your entire Zotero account (userid or nickname)
#*To create a bibliography by collection use <nowiki>[zotpress collection=""]</nowiki>
+
#*To create a bibliography by collection use <nowiki>[zotpress collection=""]</nowiki> and enter the Collection ID between the quotes
 +
#* To find the Collection ID, in Zotero.org navigate to your Group's Library and select the Collection/folder
 +
#* Copy the ID from the URL bar in your browser
 +
 
 +
 
  
====Create an in-text citation====
 
Note: you will need to know the hash value for each citation item. This is located in the '''Browse''' area of ZotPress
 
Here's what an in-text citation might look like in your rich text editor:
 
:Katie said, "Zotpress is cooler than your shoes" <nowiki>[zotpressInText item="{NCXAA92F,36}"].</nowiki>
 
And this is what it might look like on your blog:
 
:Katie said, "Zotpress is cooler than your shoes" (Seaborn, 2012, p. 36).
 
To display the auto-generated bibliography, place the <nowiki>[zotpressInTextBib]</nowiki> shortcode somewhere in your entry after the in-text citation shortcodes.
 
  
 
[[Category:2015-2016]]
 
[[Category:2015-2016]]

Latest revision as of 17:08, 7 March 2016

The WordPress plugin ZotPress allows you to connect your Zotero.org account and library to your WordPress site. Once connected you can use shortcode to dynamically create bibliographies or in-text citations using entries directly from your Zotero library.

Getting Started

This tutorial requires that you already have an account at Zotero.org and understand the basics of working with Zotero. The following steps work best if you have 2 tabs open in your browser - one open to your WordPress site and another to Zotero.org.

Create Zotero API Key


Setting up Zotero with an API/Feed

  1. In another browser tab login into zotero.org and go to the Settings > Feeds/API page
  2. Click Create new private key
  3. Give it a description (like ZotPress) so you know what it's being used for
  4. Set Default Group Permissions" to Read Only
  5. Accept the remainder defaults and click Save Key
Enter a description and save your key



Setting up ZotPress in WordPress

  1. Login into your WordPress site
  2. Activate the ZotPress plugin from your Dashboard
  3. Navigate to your ZotPress settings in your Dashboard and click Next to connect your Zotero Account to your WordPress site
  4. ZotPress needs to connect to your Zotero account and is going to need to know your:
    • Account Type = Group
    • API User ID (in our case use your Group's User ID
      Find your Group's user ID
    • from zotero.org - go to your group settings to view group ID in URL
    • A private key (the one you created at zotero.org)
    • A nickname for the account to make it easy to reference i.e., Group7
  5. Click the Validate button when you're set
  6. Choose your default options and click next




Adding citations to site's posts/pages

ZotPress uses a set of shortcodes with parameters to call the plugin and pull filtered content from your Zotero account. To learn how to use these shortcodes:

  1. Navigate to ZotPress in your Dashboard and go to the Help section and review the shortcodes


Locate the Collection ID

Create a bibliography of a collection in WordPress

  1. Navigate to and Edit your Bibliography page
  2. Add the shortcode that will display the Zotero references for a site-wide bibliography this could be organized by "Collection", "Tag" or perhaps your entire Zotero account (userid or nickname)
    • To create a bibliography by collection use [zotpress collection=""] and enter the Collection ID between the quotes
    • To find the Collection ID, in Zotero.org navigate to your Group's Library and select the Collection/folder
    • Copy the ID from the URL bar in your browser