07/09/07 1 DSpace: Make it you own Documentation Research and Training Centre Indian Statistical Institute Bangalore Biswanath Dutta

Slides:



Advertisements
Similar presentations
EPrints Web Configuratio n Management. SQL database Web server Scripts to configure repository activities Configuration files EPrints - the Administrator's.
Advertisements

Struts Portlet Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
Chapter 3 – Web Design Tables & Page Layout
WEB DESIGN TABLES, PAGE LAYOUT AND FORMS. Page Layout Page Layout is an important part of web design Why do you think your page layout is important?
JSF Portlet Backing Beans and UI Components Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in.
Apache Struts Technology
Chapter 3 – Designing your web pages Dr. Stephanos Mavromoustakos.
HTML – A Brief introduction Title of page This is my first homepage. This text is bold  The first tag in your HTML document is. This tag tells your browser.
Developing Interfaces and Interactivity for DSpace with Manakin Part 5: Introduction to Manakin’s Theme Tier Eric Luhrs Digital Initiatives Librarian,
Customizing the MOSS 2007 Search Results November 2007 Rafael Perez.
Mukesh Pund Scientist NISCAIR New Delhi
Seattle Drupal Clinic Introduction to Drupal and Web Content Management.
High Performance Information Systems Laboratory University of Patras – School of Engineering Department of Computer Engineering & Informatics Enabling.
Defacing DSpace with Manakin DSpace User Group, February 2006 Scott Phillips Texas A&M University DSpace XML UI:
Manakin Workshop DSpace User Group, February 2006 Scott Phillips Texas A&M University
Object-Oriented Enterprise Application Development Tomcat 3.2 Configuration Last Updated: 03/30/2001.
1 Computing for Todays Lecture 22 Yumei Huo Fall 2006.
There is a certain way that an HTML file should be set up. The HTML section declares a beginning and an ending. Within the HTML, there should be a HEAD.
Tutorial 3: Adding and Formatting Text. 2 Objectives Session 3.1 Type text into a page Copy text from a document and paste it into a page Check for spelling.
MAKING DSPACE 1.5.X YOUR OWN CUSTOMIZATION VIA OVERLAYS Open Repositories 2009 Tim Donohue Research Programmer IDEALS University of Illinois.
CSS (Cascading Style Sheets): How the web is styled Create Rules that specify how the content of an HTML Element should appear. CSS controls how your web.
Web Development & Design Foundations with XHTML Chapter 9 Key Concepts.
Drupal Workshop Introduction to Drupal Part 1: Web Content Management, Advantages/Disadvantages of Drupal, Drupal terminology, Drupal technology, directories.
DSpace XML UI Project Texas A&M University Digital Initiatives, Research and Technology Scott Phillips, Cody Green, Alexey Maslov, Adam Mikeal, Brian Surratt,
Web 2.0: Concepts and Applications 2 Publishing Online.
Web Development & Design Foundations with XHTML Chapter 6 Key Concepts.
M. Taimoor Khan * Java Server Pages (JSP) is a server-side programming technology that enables the creation of dynamic,
Module - Technical Basics
Getting Started with Expression Web 3
Developing Interfaces and Interactivity for DSpace with Manakin Part 2: Technical and Conceptual Overview of Dspace and Manakin Eric Luhrs Digital Initiatives.
LATTICE TECHNOLOGY, INC. For Version 10.0 and later XVL Web Master Advanced Tutorial For Version 10.0 and later.
Tutorial 10 Adding Spry Elements and Database Functionality Dreamweaver CS3 Tutorial 101.
XP New Perspectives on Browser and Basics Tutorial 1 1 Browser and Basics Tutorial 1.
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Tutorial 30 – Bookstore Application: Client Tier Introducing.
Website Development with Dreamweaver
PUBLISHING ONLINE Chapter 2. Overview Blogs and wikis are two Web 2.0 tools that allow users to publish content online Blogs function as online journals.
DSpace UI Alexey Maslov. DSpace in general A digital library tool useful for storage, maintenance, and retrieval of digital documents Two types of interaction:
IUScholarWorks is a set of services to make the work of IU scholars freely available. Allows IU departments, institutes, centers and research units to.
Just A Few More Fun Objectives 1 Having Some Fun With Java Script 2 Using Style Sheets.
The DSpace Course Module - Look & Feel Customisation.
Tutorial 7 Creating Forms. Objectives Session 7.1 – Create an HTML form – Insert fields for text – Add labels for form elements – Create radio buttons.
The DSpace Course Module - Language Customisation.
CSS Cascading Style Sheets. CSS Advantages Greater typography and page layout control Style is separate from structure Styles can be stored in a separate.
Forms and Server Side Includes. What are Forms? Forms are used to get user input We’ve all used them before. For example, ever had to sign up for courses.
Cascading Style Sheets (CSS) Within the Enterprise Architecture Framework (EAF) Wes Ziegeler August 3, 2006.
Seattle Drupal Clinic Introduction to Drupal Part 1: Web Content Management, Advantages/Disadvantages of Drupal, Drupal terminology.
IReport Demo Spring 2008 OEDSA Conference. Report Properties.
HTML Basics BCIS 3680 Enterprise Programming. Web Client/Server Architecture 2  Your browser (the client) requests a Web page from a remote computer.
Tutorial 6 Working with Web Forms. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Explore how Web forms interact with.
IUScholarWorks Technical Overview Randall Floyd Digital Library Program Programmer/Database Administrator.
PART 1: INTRODUCTION TO BLOG Instructor: Mr Rizal Arbain FB:Facebook/rizal.arbain Website: H/P: Ibnu.
CS562 Advanced Java and Internet Application Introduction to the Computer Warehouse Web Application. Java Server Pages (JSP) Technology. By Team Alpha.
Introduction to HTML. _______________________________________________________________________________________________________________ 2 Outline Key issues.
Preface IIntroduction Objectives I-2 Course Overview I-3 1Oracle Application Development Framework Objectives 1-2 J2EE Platform 1-3 Benefits of the J2EE.
Tutorial 6 Working with Web Forms. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Explore how Web forms interact with.
DSpace System Architecture 11 July 2002 DSpace System Architecture.
Cascading Style Sheets Primary readings Presentations Explain & review projects with class mates.
28 Copyright © 2009, Oracle. All rights reserved. Customizing the Oracle Business Intelligence User Interface.
10 Copyright © 2004, Oracle. All rights reserved. Building ADF View Components.
Building a Website: Layout Fall Overall Structure: Home Page Title Section Title Frame Picture UNCP Math Menu Content Footer Contact Information.
APACHE STRUTS ASHISH SINGH TOMAR ast2124. OUTLINE Introduction The Model-View-Controller Design Pattern Struts’ implementation of the MVC Pattern Additional.
24 Copyright © 2009, Oracle. All rights reserved. Building Views and Charts in Requests.
Apache Struts Technology A MVC Framework for Java Web Applications.
Breeda Herlihy, IR Manager, UCC Library. UCC selected DSpace in 2008 Software selection group Staff from Library IT, Computer Centre, Special Collections,
XP Creating Web Pages with Microsoft Office
CSS Introductions. Objectives To take control of the appearance of a Web site by creating style sheets. To use a style sheet to give all the pages of.
DSpace Customization NISCAIR New Delhi
Overview Blogs and wikis are two Web 2.0 tools that allow users to publish content online Blogs function as online journals Wikis are collections of searchable,
Introduction, Features & Technology
Presentation transcript:

07/09/07 1 DSpace: Make it you own Documentation Research and Training Centre Indian Statistical Institute Bangalore Biswanath Dutta

07/09/07 2 Why to make it our own Your own institutional need User interface enhancements

07/09/07 3 Basic understanding of XHTML Basic understanding of CSS (Not necessary) Skills Required for DSpace Customization

07/09/07 4 Three Layers of DSpace Application Layer (UI) : JSPs (XHTML/CSS) & Servlets Business Logic Layer : Java Classes / Objects Storage Layer : Database & Filesystem APIs

07/09/07 5 DSpace Architecture Ref:

07/09/07 6 JSPs (Java Server Pages) create HTML for the browsers to display JSP Tags, which help to "build" the webpage, and usually contain code useful to many different JSPs. Java Servlets, which perform any requests a User makes through the UI, and provide JSPs with all the information they need to create the next webpage. Java Classes, which define and retrieve information about the "objects" within the system.

07/09/07 7 How Java Interacts in DSpace

07/09/07 8 DSpace Directories Source Directories ([/home/dspace/dspace-source/]) All customization generally takes place here  config/ - DSpace configurations  jsp/ - DSpace JSPs  src/ - DSpace Servlets & Classes Installaed Directories ([/home/dspace/])  Home to all "live" configuration files, properties, Java libraries (including dspace.jar)  Usually home to log files, reports, search indices, and "bitstreams" themselves! Webapplication Directory ([/home/dspace/tomcat/webapps/])  Home to all compiled servlets and JSPs  Basic customizations can also takes place here (if you decide to do after installation)

07/09/07 9 Basic Customization: Top News & Sidebar News Top News Sidebar News This is done from DSpace Administrator Interface as shown in the next slide

07/09/07 10 Step 1 Step 2 Step 3 Basic Customization: Top News To change the Sidebar News, follow the same steps as shown in the above for Top News, only instead of Top News, choose Sidebar News (of Step 2)

07/09/07 11 Basic Customization: Default License Remember: After necessary changes in the file, restart the tomcat server. Modify the default license from DSpace Administration Interface

07/09/07 12 Basic Customization: Default License

07/09/07 13 Customization: Look and Feel (CSS) CSS file Located in: Before Compilation: /home/dspace/dspace-source/jsp/styles.css.jsp After Compilation: /home/dspace/tomcat/webapps/dspace/styles.css.jsp Example: BODY { font-family: "verdana", Arial, Helvetica, sans-serif; font-size: 10pt; font-style: normal; color: #000000; background: red; margin: 0; padding: 0; margin-left:0px; margin-right:0px; margin-top:0px; margin-bottom:0px } Remember: After making the necessary changes, just refresh the page to get effects

07/09/07 14

07/09/07 15 Customization: Header/ Footer/ Navbar Located in : Before Compilation: /home/dspace/dspace-source/jsp/layout After Compilation: /home/dspace/tomcat/webapps/dspace/layout/ N.B. If you don’t want something to be appeared in the site, just comment it using Example: /simple-search"> --%> Remember: After making the necessary changes, just refresh the page to get effects

07/09/07 16

07/09/07 17

07/09/07 18 Customization: XHTML In JSP pages, Java code is surrounded by or. Any other thing outside of that is XHTML (except for JSP Tags). /"> /image/isilogo.jpg" alt=" " width="102" height="100" border="0"/> DRTC Remember: After making the necessary changes, just refresh the page to get effects

07/09/07 19 Customization: XHTML

07/09/07 20 Customization: Text “Messages.properties” contains almost all the text of DSpace Located in: Before Comlilation: /home/dspace/dspace-source/config/language-packs/ After Compilation: /home/dspace/tomcat/webapps/dspace/WEB-INF/classes/ Format of “Messages.properties” jsp.layout.navbar-default.authors = Authors (Navigation bar text “Authors” shared by pages in /jsp/layout/navbar-default.jsp) Remember: If changes are made in the “Messages.properties” after compilation, then we need to “shut-down” and “re-start” the Tomcat

07/09/07 21 Keys in Messages.properties referenced in JSP with: (/jsp/layout/navbar-default.jsp) Example: jsp.community-home.heading1 is a heading within /jsp/community- home.jsp jsp.general.search.button is the text that appears on ALL search buttons in DSpace Customization: Text

07/09/07 22 Customization: Text Before After

07/09/07 23 Customization: Edit/ Add Metadata

07/09/07 24 Customization: Edit/ Add Metadata Add/ Update Metadata from DSpace Administrator interface (

07/09/07 25 Customization: Submit/ Input Form

07/09/07 26 Customization: Submit/ Input Form Submission form is located in: Before Compilation: /home/dspace/dspace-source/config/input- forms.xml After Compilation: /home/dspace/config/input-forms.xml

07/09/07 27 Customization: Submit/ Input Form General format of input-forms.xml govtdocrefno Govt. Doc onebox Enter Govt. Doc. No. ………………. Remember: After making any changes in the input form, re-start the Tomcat server

07/09/07 28 Customization: Search Customize Advanced Search options: /home/dspace/config/dspace.cfg

07/09/07 29 Customization: Search Edit the search index in: /home/dspace/config/dspace.cfg This can change only your search result, not search display …………. search.index.11 = identifier:dc.identifier.* search.index.12 = language:dc.language.iso search.index.13 = keyword:dc.govtdocrefno.* ………….. The general format is: search.index.[number] = [search field]:element.qualifier Remember: After making changes, re-index everything (go to /home/DSpace/bin and execute the command,./index-all

07/09/07 30 Customization: Search To change the search display, edit advanced.jsp, dspace.cfg and Messages.properties advanced.jsp located in: Before compilation: /home/dspace/dspace-source/jsp/search/ After compilation: /home/DSpace/tomcat/webapps/dspace/search/ Messages.properties located in: Before compilation: /home/dspace/dspace-source/config/language-packs/ After compilation: /home/dspace/tomcat/webapps/dspace/WEB-INF/classes/

07/09/07 31 In advanced.jsp > In dspace.cfg search.index.13 = govtdocrefno:dc.govtdocrefno.* In Messages.properties jsp.search.advanced.type.govtdocrefno = Govt Doc. No. Customization: Search

07/09/07 32 Customization: Search

07/09/07 33 Customization: Item Display To modify the metadata displayed in item screen, modify dspace.cfg and Messages.properties Remember: After making changes, re-index everything (go to /home/dspace/bin and execute the command,./index-all

07/09/07 34 Customization: Item Display In dspace.cfg, add the new field to be displayed/ or change the order to display webui.itemdisplay.default = dc.title, dc.title.alternative, dc.contributor.*, \ dc.subject, dc.date.issued(date), dc.publisher, \ dc.identifier.citation, dc.relation.ispartofseries, \ dc.description.abstract, dc.description, \ dc.identifier.govdoc, dc.identifier.uri(link), \ dc.identifier.isbn, dc.identifier.issn, \ dc.identifier.ismn, dc.identifier, \ dc.govtdocrefno.* In Messages.properties, name the field to be displayed metadata.dc.title = Title metadata.dc.title.alternative = Other Titles metadata.dc.contributor.* = Authors metadata.dc.contributor.author = Authors... metadata.dc.identifier.isbn = ISBN metadata.dc.govtdocrefno.* = Govt Doc. Ref. No.

07/09/07 35 Manakin : DSpace XML UI Project

07/09/07 36 Manakin : DSpace XML UI Project  It is the second release of the XML UI project’s customizable DSpace interface  Currently under development by Texas A&M University  Has ability for each community and collection within DSpace to establish a unique look-and-feel  Builds upon the Cocoon2 framework  Uses Themes to style the content  Uses packages called Aspects to modularize the generation of the content

07/09/07 37 Goals of the Project Allow each community & collection to maintain a distinct look and feel Separation of business logic from stylistic design Establish an interface-level component architecture Java / Cocoon development Tier XML / XSL Theme Tier HTML / CSS style Tier Enable internationalization & localization of content Provide an alternative interface that does not replace the existing JSP based interface

07/09/07 38 Where Manakin fits within DSpace

07/09/07 39

07/09/07 40

07/09/07 41

07/09/07 42 Manakin Installation Prerequisites Java 5 Tomcat 5.5 Apache Ant 1.5 PostgreSQL DSpace Manakin 1.0a (

07/09/07 43 Manakin Installation (Cont’d..1) Step 1: Configure /config/dspace.cfg Add the following parameters to dspace.cfg file # # Repository metadata # xmlui.repository.identifier = DSpace Manakin xmlui.repository.description = This is the default repository description xmlui.repository.publisher = Default DSpace publisher xmlui.repository.subject = Default repository subject xmlui.repository.title = DSpace XMLUI :: Manakin Step 2: Configure Manakin Copy the theme and aspect configuration file xmlui.xconf from Manakin's source (/home/dspace/Manakin_1.0a/config /) to your DSpace installation configuration directory Copy the front page news file, news.xml from Manakin's source (/home/dspace/Manakin_1.0a/config /) to your DSpace configuration directory

07/09/07 44 Manakin Installation (Cont’d..2) Step 3: Configure Tomcat Update Tomcat's server.xml to include a context parameter that tells Manakin where dspace.cfg configuration is located. Locate the element in server.xml and add the following line: <Parameter name="dspace-config" value="/home/dspace/config/dspace.cfg" description="Path to the DSpace configuration file." /> Note: Here context's path is the name of the web application and the parameter's value is the absolute path to your dspace.cfg file

07/09/07 45 Manakin Installation (Cont’d..3) Step 4: Compile and Deploy Compile Manakin using an existing DSpace source tree Use the " dspace " ant parameter to tell Manakin where your DSpace source directory is, as follows: ant -Ddspace=/home/dspace/dpace-source build_wars [Execute this command from Manakin source directory] Step 5: Copy buid/manakin.war files to /home/dpace/tomcat/webapps Step 6: Restart your Tomcat server

07/09/07 46 Skills Required for Working with Manakin Basics of XML Understand absolute/ relative paths Understanding of XHTML Understanding of CSS

07/09/07 47 Some Important Online Tutorials CSS XHTML

07/09/07 48 References 1.Manakin - DSpace Wiki. 2.DSpace XML UI Developers Guide. oc 3.Making DSpace Your Own. pdf

07/09/07 49 Thank you!