Hello everybody!
I just subscribed to this list as I am interested in the latest development in
jabref.
And here is already my first contribution, I added some lines of code to latest SVN version, so the RIS importer will recognize the
DOI field when generated from sciencedirect.com
Regards
Alexander Hug
--
Dipl.-Phys. Alexander Hug
Kalkbergstraße 11
63579 Freigericht
Deutschland/Germany
Tel +49-(0)1520 1756951
Fax +49-(0)6055 909660
Mail [email protected]
http://www.alexanderhug.info
Hi! I am a signature virus! copy me into your signature file to help me spread!
Index: src/java/net/sf/jabref/imports/RisImporter.java
===================================================================
--- src/java/net/sf/jabref/imports/RisImporter.java (Revision 3425)
+++ src/java/net/sf/jabref/imports/RisImporter.java (Arbeitskopie)
@@ -191,6 +191,13 @@
// Added ID import 2005.12.01, Morten Alver:
else if (lab.equals("ID"))
hm.put("refid", val);
+ // Added doi import (sciencedirect.com) 2011.01.10, Alexander Hug <[email protected]>
+ else if (lab.equals("M3")){
+ String doi = val;
+ if (doi.startsWith("doi:")){
+ doi = doi.replaceAll("(?i)doi:", "").trim();
+ hm.put("doi", doi);
+ }
}
}
// fix authors
------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web. Learn how to
best implement a security strategy that keeps consumers' information secure
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Jabref-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jabref-users