Comments (5)
Can you post the URL of the OAI-PMH endpoint?
from sickle.
Yes:
http://leo.cineca.it/index.php/jlis/oai
I contacted the dev ot the Journal (I know him personally), and he says there are no issues with that.
from sickle.
Works as expected:
In [1]: from sickle import Sickle
In [2]: sickle = Sickle('http://leo.cineca.it/index.php/jlis/oai')
In [3]: records = sickle.ListRecords(metadataPrefix='oai_dc')
In [4]: record = records.next()
In [5]: record.metadata
Out[5]:
{'contributor': [None, None],
'creator': ['Manoni, Paola'],
'date': ['2013-01-15'],
'description': ["This paper will focus on the application profiles recently implemented in the new Vatican Library's discovery tool that interacts with interoperability standards and manages different metadata. The presentation will also take into consideration what the Library is planning for accessing web-based digitized manuscripts collections.",
"This paper will focus on the application profiles recently implemented in the new Vatican Library's discovery tool that interacts with interoperability standards and manages different metadata. The presentation will also take into consideration what the Library is planning for accessing web-based digitized manuscripts collections."],
'format': ['application/pdf', 'application/pdf'],
'identifier': ['http://leo.cineca.it/index.php/jlis/article/view/5516',
'10.4403/jlis.it-5516',
'urn:nbn:it:unifi-3892',
'http://leo.cineca.it/index.php/jlis/article/download/5516/7915'],
'language': ['eng', 'ita'],
'publisher': [u'Universit\xe0 di Firenze Dipartimento di Storia, Archeologia, Geografia, Arte e Spettacolo'],
'relation': ['http://leo.cineca.it/index.php/jlis/article/view/5516/7915',
'http://leo.cineca.it/index.php/jlis/article/view/5516/7916'],
'rights': ['Copyright (c) 2013 Paola Manoni',
'http://creativecommons.org/licenses/by/4.0'],
'source': ['JLIS.it; Vol. 4, No. 1 (2013): Global Interoperability and Linked Data in Libraries: Special issue; 425',
'JLIS.it; Vol. 4, No. 1 (2013): Global Interoperability and Linked Data in Libraries: Special issue; 425',
'2038-1026',
'2038-5366'],
'subject': [None,
'Manoscritti della Biblioteca Vaticana; Library linked data',
None,
None,
'Vatican Library-Manuscripts collections; Library linked data',
None],
'title': ['Metadata framework and application profiles in the global structure of catalogs and digitization projects of the Vatican Library',
'Il contesto dei metadati ed i profili applicativi nella struttura globale dei cataloghi e nei progetti di digitalizzazione della Biblioteca Apostolica Vaticana'],
'type': ['info:eu-repo/semantics/article',
'info:eu-repo/semantics/publishedVersion',
'Peer-reviewed Article']}
from sickle.
Uh, ok. It's probably that I'm a real newbie and that is the problem, but I tried hard to work with that output, but it's neither a python dictionary nor a JSON, and I can't manage to parse it (well, I can try with the regex, but I think it's the last resort). What am I missing? Sorry for the bother.
from sickle.
-_____-""
Ok, it seems that I didn't get that the Sickle object is a python dictionary...
for record in records:
print record.metadata["title"]
print record.metadata["identifier"]
Can I humbly suggest to put some examples in the documentation? Thank you :-)
from sickle.
Related Issues (20)
- `.encode` in `__repr__` incorrect HOT 1
- Python3 sickle? HOT 1
- Record Model Class METS/MODS HOT 5
- Connection broken: IncompleteRead HOT 1
- AttributeError: 'NoneType' object has no attribute 'find' HOT 1
- AttributeError when harvesting OAI records without a metadata child HOT 1
- Project stability and versioning?
- Retry on timeouts and connection errors HOT 1
- Sickle not retrieving all records from repository HOT 1
- Record Range Pull Inconsistency HOT 1
- Retrieve selective fields for each record using ListRecords HOT 1
- Python >3.6 yields deprecation warning for regex
- Sickle retrieving partial data from collection HOT 4
- OAI endpoint in tutorial yields HTTPError HOT 1
- Iteration with next() is very slow HOT 1
- Resumption Token with until HOT 2
- ListRecords ignores addresses with non-OAI content
- How to specify resumptionToken in ListRecords?
- Project status
- Any examples with working with Qualifed Dublin Core
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sickle.