Giter VIP home page Giter VIP logo

repec's Introduction

RePEc for Drupal 8

RDF integration with Research Papers in Economics (RePEc) for Drupal 8.

This module is a port of the Drupal 7 version, that is limited to the Working Paper template.

Configuration

  • Obtain a RePEc archive handle and a Provider-Institution handle that will be used in the series template
  • Configure the system wide settings Configuration > Web services > RePEc (/admin/config/repec/settings) that are used for the archive and series template (*arch.rdf and *seri.rdf files)
  • Activate RePEc for each desired content type and map the fields, it will produce the series template (*seri.rdf file)
  • Working Paper templates are then generated/updated while saving entities.
  • Check your configuration with https://econpapers.repec.org/check/{your_handle}

Roadmap

  • Warn users prior to module uninstall that the templates will be removed.
  • Provide an option per content type to create templates based on a per entity flag (use case: share with RePEc a subset of entities, not all of them).

The current version has limitations, so the following improvements can be considered:

  • Currently restricted to content types, open to other entity types
  • Currently the rdf generation/update is done while saving the entities, provide an option to create rdf files for existing entities while enabling a content type
  • Currently limited to RePEc Working Paper, could be opened to other types: journal, book, book chapter, software.

repec's People

Contributors

colorfield avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

repec's Issues

Limit shared entities

Problem/motivation

Provide an option, per bundle, to create templates based on a per entity flag.
Use case: share with RePEc a subset of entities from an entity type bundle, and not all of them.

Proposed resolution

Optionally set, on the bundle configuration, a boolean field to restrict the share per entity.
While content access could be an option for this case, some entities can still be public and not be shared on RePEc, so a flag is a more flexible option.

capture d ecran 2018-09-14 a 13 09 41

Extend author field to other types than user entity reference

The author field set from the bundle configuration could be from several types (user reference, text, ...). The current implementation assumes that the user reference type is the default.

Currently, the module has a limitation to the plain Author-Name attribute for the paper template.
Which opens the possibility for plain text field as source type.
However, user reference makes sense, because the paper template allows to set multiple attributes:

  • Author-Name-First
  • Author-Name-Last
  • Author-Email
  • Author-Workplace-Name

See https://ideas.repec.org/t/papertemplate.html

A minimal implementation needs at least a field validation during the field mapping on the bundle settings form, then coverage for other types if necessary.

Fix author multiplicity

The author field can be multiple, as described in the paper template
https://ideas.repec.org/t/papertemplate.html
Currently, only the first field value is set.

The Drupal 7 module handled the first author only.
The way the template is written needs to be adjusted to allow several authors: currently, the Author-Name is an indexed key from an array so it does not allow multiple values.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.