Re: [CODE4LIB] Question on CONTENTdm and Linked Data
Hi, - Original Message - [...] Dumping the data using the [CONTENTdm] web-services API into LOD representations is definitely the way to go. CONTENTdm out of the box has no capacity to act as an LOD provider. I've written a simple application, easyLOD, for exposing Linked Data from various sources, and have included a CONTENTdm plugin (there's also a simple plugin to get Dublin Core from a MySQL database and FOAF data from a CSV file). It's at https://github.com/mjordan/easyLOD . To get it to work with CONTENTdm: 1) unzip https://github.com/mjordan/easyLOD/archive/master.zip and put the easyLOD directory in the webroot of a server running PHP 5.3 2) edit data_sources/cdm/cdm.php to use your CONTENTdm server 3) get the alias and pointer of an item in CONTENTdm that has some Dublin Core fields (e.g., in the case of http://content.lib.sfu.ca/cdm/compoundobject/collection/bcp/id/15068, the alias is 'bcp' and the pointer is '15068') 4) the URI for this item in easyLOD is: e.g., http://path/to/easylod/resource/cdm:bcp:15068 5) to see the RDF representation for this item, issue the command curl -L -H 'Accept: application/rdf+xml' http://path/to/easylod/resource/cdm:bcp:15068 (of course using an alias and pointer from one of your own collections) 6) to see the human-readable version of this metadata, point your graphical web browser at the same URL. Mark
Re: [CODE4LIB] Question on CONTENTdm and Linked Data
Thanks, both of those give me a much better idea. I know I had used CONTENTdm data with a Google map almost 2 years ago for a class project but that involved extracting the data from the admin end into an excel table, so these show marked improvement. On Wed, Feb 20, 2013 at 9:27 PM, Chad Nelson chadbnel...@gmail.com wrote: Hi Matt, The largest hurdle you would face with linked data and ContentDM are the inconsistently persistent URLs (to say nothing of the application specific jankyness in the url). When an item is added to a collection in ContentDM, it is assigned an ID which is used in the URL, ie http://digitalcollections.library.gsu.edu/cdm/singleitem/collection/ajc/id/805/ . However, if at a later point, you make a change to that item, say updating the OCR text, the item is given a new ID, and thus is accessed at a new URL. However, the old URL does not redirect to the new one, it just dead ends, ironically at an error page with a 200 HTTP request status header! Wreaks havoc on search engines or any other system that relies on persistent URLs, as a Linked data system *may* want to do. :( That said, ContentDM 6 does have an API through which you can get data about any record. It's a little inconsistent, and the docs aren't amazing, but you can get most everything out of it that you'd want. So, if you had coordinates where and image was taken stored in a metadata field, you could use the API to get them and push that onto a Google map. So if you have a collection that is static, you probably don't have to worry about the URL borking feature they have included. More about the ContentDM API: http://www.contentdm.org/help6/custom/customize2f.asp Hope that helps and good luck. Chad On Wed, Feb 20, 2013 at 5:25 PM, Matthew Sherman matt.r.sher...@gmail.comwrote: Hello Code4Lib, I was wondering if anyone has had success in using digital data or resources that are stored in CONTENTdm in any linked data projects. I have tried utilizing CONTENTdm data for a small Google Map in the past and found it quite difficult to use. At the same time I have not used CONTENTdm in over a year so I do not know if they have made it easier to exact and utilize information from the system. I am working on an interview presentation and one of the parts I am trying to tackle involves working a set of data into a user friendly system related to a specific topic, possibly using a map. I know these folks have CONTENTdm currently so I was wondering if I would be able to present a way to work with the existing system or if I should be saying that to make this project work they need to put it into a different CMS. Any insight folks have had working with linked data in CONTENTdm would be quite welcome. Thanks. Matt Sherman
Re: [CODE4LIB] Question on CONTENTdm and Linked Data
Hi, - Original Message - Hi Matt, The largest hurdle you would face with linked data and ContentDM are the inconsistently persistent URLs (to say nothing of the application specific jankyness in the url). When an item is added to a collection in ContentDM, it is assigned an ID which is used in the URL, ie http://digitalcollections.library.gsu.edu/cdm/singleitem/collection/ajc/id/805 . However, if at a later point, you make a change to that item, say updating the OCR text, the item is given a new ID, and thus is accessed at a new URL. This is not correct -- an item's ID (in CONTENTdm terms, its 'pointer') remains the same after an update to the item using the tools provided as part of CONTENTdm. However, the old URL does not redirect to the new one, it just dead ends, ironically at an error page with a 200 HTTP request status header! Wreaks havoc on search engines or any other system that relies on persistent URLs, as a Linked data system *may* want to do. :( That said, ContentDM 6 does have an API through which you can get data about any record. It's a little inconsistent, and the docs aren't amazing, but you can get most everything out of it that you'd want. So, if you had coordinates where and image was taken stored in a metadata field, you could use the API to get them and push that onto a Google map. So if you have a collection that is static, you probably don't have to worry about the URL borking feature they have included. More about the ContentDM API: http://www.contentdm.org/help6/custom/customize2f.asp Dumping the data using the web-services API into LOD representations is definitely the way to go. CONTENTdm out of the box has no capacity to act as an LOD provider. Mark
Re: [CODE4LIB] Question on CONTENTdm and Linked Data
I work right next to the CONTENTdm guys, so I suppose I could ask them, but I also use to work at the Washington State Library, and I like what they're doing with CONTENTdm, and they have some maps. Is this a good example of what you're trying to do at all? http://www.washingtonruralheritage.com/cdm/map On Wed, Feb 20, 2013 at 2:25 PM, Matthew Sherman matt.r.sher...@gmail.comwrote: Hello Code4Lib, I was wondering if anyone has had success in using digital data or resources that are stored in CONTENTdm in any linked data projects. I have tried utilizing CONTENTdm data for a small Google Map in the past and found it quite difficult to use. At the same time I have not used CONTENTdm in over a year so I do not know if they have made it easier to exact and utilize information from the system. I am working on an interview presentation and one of the parts I am trying to tackle involves working a set of data into a user friendly system related to a specific topic, possibly using a map. I know these folks have CONTENTdm currently so I was wondering if I would be able to present a way to work with the existing system or if I should be saying that to make this project work they need to put it into a different CMS. Any insight folks have had working with linked data in CONTENTdm would be quite welcome. Thanks. Matt Sherman