discoverygarden / islandora_citations
Installs: 486
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 5
Forks: 6
Open Issues: 11
Type:drupal-module
Requires
- islandora/controlled_access_terms: ^2
- seboettg/citeproc-php: ^2.6.0
- webflo/drupal-finder: ^1.2.2
Suggests
- drupal/base_field_override_ui: To allow the use of 'base' entity fields in mappings.
- dev-main
- v2.4.1
- v2.4.0
- v2.3.3
- v2.3.2
- v2.3.1
- v2.3.0
- v2.2.8
- v2.2.7
- v2.2.6
- v2.2.5
- v2.2.4
- v2.2.3
- v2.2.2
- v2.2.1
- v2.2.0
- v2.1.0
- v2.0.0
- v1.0.0
- dev-fix/lint-php-8.2
- dev-feature/base-fields
- dev-nm20_110
- dev-fix/coding-standards
- dev-adam-vessey-patch-1
- dev-FDR-399
- dev-valid-parsing
- dev-DGIR-116
- dev-FDR-449
- dev-fix/citation_list_keys
- dev-FDR-333
- dev-FDR-422
- dev-citations_fix
- dev-FDR-366
- dev-fix/php-codesniffer-shortopen
- dev-FDR-386
- dev-FDR-385
- dev-add-islandora-group
- dev-revert-33-fix/entity-reference-revisions
- dev-FDR-330
- dev-fix/normalize-err-entities
- dev-fix/entity-reference-revisions
- dev-fix/content-entity-count
- dev-FDR-322
- dev-FDR-363
- dev-FDR-324
- dev-FDR-295
- dev-FDR-321
- dev-FDR-320
- dev-FDR-308-Fix
- dev-FDR-325
- dev-FDR-308
- dev-FDR-323
- dev-FDR-292
This package is auto-updated.
Last update: 2024-11-18 13:40:37 UTC
README
Display citations for Islandora Objects.
Introduction
The module enables users to add multiple citation style languages, map csl fields to drupal fields and render citations using these.
Citation Type Field
A new field, 'field_csl_type' is added which references CSL type taxonomy. This is a required field for rendering citations and derives the citation display.
Citation style languages
An interface is provided to add citation style languages either by pasting the csl in the provided text-area or by uploading a csl file.
Three default citation style languages are provided with the module - APA MLA Chicago Manual of Style
Mapping CSL fields
Any drupal field can be mapped to a csl field with third party settings. Edit any field to update the citations mapping section.
Entity Reference and Entity Reference Revision fields
-
Users are able to map csl fields from the referenced entity by selecting the map from entity option.
-
If a direct mapping is selected for the entity reference field, the title of the referenced entity will be mapped to the selected csl value. This option is not available for paragraphs.
Typed Relation fields
Typed relations fields are mapped directly from their relations. For example, author relation would get mapped to author csl field.
Multi Value fields
Multi value fields are displayed as comma separated strings For multi-value date fields, only the first value is considered and the rest are ignored.
Citations display block
A block is provided which allows users to select a default CSL to render the citations in.
Installation
Install as usual.
Configuration
Add a new citations style language /admin/structure/islandora-citations
Configure the citations block and set a default CSL admin/structure/block/manage/displaycitations
Map csl fields to entity fields admin/structure/types/manage/<content_type>/fields/<field_id> For example: /admin/structure/types/manage/islandora_object/fields/node.islandora_object.field_member_of
Usage
Run the migration for csl type taxonomy - drush migrate:import csl_type
Place the citations block from the block layout section.
Map the relevant drupal fields to csl fields.
Known Issues
Module is under active development and there are some known issues:
- Normalisation of date range fields
- Latest under DGIR-123 we handled below date foemates
- 2023-12-24
- 2023-12
- 2023
- 2023-10/2023-12
- 2023-12-01/2023-12-24
- 2005-05-05/.. OR ../2025 [ Will not map as format is not supported ]
- /2023-10 OR 2023-10/ [ Will not map as format is not supported ]
- Latest under DGIR-123 we handled below date foemates
Sponsors
- State of Florida
Maintainers
Current maintainers:
This project has been sponsored by:
- State of Florida