EPrints Technical Mailing List Archive
Message: #04985
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Antwort: Re: subjects - ROOT
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Antwort: Re: subjects - ROOT
- From: martin.braendle@id.uzh.ch
- Date: Thu, 22 Oct 2015 15:41:31 +0200
You can import an XML subjects file, which supports multilingual trees.
Here a snippet:
<?xml version='1.0' encoding='utf-8'?>
<subjects xmlns='http://eprints.org/ep2/data/2.0'>
<subject id='http://www.zora.uzh.ch/id/subject/10001'>
<subjectid>10001</subjectid>
<rev_number>3</rev_number>
<name>
<item>
<name>Center for Ethics</name>
<lang>en</lang>
</item>
<item>
<name>Ethik-Zentrum</name>
<lang>de</lang>
</item>
</name>
<parents>
<item>10168</item>
</parents>
<depositable>TRUE</depositable>
</subject>
.
.
--
Dr. Martin Brändle
Zentrale Informatik
Universität Zürich
Stampfenbachstr. 73
CH-8006 Zürich
"Field A.N." ---22/10/2015 15:22:26---ROOT is a magic node that sits above everything. I would suggest, if you're building a tree from scr
Von: "Field A.N." <af05v@ecs.soton.ac.uk>
An: eprints-tech@ecs.soton.ac.uk
Datum: 22/10/2015 15:22
Betreff: [EP-tech] Re: subjects - ROOT
Gesendet von: eprints-tech-bounces@ecs.soton.ac.uk
ROOT is a magic node that sits above everything.
I would suggest, if you're building a tree from scratch, that you don't use the subject editor, but create an import a subjects file or an XML file. The subjects file format doesn't handle multilingual, but it's easier to create and edit. Perhaps create your tree as a subjects file, import it, then use the subject tree editor to edit each node and add the alternative language.
Have you seen my training video that covers a lot of this stuff? It's linked to from the training course page at http://wiki.eprints.org/w/EPrints_Training_Course
--
Adam Field
Business Relationship Manager and Community Lead
EPrints Services
+44 (0)23 8059 8814
On 22 Oct 2015, at 10:08, Roth-Steiner, Roland wrote:
> Hello,
>
> I'm building a fresh archive with eprints 3.3.13 and there seems to be an inconsistency in the subject tree, even thought I built it from scratch with the web interface.
>
> An export with the "Subject" format gives me 4 empty records.
>
> A CSV export prints:
>
> ./export REPO subject CSV
> "subjectid","rev_number","name_name","name_sortvalue","name_lang","parents","depositable"
> "","2","","","en","","FALSE"
> "course","5","Studiengang","","de","ROOT","FALSE"
> "course",,"Study course",,"en",,
> "test01","4","Studiengang TEST01","","de","course","TRUE"
> "test01",,"studycouse TEST01",,"",,
> "test02","4","Studiengang -test- 02","","de","course","TRUE"
> "test02",,"course of studies 02",,"",,
>
>
> I attached a screenshot of the Admin - edit-subject-Interface.
>
> Is there a lacking ROOT-element?
>
> Thanks
>
> .......................................
> Roland Roth-Steiner
> M.Sc. Wirtsch.-Inf., Dipl.-Bibl.
> . Univ.- und Landesbibliothek
> ... Elektronische Informationsdienste
> ... Leitung Digitalisierungszentrum
> ... Fachreferat Wirtschaft
> . Magdalenenstr. 8, 64289 Darmstadt
> +49 (0)6151 16-76280
> .......................................
> <Edit subject_ Study course.png>*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: http://www.eprints.org/tech.php/
> *** EPrints community wiki: http://wiki.eprints.org/
> *** EPrints developers Forum: http://forum.eprints.org/
*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/
- References:
- [EP-tech] subjects - ROOT
- From: "Roth-Steiner, Roland" <roland.roth-steiner@ulb.tu-darmstadt.de>
- [EP-tech] Re: subjects - ROOT
- From: "Field A.N." <af05v@ecs.soton.ac.uk>
- [EP-tech] subjects - ROOT
- Prev by Date: [EP-tech] Re: subjects - ROOT
- Next by Date: [EP-tech] EPrints System Error Error connecting to database: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
- Previous by thread: [EP-tech] Re: subjects - ROOT
- Next by thread: [EP-tech] Community Contribution Day
- Index(es):