EPrints - softver za digitalne repozitorije
Dodavanje polja i tipova dokumenata: Revision 1

Dodavanje novog Item type-a

1. edit /opt/eprints3/archives/ARCHIVE_ID/cfg/lang/en/phrases/local.xml

...
<!-- Item Type: PRESSCUT -->

<epp:phrase id="eprint_typename_presscut">Presscut</epp:phrase>
<epp:phrase id="eprint_optdetails_type_presscut">Media about RBI</epp:phrase>

<!-- Item Type: PRESSCUT END -->
...

2. Edit /opt/eprints3/archives/ARCHIVE_ID/cfg/namedsets/eprint
Dodajemo 'presscut' na postojecu listu

3. apache restart

# /etc/init.d/apache2 restart


Dodavanje novog polja

1. edit /opt/eprints3/archives/ARCHIVE_ID/cfg/cfg.d/eprint_fields.pl

...
         {
           'name' => 'article_type',
           'type' => 'set',
           'options' => [
                          'original_scientific_paper',
                          'review_paper',
                          'short_communication',
                          'preliminatory_note',
                          'letter',
                          'professional_paper',
                          'letter_to_the_editor',
                          'review',
                          'editorial',
                          'conference_paper',
                          'meeting_abstract',
                          'correction',
                          'news',
                          'bibliography',
                          'biography',
                          'comment',
                          'essay',
                          'in_memoriam',
                        ],
           'input_style' => 'medium',
         },
...

2. edit /opt/eprints3/archives/ARCHIVE_ID/cfg/lang/en/phrases/local.xml