@mjhls/mjh-framework 1.0.893-ris-v2 → 1.0.893-ris-v3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/View.js +2 -1
- package/dist/esm/View.js +2 -1
- package/package.json +1 -1
package/dist/cjs/View.js
CHANGED
|
@@ -659,11 +659,12 @@ var Article = React.forwardRef(function (props, ref) {
|
|
|
659
659
|
return null;
|
|
660
660
|
};
|
|
661
661
|
var generateRIS = function generateRIS() {
|
|
662
|
+
console.log(props);
|
|
662
663
|
var fileContent = 'TY - JOUR\n';
|
|
663
664
|
if (article.title) fileContent += 'TI - ' + article.title + '\n'; //Title - TI
|
|
664
665
|
if (article.summary) fileContent += 'N2 - ' + article.summary + '\n'; //Abstract - N2
|
|
665
666
|
if (issue) {
|
|
666
|
-
if (issue.
|
|
667
|
+
if (issue.issueNumber) fileContent += 'IS - ' + issue.issueNumber + '\n'; //Issue Number - IS
|
|
667
668
|
if (issue.publication && issue.publication.name) {
|
|
668
669
|
fileContent += 'JF - ' + issue.publication.name + '\n'; //Journal Name - JF
|
|
669
670
|
fileContent += 'JO - ' + issue.publication.name + '\n'; //Journal Name - JO
|
package/dist/esm/View.js
CHANGED
|
@@ -649,11 +649,12 @@ var Article = forwardRef(function (props, ref) {
|
|
|
649
649
|
return null;
|
|
650
650
|
};
|
|
651
651
|
var generateRIS = function generateRIS() {
|
|
652
|
+
console.log(props);
|
|
652
653
|
var fileContent = 'TY - JOUR\n';
|
|
653
654
|
if (article.title) fileContent += 'TI - ' + article.title + '\n'; //Title - TI
|
|
654
655
|
if (article.summary) fileContent += 'N2 - ' + article.summary + '\n'; //Abstract - N2
|
|
655
656
|
if (issue) {
|
|
656
|
-
if (issue.
|
|
657
|
+
if (issue.issueNumber) fileContent += 'IS - ' + issue.issueNumber + '\n'; //Issue Number - IS
|
|
657
658
|
if (issue.publication && issue.publication.name) {
|
|
658
659
|
fileContent += 'JF - ' + issue.publication.name + '\n'; //Journal Name - JF
|
|
659
660
|
fileContent += 'JO - ' + issue.publication.name + '\n'; //Journal Name - JO
|