citation_select

Provides functionality for object citation - configurable

https://github.com/digitalutsc/citation_select

Science Score: 31.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.6%) to scientific vocabulary
Last synced: 10 months ago · JSON representation ·

Repository

Provides functionality for object citation - configurable

Basic Info
  • Host: GitHub
  • Owner: digitalutsc
  • Language: PHP
  • Default Branch: 2.0.x
  • Homepage:
  • Size: 95.7 KB
Statistics
  • Stars: 0
  • Watchers: 5
  • Forks: 1
  • Open Issues: 2
  • Releases: 0
Created over 4 years ago · Last pushed about 1 year ago
Metadata Files
Readme Citation

README.md

Citation Select

Citation Select Drupal module adds a block that allows users to select and view citations of a node object from a list of citation styles. Uses Citation Style Language (CSL) provided by the Bibcite module.

Setup and Usage

Requirements

  • Token module
  • Citeproc-php Library
  • ADCI/Full-Name-Parser Library

Installation

Download module using Composer, and enable with Drush.

Configuration

Block

  1. Place the "Citation Select Block" as a Drupal block (for example, at Structure › Block Layout).
  2. Select the content types that the block should appear in under Configure Block

Mapping

  1. Navigate to Configuration › Citation Select settings › CSL Mappings.
  2. Select node fields to map citation fields from
    1. Mappings can be set for the "type" of citation (e.g. book, document). For example, if your system uses the term Paged Content to identify books, the Name of that term (e.g. "Paged Content") can be mapped to the CSL-recognized term book. If there is no valid type or the field cannot be found, then the type is set to document
    2. Mappings can also be set for Typed Relation fields (see Controlled Access Terms module). For example, if the machine name of a relation is relators:aut, that can be mapped to author so that the correct relations can be extracted for the author field in CSL. Note that the typed relation field must also be set in the CSL field mapping for the "author" CSL field.

Styles

  1. Upload more citation styles using CSL by navigating to Configuration > Citation Select settings > CSL Styles.

Usage

  1. Place the Citation Select block to appear on desired node pages.
  2. Configure the Citation Select CSL Mapping to map node fields to CSL fields.
  3. Install some CSL styles.
  4. Use the Citation Select block on the node's page to choose a citation style. The formatted citation will appear below the block and can be copied with the "Copy citation" button.

Note

If using EDTF dates as a field for citation processing beware of the following: - Citation Select processor is unable to handle open interval dates (i.e [..2003] or ../2003) - Citation Select will ignore these types of date sets or intervals and cite as if the dates do not exist - Citation Select allows for closed date sets and closed interval dates along with single dates (i.e [1999-01..2003-02] or 1999/2003 or 2003-02-01)

Owner

  • Name: The Digital Scholarship Unit at the University of Toronto Scarborough Library
  • Login: digitalutsc
  • Kind: organization
  • Email: dsu.utsc@utoronto.ca
  • Location: Scarborough, ON

provides UTSC-specific support for digital scholarship

Citation (citation_select.info.yml)

name: Citation Select
type: module
description: Allows users to generate a citation based on a node.
package: Custom
core_version_requirement: ^8.8 || ^9 || ^10 || ^11
configure: citation_select.settings
dependencies:
  - drupal:token

GitHub Events

Total
  • Issues event: 4
  • Issue comment event: 3
  • Push event: 1
Last Year
  • Issues event: 4
  • Issue comment event: 3
  • Push event: 1

Issues and Pull Requests

Last synced: over 1 year ago

All Time
  • Total issues: 13
  • Total pull requests: 18
  • Average time to close issues: 11 months
  • Average time to close pull requests: 17 days
  • Total issue authors: 5
  • Total pull request authors: 5
  • Average comments per issue: 0.38
  • Average comments per pull request: 0.0
  • Merged pull requests: 16
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 2
  • Average time to close issues: N/A
  • Average time to close pull requests: 2 months
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • larkgz (4)
  • kylehuynh205 (4)
  • Natkeeran (2)
  • gerbie-goober (1)
  • kstapelfeldt (1)
Pull Request Authors
  • HyphenHook (10)
  • larkgz (5)
  • kylehuynh205 (4)
  • jeffbuyunhe (3)
  • rosiel (1)
Top Labels
Issue Labels
good first issue (3) bug (1) enhancement (1)
Pull Request Labels

Dependencies

composer.json packagist
  • drupal/bibcite ~2.0
  • drupal/token ^1.9
  • professional-wiki/edtf ~2.0
.github/workflows/gitlab_mirror.yml actions
  • SvanBoxel/gitlab-mirror-and-ci-action master composite
  • actions/checkout v1 composite