So users can insert content into PubPub from Google Drive
Requirements
Allows users to specify a pub field which contains a Google Drive URL
Allows users to specify a field which will serve as the html content field for the pub
When run, given google drive URL in field:
Creates related pub field for citations if needed, creates or updates (if already extant) related pubs for citations and adds related fields with string values for any text that should be added to the citation (e.g. page numbers)
Creates related pub field for tags if needed, creates or updates tag pubs and adds related fields with null value
Creates or updates child pubs for images, including uploading images to platform assets bucket in folder named same as pub id
Generates HTML from Google Document in folder and updates specified HTML content Pub field
Acceptance Criteria
Uses a globally stored Google account key (see: #779) to run drive API
Extra work
Users can specify shortcodes for creating related pubs
Motivation
So users can insert content into PubPub from Google Drive
Requirements
Acceptance Criteria
Extra work