DefiningImageAccess/Project/Dictate

From ImageWeb

Jump to: navigation, search


{{#ifeq:Distributed Content Tagging Tool for EPrints(Dictate)|||| colspan="2" style="text-align: center; background: #CAF7B7"|
ProjectName:=Distributed Content Tagging Tool for EPrints(Dictate)
}}

{{#ifeq:www.jisc.ac.uk/index.cfm?name=project_dictate||||style="vertical-align: top;" |Homepage

{{#ifeq:||||style="vertical-align: top;" |has sub-project: {{#ifeq:||||style="vertical-align: top;" |Sub-project of: {{#ifeq:October 2005||||style="vertical-align: top;" |Start {{#ifeq:January 2006||||style="vertical-align: top;" |End {{#ifeq:Completed||||style="vertical-align: top;" |Status {{#ifeq:true||||style="vertical-align: top;" |JISCProject {{#ifeq:||||style="vertical-align: top;" |ImageMaterials {{#ifeq:Metadata Creation and Social Bookmarking||||style="vertical-align: top;" |Focus {{#ifeq:DefiningImageAccess/Tool/TaggingTool||||style="vertical-align: top;" |Publishes: {{#ifeq:||||style="vertical-align: top;" |References: {{#ifeq:||||style="vertical-align: top;" |Uses: {{#ifeq:||||style="vertical-align: top;" |Creates: {{#ifeq:Nature Publishing Group, University of Southampton, Synernet||||style="vertical-align: top;" |Partner: {{#ifeq:||||style="vertical-align: top;" |Contact:
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.

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:

  1. Install JavaScript and CSS files.
  2. Install Perl proxy.
  3. Modify EPrints page template(s).
  4. Modify EPrints page building module.
  5. Configure TaggingTool

1. Install JavaScript and CSS files

copy the following js files to EPHOME/archives/<archive_name>/html/en:

  1. prototype.js – AJAX library by Sam Stephenson, available from http://prototype.conio.net/
  2. cookies.js – HTTP cookie management library by Danny Goodman, available from http://www.oreilly.com/catalog/jvdhtmlckbk/
  3. tagtool.js – primary TaggingTool implementation
  4. capi.js – Connotea API
  5. 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:

  1. editing the default.xml file
  2. 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>
  1. 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.

Personal tools
Oxford DMP online
MIIDI
Claros