EPrints Technical Mailing List Archive

Message: #08786


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] non-existent dates and oai-pmh sets


CAUTION: This e-mail originated outside the University of Southampton.

Hello everyone,

 

I have a couple of questions.

 

First question, it's about setting an embargo expiry date (and choosing other dates).  It was recently brought to my attention that it is possible to set "non-existent" dates, for example, February 31st or April 31st.  I'm not sure if I hadn't thought about this before, or if I didn't really think of this as an issue, but I suppose this raises the question of:

If the embargo expiry date (e.g: April 31st) never happens, then does the embargo ever expire?  🙂   The question is, has anyone thought this issue serious enough to build-in some error checking for this, or attempted to modify the date-picker interface that exists in EPrints to address this issue?

 

Second question, it's about limiting what is inside an OAI-PMH set.  Based on my understanding, we can use something like this in the oai.pl configuration to create a set that is both (1) limited to un-embargoed (open access) items AND (2) items limited by type:

 

$oai->{custom_sets} = [

            {           spec => "openaire", name => "OpenAIRE Set - OA article conference book monograph",

                        filters=> [

                                    {meta_fields=>["full_text_status"], value=>"public"},

                                    {meta_fields =>[qw( type )], merge => "ANY", value => "article conference_item book_section monograph book" }

                        ]

            }

];

How can I confirm if this is working correctly?  In other words, how can I test if an item in the repository is part of an OAI-PMH set?  Is there a URL syntax where I could pass the eprintid and the set name to find out if it is part of the set?


Thanks!


Tomasz

 

 

________________________________________________

Tomasz Neugebauer
Senior Librarian | Bibliothécaire titulaire
Digital Projects & Systems Development Librarian / Bibliothécaire des Projets Numériques & Développement de Systèmes
Concordia University / Université Concordia

Tel. / Tél. 514-848-2424 ext. / poste 7738
Email / courriel: 
tomasz.neugebauer@concordia.ca

Mailing address / adresse postale: 1455 De Maisonneuve Blvd. W., LB-540-03, Montreal, Quebec H3G 1M8
Street address / adresse municipale: 1400 De Maisonneuve Blvd. W., LB-540-03, Montreal, Quebec H3G 1M8

library.concordia.ca
https://www.eprints.org/eptech/msg08786.html
www.eprints.org
CC-MAIN-2024-33
51235
application/http; msgtype=response
sha1:32VAC4TVAVVXID54F6WIBPYAOOLN6YFC
<urn:uuid:1b374425-c55a-4101-a1cb-f9f7e4d426e4>
2024-08-14T08:16:46Z
46.22.140.106
text/html
sha1:2DW4EAI7Z6P5FXHDALQFDQ7O3ZPVQJQK
<urn:uuid:3c6c1a0c-1f19-437c-be70-7c8e2778637b>
https://www.eprints.org/eptech/msg08786.html
response
<urn:uuid:e06fa3af-cfca-4e03-8c5d-62b26c7dd7b5>
isPartOf: CC-MAIN-2024-33
publisher: Common Crawl
description: Wide crawl of the web for August 2024
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-156
software: Apache Nutch 1.20 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.5-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: https://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/