For some years I have used the Bibus python script as my reference manager software. The software works fine but the import of new references was always a bit cumbersome. Then Zotero and later on Mendeley appeared as viable alternatives to Bibus. Both featuring much better import and synchronization features. I have used Zotero for some time to collect scientific references and webpages. However I couldn't figure out a transparent way to import my old collection from Bibus. My trials in importing via a RIS file failed badly and I couldn't find a way to import my old collection of pdf files which were referenced in the bibus database. When I first tried the RIS import in Mendeley it worked immediately which means it did import all the records without giving up somewhere in the middle. However there were some minor problems related to file paths, conference proceedings and keywords. In the end I was able to fix all this by editing the RIS file before importing it. The details are given below.


Export/Import via a RIS file


1) Export all references from within Bibus (~200009 as a RIS file using UTF-8 character encoding

2) Editing the RIS text file (I have  used the Scite editor for this)

2a) Set encoding of file to UTF-8

2b) Conference Proceedings titles were tagged by ‘BT  - ‘ which turned out not to work with Mendeley. I replaced all ‘BT  - ‘ tags with ‘JF  - ‘.

2c) I replaced all local url file path to reflect the new location ( z:\bibus\files\ was replaced by c:/pdflib/) . Note the use of forward slashes in the file path!

2d) Bibus exported the hierarchical keywords using a ‘U5  -‘ tag. Different keys were separated by hyphens. Unfortunately replacing U5 by KW is not sufficient to import the keywords separately. For this I wrote a little python script to format the keywords in the correct way:

Bibus output: KW  - physics;semiconductor;LED

required formatting:

KW  - physics

KW – semiconductor


More on the script below!

3) Copy over all the pdf’s referenced in the bibus database to the new location

4) In Mendeley go to ‘Add documents’ – Add Files and select the edited ris file. The file must have the ‘.ris’ extension!

5) Now wait for the import to finish. It took a few minutes on my notebook to import the 20000 references. Be aware that once the import seems to be finished, Mendeley continues to grind in the background for a couple of minutes more! I think it is creating the search index…

6) Done! Mendeley is clever enough to see that the pdf’s imported via the url field are local files and so the same file is also appearing in Mendeleys file field! Great!

7) Set the file management options in Mendeley:




Here’s the crude python script I used to reformat the keyword field (path of input and output files directly coded into the script code….).

# -*- coding: utf-8 -*-

# input and out files:
inp = 'c:/Users/klaus/Downloads/~~allrefs.ris'
outp = 'c:/Users/klaus/Downloads/~~allrefs-new.ris'
f = open(inp,'r')
f2 = open(outp,'w')

for line in f:
    if 'KW  - ' in line :
         tmp = line.split('KW  - ')
         tmp2 = tmp[1].split(';')
         s = ''
        for x in tmp2:
        s = s + 'KW  - ' + x + '\n'

  else :




Managing pdf files

19,243 comments so far

Add Your Comment
  1. hemp oil4

  2. hemp oil benefits28

  3. hemp oil for pain86

  4. benefits of hemp oil26

  5. optivida hemp oil40

  6. hemp oil vs cbd oil6

  7. hemp oil side effects85

  8. hemp oil arthritis90

  9. nutiva hemp oil69

  10. cbd oil vs hemp oil46

  11. side effects of hemp oil44

  12. best hemp oil16

  13. healthy hemp oil44

  14. hemp oil benefits dr oz67

  15. hemp oil extract44

  16. cbd oil31

  17. buy cbd68

  18. buy cbd usa62

  19. cbd oil for sale3

  20. cbd oil for pain12

  21. charlottes web cbd oil41

  22. what is cbd oil63

  23. cbd oil at walmart81

  24. cbd oil for dogs40

  25. cbd oil side effects63

  26. best cbd oil16

  27. cbd oil florida64

  28. strongest cbd oil for sale45

  29. green roads cbd oil40

  30. benefits of cbd oil51

  31. cbd oil canada68

  32. best cbd oil for pain9

  33. plus cbd oil44

  34. buy cbd online55

  35. cbd oil dosage23

  36. hempworx cbd oil6

  37. cbd oil in canada63

  38. cbd oil canada online19

  39. cbd oil price92

  40. cbd oil online75

  41. cbd oils94

  42. cbd hemp21

  43. hemp oil89

You must be logged in to post a comment.