Hello Oliver, hello jabref developers,
I have follow-up questions to our recent discussion on sf.net "autolink files using metadata (XMP)"
https://sourceforge.net/p/jabref/discussion/318824/thread/76c65ce2/
1) First of all, Oliver seemed to suggest that the "find unlinked files" tool should be able to "Create entry based on XMP data", but I did not find that possibility. Could you just confirm I have not missed something ?
2) What route would you recommend to implement the function I am after (link files to entries using XMP metadata) ? There seem to be several options:
a) One possibility (see discussion above) would be be to extend the "find unlinked files" tool to enable creation of, and/or merging to, entries based on XMP data.
b) Another possibility would be to enable the "find unlinked files" tool to send all selected files to the same code that handles drag'n'dropped PDF files (effectively simulating a drag'n'drop of those files), and extend this code to handle linking to existing entries that match certain XMP fields like DOI.
c) Add to the magic done by "Tools -> Automatically set file links"
d) Create new tool
I would currently favor (b), then (a), but knowing your opinion (and general ideas concerning the way jabref should evolve, see also general questions below) would help greatly and avoid going the wrong way.
2') For your favorite option, if you happen to know which source file I need to modify I'd be gratefull to know.
I have a few more general questions for you:
3) Why are there several tools which appear to do very similar things, yet are not identical / do not offer the same options (see list below)? Is this the trace of some organisational change over time (I guess the answer is 'yes' at least for the "Legacy tools", but is it also for the other two?)?
- Search -> Synchronize file links
- Tools -> Automatically set file links
- Tools -> Legacy tools... -> Synchronize PDF links
3') What is the relation between the Preferences fields $regexp and $pattern found at
- External programs -> External file links / Use Regular _expression_ Search: $regexp
- Import -> Default PDF file link action / File name format pattern: $pattern
4) Are there general guidelines for how import plugins and tools should be written ? Should one provide an API to call one tool from another ? Do you factor common utility functions (scanning a directory, opening files, ...)?
Sorry for the long mail,
cheers,
Adrian
I have follow-up questions to our recent discussion on sf.net "autolink files using metadata (XMP)"
https://sourceforge.net/p/jabref/discussion/318824/thread/76c65ce2/
1) First of all, Oliver seemed to suggest that the "find unlinked files" tool should be able to "Create entry based on XMP data", but I did not find that possibility. Could you just confirm I have not missed something ?
2) What route would you recommend to implement the function I am after (link files to entries using XMP metadata) ? There seem to be several options:
a) One possibility (see discussion above) would be be to extend the "find unlinked files" tool to enable creation of, and/or merging to, entries based on XMP data.
b) Another possibility would be to enable the "find unlinked files" tool to send all selected files to the same code that handles drag'n'dropped PDF files (effectively simulating a drag'n'drop of those files), and extend this code to handle linking to existing entries that match certain XMP fields like DOI.
c) Add to the magic done by "Tools -> Automatically set file links"
d) Create new tool
I would currently favor (b), then (a), but knowing your opinion (and general ideas concerning the way jabref should evolve, see also general questions below) would help greatly and avoid going the wrong way.
2') For your favorite option, if you happen to know which source file I need to modify I'd be gratefull to know.
I have a few more general questions for you:
3) Why are there several tools which appear to do very similar things, yet are not identical / do not offer the same options (see list below)? Is this the trace of some organisational change over time (I guess the answer is 'yes' at least for the "Legacy tools", but is it also for the other two?)?
- Search -> Synchronize file links
- Tools -> Automatically set file links
- Tools -> Legacy tools... -> Synchronize PDF links
3') What is the relation between the Preferences fields $regexp and $pattern found at
- External programs -> External file links / Use Regular _expression_ Search: $regexp
- Import -> Default PDF file link action / File name format pattern: $pattern
4) Are there general guidelines for how import plugins and tools should be written ? Should one provide an API to call one tool from another ? Do you factor common utility functions (scanning a directory, opening files, ...)?
Sorry for the long mail,
cheers,
Adrian
------------------------------------------------------------------------------ Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________ Jabref-devel mailing list Jabref-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jabref-devel