Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DS-3127 (DSpace 6) whitelist of formats allowable in citation pdf url for google scholar #1777

Conversation

tomdesair
Copy link
Contributor

@tomdesair tomdesair commented Jun 19, 2017

This is the port of #1735 to DSpace 6. All information can be found there.

I know the branch and commit are named incorrectly, but this is the fix for https://jira.duraspace.org/browse/DS-3127

@tdonohue
Copy link
Member

tdonohue commented Jun 20, 2017

@tomdesair : FYI, Travis seems to be having issues with this PR. It hangs each time it attempts to run org.dspace.app.util.GoogleMetadataTest, and Travis finally kills the process (I restarted the Travis build a few times and it did the same thing each time). You may wish to run that test locally to see if you can determine the issue.

@@ -73,5 +73,9 @@ google.citation_patent_number =
google.citation_technical_report_number =
google.citation_technical_report_institution = dc.publisher

#priority whitelist for citation_pdf_url, shortnames are defined in dspace/config/registries/bitstream-formats.xml
#priority order is defined here, where the first type is the most important
google.citation.prioritized_types = Adobe PDF, Microsoft Word, Microsoft Word XML, RTF, Photoshop, EPUB
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that the PS format from the original recommended whitelist (PDF, PS, DOC/DOCX, RTF, EPUB) should be PostScript and not Photoshop. This whitelist should list textual formats.

@tomdesair
Copy link
Contributor Author

I don't have access to the branch of this PR so I created a new PR with the fixes: #1785

@toniprieto and @tdonohue Please re-review the new PR.

Closing this one.

@tomdesair tomdesair closed this Jun 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants