Difference between revisions of "Training Video:Add A Field"

From EPrints Documentation
Jump to: navigation, search
(How to add a metadata field)
m (Resources: changed https to http)
 
(13 intermediate revisions by one other user not shown)
Line 8: Line 8:
 
==What You Will Learn==
 
==What You Will Learn==
  
* Learning Objective 1
+
* How to add a field to the repository without editing core configuration files
* Learning Objective 2
+
* How to add new phrases and to include the new field in the Workflow
* Learning Objective 3
+
* How to add the field to the Abstract page
  
 
==What You Should Already Know==
 
==What You Should Already Know==
  
* Prerequisite 1 with links if appropriate
+
* Be familiar with the structure of EPrints and the relationships between configuration, phrase and workflow files
* Prerequisite 2 with links if appropriate
+
* How to login as administrator and to edit text files on the server
* Prerequisite 3 with links if appropriate
+
* How to restart Apache
  
 
==Resources==
 
==Resources==
 
Each resource on this page (video, document, block of wiki text) should have a similar format to the Video section below.
 
  
 
=== Video===
 
=== Video===
The Video can be found at [https://www.youtube.com/watch?v=1B5_dHStUTQ https://www.youtube.com/watch?v=1B5_dHStUTQ].
+
The Video can be found at [http://www.youtube.com/watch?v=1B5_dHStUTQ http://www.youtube.com/watch?v=1B5_dHStUTQ].
 
====Index====
 
====Index====
* [https://www.youtube.com/watch?v=KzrS_u-4eoM&t=0m00s 0:00 - Installation context]
+
* [http://www.youtube.com/watch?v=1B5_dHStUTQ&t=0m00s 00:00 Introduction]
* [https://www.youtube.com/watch?v=KzrS_u-4eoM&t=0m30s 0:30 - Documentation]
+
* [http://www.youtube.com/watch?v=1B5_dHStUTQ&t=0m18s 00:18 Command line intro and basic set-up]
* [https://www.youtube.com/watch?v=KzrS_u-4eoM&t=0m49s 0:49 - Adding apt repositories]
+
* [http://www.youtube.com/watch?v=1B5_dHStUTQ&t=0m45s 00:45 Look over the file: eprint_fields.pl]
* [https://www.youtube.com/watch?v=KzrS_u-4eoM&t=1m28s 1:28 - Installing using apt-get]
+
* [http://www.youtube.com/watch?v=1B5_dHStUTQ&t=1m39s 01.39 Add new field to new file: z_local_eprints_fields.pl]
* [https://www.youtube.com/watch?v=KzrS_u-4eoM&t=2m44s 2:44 - Setting MySQL root password]
+
* [http://www.youtube.com/watch?v=1B5_dHStUTQ&t=2m33s 02.33 Use the add_dataset_field function to add the field]
* [https://www.youtube.com/watch?v=KzrS_u-4eoM&t=4m10s 4:10 - Setting a hostname in the hosts file (local DNS)]
+
* [http://www.youtube.com/watch?v=1B5_dHStUTQ&t=3m39s 03.39 Creating field of type ‘set’]
* [https://www.youtube.com/watch?v=KzrS_u-4eoM&t=5m34s 5:34 - Create a repository]
+
* [http://www.youtube.com/watch?v=1B5_dHStUTQ&t=4m28s 04.28 Commit the new field by using ‘epadmin update repoid’]
* [https://www.youtube.com/watch?v=KzrS_u-4eoM&t=8m08s 8:08 - Enabling EPrints in apache]
+
* [http://www.youtube.com/watch?v=1B5_dHStUTQ&t=5m28s 05.28 Add the new field to the eprint Workflow]
* [https://www.youtube.com/watch?v=KzrS_u-4eoM&t=8m30s 8:30 - Restarting Apache]
+
* [http://www.youtube.com/watch?v=1B5_dHStUTQ&t=6m34s 06.34 Add the phrases, set names and help text for the new field using the web UI]
* [https://www.youtube.com/watch?v=KzrS_u-4eoM&t=9m02s 9:02 - Verifying the repository is running]
+
* [http://www.youtube.com/watch?v=1B5_dHStUTQ&t=8m35s 08.35 Add the new field to the eprint Abstract page]
* [https://www.youtube.com/watch?v=KzrS_u-4eoM&t=10m18s 10:18 - Import test records]
+
* [http://www.youtube.com/watch?v=1B5_dHStUTQ&t=9m15s 09.15 Overview of ‘eprint_render.pl’ file]
* [https://www.youtube.com/watch?v=KzrS_u-4eoM&t=11m45s 11:45 - Regenerating browse views]
+
* [http://www.youtube.com/watch?v=1B5_dHStUTQ&t=10m45s 10.45 Run regenerate_abstracts to request and update to the Abstract page]
* [https://www.youtube.com/watch?v=KzrS_u-4eoM&t=11m56s 11:56 - Verify browse views, export and abstract page, fulltext download]
+
* [http://www.youtube.com/watch?v=1B5_dHStUTQ&t=11m35s 11.35 Move the phrases created using the web UI from zz_phrases.xml to z_local_fields.xml]
* [https://www.youtube.com/watch?v=KzrS_u-4eoM&t=12m40s 12:40 - Set up nightly jobs (crontab)]
 
* [https://www.youtube.com/watch?v=KzrS_u-4eoM&t=16m08s 16:08 - Verifying crontab commands]
 
  
 
==== The Video====
 
==== The Video====
Line 45: Line 41:
  
 
====Notes, Errata and Additional Information====
 
====Notes, Errata and Additional Information====
 
Any notes, version information, errata, etc concerned with this video
 
  
 
* EPrints 3.3.14
 
* EPrints 3.3.14
 
* Ubuntu 15.04
 
* Ubuntu 15.04
 
==Test Yourself==
 
 
Exercises as appropriate to allow the learner to practice the subject of the page.
 
  
 
==More Reading==
 
==More Reading==
  
* Wiki page 1
+
*[http://wiki.eprints.org/w/Metadata http://wiki.eprints.org/w/Metadata]
* Wiki page 2
 
* Wiki page 3
 
==Notes==
 

Latest revision as of 12:30, 19 November 2015


Introduction

Walkthrough of adding a metadata field to a repository.

What You Will Learn

  • How to add a field to the repository without editing core configuration files
  • How to add new phrases and to include the new field in the Workflow
  • How to add the field to the Abstract page

What You Should Already Know

  • Be familiar with the structure of EPrints and the relationships between configuration, phrase and workflow files
  • How to login as administrator and to edit text files on the server
  • How to restart Apache

Resources

Video

The Video can be found at http://www.youtube.com/watch?v=1B5_dHStUTQ.

Index

The Video

Notes, Errata and Additional Information

  • EPrints 3.3.14
  • Ubuntu 15.04

More Reading