This repository has been archived by the owner on Sep 17, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
oai20_listidentifiers.html
48 lines (44 loc) · 2.11 KB
/
oai20_listidentifiers.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<!--[
LODEL - Logiciel d'Edition ELectronique.
Copyright (c) 2001-2002, Ghislain Picard, Marin Dacos
Copyright (c) 2003-2004, Ghislain Picard, Marin Dacos, Luc Santeramo, Nicolas Nutten, Anne Gentil-Beccot
Home page: http://www.lodel.org
E-Mail: lodel@lodel.org
All Rights Reserved
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.]-->
<USE MACROFILE="macros_site.html">
<MACRO NAME="ENTETE_XML">
<OAI-PMH xmlns="http://www.openarchives.org/OAI/2.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/ http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd">
<responseDate>[#OAI_RESPONSEDATE]</responseDate>
<request[#OAI_ARGS]>[(#CURRENTURL|dirname)]/oai.[#EXTENSIONSCRIPTS]</request>
<ListIdentifiers>
<LOOP NAME="lister_ident" TABLE="entities" TABLE="types" WHERE="[#OAI_WHERE]" ORDER="entities.id" LIMIT="[#OAI_OFFSET], [#OAI_MAXIDS]">
<header>
<IF COND="[#OAIID]">
<identifier>[#OAIID]</identifier>
<ELSE />
<identifier>[#OAI_PREFIX][#ID]</identifier>
</IF>
<IF COND="[#SHORT_DATE]">
<datestamp>[#CREATIONDATE|formateddate("%Y-%m-%d")]</datestamp>
<ELSE/>
<datestamp>[#CREATIONDATE|formateddate("%Y-%m-%dT%H:%M:%SZ")]</datestamp>
</IF>
<LOOP NAME="meta_sets" TABLE="entries, entrytypes" WHERE="identity='[#ID]' AND g_type='oai.set'">
<setSpec>[#G_NAME|textebrut|strip_set]</setSpec>
</LOOP>
</header>
</LOOP>
[#OAI_RESTOKEN]
</ListIdentifiers>
</OAI-PMH>