Skip to content

Commit a18d679

Browse files
committed
Merge pull request #37 from sheffien/master
Change DOI importer to use application/x-bibtex
2 parents 183f735 + 18e7878 commit a18d679

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

CHANGELOG

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[master]
2-
- Fix for bug #1253: Cleanup entries error 2 (by ruy.takata)
2+
- Change the CrossRef content negotiation for bibtex DOI import (by sheffien)
3+
- Fix for bug #1253: Cleanup entries error 2 (by ruy.takata)
34
- Fix for bug 1213 (sourceforge): Fix encoding for DOI import
45
- Feature #809: import pubmed central id (pmc) field from medline
56
- Fix undoing Cleanup/Convert to Biblatex

src/main/java/net/sf/jabref/imports/DOItoBibTeXFetcher.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public BibtexEntry getEntryFromDOI(String doi, OutputPrinter status) {
114114
return null;
115115
}
116116

117-
conn.setRequestProperty("Accept", "text/bibliography; style=bibtex");
117+
conn.setRequestProperty("Accept", "application/x-bibtex");
118118

119119

120120
String bibtexString;
@@ -158,4 +158,4 @@ public BibtexEntry getEntryFromDOI(String doi, OutputPrinter status) {
158158
}
159159
return entry;
160160
}
161-
}
161+
}

src/main/resources/help/About.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ <h2>Contributions from:</h2>
9090
Moritz Ringler,
9191
Andreas Rudert,
9292
Mark Schenk,
93+
Nathan Sheffield,
9394
Rudolf Seemann,
9495
Toralf Senger,
9596
Manuel Siebeneicher,

0 commit comments

Comments
 (0)