View Single Post
Old 01-26-2010, 12:45 PM   #1
stsu
Member
stsu began at the beginning.
 
Posts: 13
Karma: 24
Join Date: Jan 2010
Device: irex dr1000s
Zotero database browser for iOn

Zotero is a firefox extension to manage research resources.
I wrote a small program named "zbi" which browse the database of Zotero and open files by appropriate viewers in DR1000s.

Version 0.9_1
* The bug below is fixed.
* Some small bugs (hopefully) fixed.

Version 0.9
See the post below (dated 04-08?09?) for detail.
* Works for both zotero1 and zotero2.
* Query by any combination of collection, tag, creator etc is available.
* Optionally, you can add Publication column.
* Menu added.
* Appropriate tags only will be displayed.
* PC utilities to create zbi's database included.

* I found a small bug: Attachment files in "Trash" will be listed. I will fix it soon.


Version 0.7_1
* A small but maybe IMPORTANT modification. See the post below (dated 04-06) for detail. I recommend that version 0.7 users update zbi to this version or to version 0.9.
Corresponding new versions zbi2-0.7_1, zbi2-0.71_1 for zbi2 are also available.
* A small bug fix. Recently opened items would not doubly listed.


VERSION 0.7
* Recently opened 10 items are listed on starting the program.
You can change the number "10" by editing the file "zbi.history" in "_zbi/share/zbi". (This file is created after you first quit the program.)


WARNING!
This is the alpha release (and I am a beginner in programming),
so the program could have serious bugs.

REQUIRE:
DR1000S firmware 1.7.1
(Try zbiXX-1.6 if you are using firmware 1.6.)
Zotero 1.0
(I posted a version which might work for zotero 2.0 below.)

INSTALL:
Unpack the zip file, then you will get a directory named "Programs". Copy the "Programs" directory to the root of your SD card.
(SD-card-root/Programs/_zbi etc. )

USAGE:
1. Copy entire Zotero data directory (the default name is "zotero", which contains a file named "zotero.sqlite" and a directory named "storage") to the root of your SD card
(or wherever you want, in that case, edit the shortcut file zbi.desktop).
2. Go to Home > Documents > Programs and use the zbi shortcut to start it.
3. Use the stylus to select an item. (I have not yet implement key navigation.)
(1) Choose a collection. ("*" for all the collections.)
(2) Select Tag/Title-Creator buttons/Added button. Selection by Tag/Title-Creator/Added are exclusive.
(3) Select an item.
(4) Select an attachment file, then it will be opend by the default viewer for the file extension.

NOTES:
1. By default, zbi will create the metadata.db file (if not exists) at opening
an attachment file. If you do not want it, then add "0" to the end of
the last line of the shortcut file zbi.desktop as follows:

Exec=/media/mmcblk0p1/Programs/_zbi/bin/zbi /media/mmcblk0p1/zotero/zotero.sqlite 0

2. zbi opens the database file zotero.sqlite in read-only mode and does not affect the zotero data directory except creating medadata.db files as described above. However, I am not sure what happens if you sync the zotero data directory with your PC.
3. zbi looks /apps/er/sys/ctb/filetypes/ for the viewer command.

TODO(someday):
key navigation, multiple tag selection, internationalisation. ...

Comments and suggestions are welcome.
Enjoy!
Attached Thumbnails
Click image for larger version

Name:	zbi1.jpg
Views:	526
Size:	77.1 KB
ID:	44342   Click image for larger version

Name:	zbi2.jpg
Views:	423
Size:	77.1 KB
ID:	44343  
Attached Files
File Type: zip zbi0.6.zip (77.1 KB, 338 views)
File Type: zip zbi0.7.zip (83.1 KB, 372 views)
File Type: zip zbi0.7-1.6.zip (83.1 KB, 307 views)
File Type: zip zbi0.7_1.zip (20.4 KB, 296 views)
File Type: zip zbi2-0.7_1.zip (20.5 KB, 298 views)
File Type: zip zbi2-0.71_1.zip (21.1 KB, 285 views)
File Type: zip zbi0.9.zip (32.6 KB, 288 views)
File Type: zip zbi0.9_1.zip (33.6 KB, 277 views)

Last edited by stsu; 04-09-2010 at 12:29 PM. Reason: new version
stsu is offline   Reply With Quote