DefiningImageAccess/Project/Dictate
From ImageWeb
| DefiningImageAccess/Project/Dictate | |
|---|---|
| homepage:=http://www.jisc.ac.uk/index.cfm?name=project_dictate}} | |
| [[has sub-project::{{{Subproject}}}]]}} | |
| [[sub-project of::{{{Supproject}}}]]}} | |
| start date:=October 2005}} | |
| end date:=January 2006}} | |
| Status:=Completed}} | |
| JISCProject:=true}} | |
| [[Image Materials:={{{ImageMaterials}}}]]}} | |
| Focus:=Metadata Creation and Social Bookmarking}} | |
| Publishes::DefiningImageAccess/Tool/TaggingTool}} | |
| [[References::{{{References}}}]]}} | |
| [[Uses::{{{Uses}}}]]}} | |
| [[Creates::{{{Creates}}}]]}} | |
| Partner::Nature Publishing Group, University of Southampton, Synernet}} | |
| [[Contact::{{{Contact}}}]]}} | |
| Defining Image Access | DefiningImageAccess/RelatedWork |
Contents |
Dictate
Distributed Content Tagging Tool for EPrints
Dictate project - Eprints + tagging - October 2005 to c. Project partners: Nature Publishing Group, University of Southampton, Synernet.
The aim of Project Dictate, undertaken by Nature Publishing Group, was to integrate institutional repositories running the EPrints software with the emerging world of social bookmarking
This project extended EPrints software to integrate with del.icio.us and NPG's Connotea system, the idea being to extent the scope of Connotea's tagging facilities to work with institutional repositories as well as journal publications. The output is a tagging tool that can be used with EPrints.
- http://www.connotea.org/taggingtool
- http://www.jisc.ac.uk/uploaded_documents/NPG_Dictate_Final_Report.doc
- http://www.eprints.org/software
- http://www.hackdiary.com/misc/firefox-delicious-demo.html
The description of implementation in the project's final report suggests a model that might help for some aspects of our data webs work.
Installing Dictate on Eprints 3.0
The official release of Dictate is tested against EPrints 2.3.*. The following steps are needed for the installation:
- Install JavaScript and CSS files.
- Install Perl proxy.
- Modify EPrints page template(s).
- Modify EPrints page building module.
- Configure TaggingTool
1. Install JavaScript and CSS files
copy the following js files to EPHOME/archives/<archive_name>/html/en:
- prototype.js – AJAX library by Sam Stephenson, available from http://prototype.conio.net/
- cookies.js – HTTP cookie management library by Danny Goodman, available from http://www.oreilly.com/catalog/jvdhtmlckbk/
- tagtool.js – primary TaggingTool implementation
- capi.js – Connotea API
- dapi.js – del.icio.us API
copy the css file also to EPHOME/archives/<archive_name>/html/en.
2. Install Perl proxy
Copy “dproxy” to EPHOME/cgi.
Install this script as the eprint installation user and change the access right of the script.
3. Modify EPrints page template(s)
This can be done either over the default.xml of the master copy or of the archive-specific copy. The master copy resides in EPHOME/lib/defaultcfg/lang/en/templates/ and the archive-specific copy resides in EPHOME/archives/<archive_name>/lang/cfg/lang/en/templates/.
The following is needed for the modification:
- editing the default.xml file
- regenerate the static web pages by running EPHOME/bin/generate_static <archive_name>
editing the default.xml file
- Add the following code to the <head> section of the template (existing lines are shown for location context). Add only the lines between the comments:
<title>&archivename; - <ep:pin ref="title" textonly="yes" /></title>
<!-- TaggingTool code starts here -->
<script type="text/javascript" src="/prototype.js"></script>
<script type="text/javascript" src="/cookies.js"></script>
<script type="text/javascript" src="/tagtool.js"></script>
<style type="text/css" media="screen">
@import url(&base_url;/npg.css);
</style>
<!-- TaggingTool code ends here -->
<style type="text/css" media="screen"> @import url(&base_url;/eprints.css);</style>
- Modify the template <body> tag to call the TaggingTool initialization function. Add only the onLoad="runOnLoad(); to the <body> tag:
<body bgcolor="#ffffff" text="#000000" topmargin="0" rightmargin="0" leftmargin="0"
marginwidth="0" marginheight="0" onLoad="runOnLoad();">
4. Modify EPrints page building code
editing the eprint_render.pl file in EPHOME/archives/<archive_name>/cfg/cfg.d
5. Configure TaggingTool
All the configuration of Dictate resides in the TaggingTool.js file.

