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

From EPrints Documentation
Jump to: navigation, search
(What You Should Already Know)
m (Resources: changed https to http)
 
(4 intermediate revisions by one other user not shown)
Line 8: Line 8:
 
==What You Will Learn==
 
==What You Will Learn==
  
* How to add a field to the database without editing core configuration files
+
* 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 new phrases and to include the new field in the Workflow
* How to add the field to the Abstract page and to run regenerate_abstracts
+
* How to add the field to the Abstract page
  
 
==What You Should Already Know==
 
==What You Should Already Know==
Line 21: Line 21:
  
 
=== 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=1B5_dHStUTQ&t=0m00s 00:00 Introduction]
+
* [http://www.youtube.com/watch?v=1B5_dHStUTQ&t=0m00s 00:00 Introduction]
* [https://www.youtube.com/watch?v=1B5_dHStUTQ&t=0m18s 00:18 Command line intro and basic set-up]
+
* [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=1B5_dHStUTQ&t=0m45s 00:45 Look over the file: eprint_fields.pl]
+
* [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=1B5_dHStUTQ&t=1m39s 01.39 Add new field to new file: z_local_eprints_fields.pl]
+
* [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=1B5_dHStUTQ&t=2m33s 02.33 Use the add_dataset_field function to add the field]
+
* [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=1B5_dHStUTQ&t=3m39s 03.39 Creating field of type ‘set’]
+
* [http://www.youtube.com/watch?v=1B5_dHStUTQ&t=3m39s 03.39 Creating field of type ‘set’]
* [https://www.youtube.com/watch?v=1B5_dHStUTQ&t=4m28s 04.28 Commit the new field by using ‘epadmin update repoid’]
+
* [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=1B5_dHStUTQ&t=5m28s 05.28 Add the new field to the eprint Workflow]
+
* [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=1B5_dHStUTQ&t=6m34s 06.34 Add the phrases, set names and help text for the new field using the web UI]
+
* [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=1B5_dHStUTQ&t=8m35s 08.35 Add the new field to the eprint Abstract page]
+
* [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=1B5_dHStUTQ&t=9m15s 09.15 Overview of ‘eprint_render.pl’ file]
+
* [http://www.youtube.com/watch?v=1B5_dHStUTQ&t=9m15s 09.15 Overview of ‘eprint_render.pl’ file]
* [https://www.youtube.com/watch?v=1B5_dHStUTQ&t=10m45s 10.45 Run regenerate_abstracts to request and update to the Abstract page]
+
* [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=1B5_dHStUTQ&t=11m35s 11.35 Move the phrases created using the web UI from zz_phrases.xml to z_local_fields.xml]
+
* [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]
  
 
==== The Video====
 
==== The Video====
Line 44: Line 44:
 
* 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