<foxml:datastreamVersionID="AUDIT.0"LABEL="Audit Trail for this object"CREATED="2009-11-27T18:25:48.654Z"MIMETYPE="text/xml"FORMAT_URI="info:fedora/fedora-system:format/xml.fedora.audit">
<foxml:datastreamVersionID="AUDIT.0"LABEL="Audit Trail for this object"CREATED="2009-11-27T18:25:48.654Z"MIMETYPE="text/xml"FORMAT_URI="info:fedora/fedora-system:format/xml.fedora.audit">
<foxml:datastreamVersionID="RELS-EXT1.0"LABEL="RDF Statements about this object"CREATED="2009-11-27T18:25:48.726Z"MIMETYPE="application/rdf+xml"FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-1.0"SIZE="618">
<foxml:datastreamVersionID="RELS-EXT1.0"LABEL="RDF Statements about this object"CREATED="2009-11-27T18:25:48.726Z"MIMETYPE="application/rdf+xml"FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-1.0"SIZE="618">
<foxml:datastreamVersionID="RELS-EXT.1"LABEL="RDF Statements about this object"CREATED="2009-11-27T18:36:14.648Z"MIMETYPE="application/rdf+xml"FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-1.0"SIZE="612">
<foxml:datastreamVersionID="RELS-EXT.1"LABEL="RDF Statements about this object"CREATED="2009-11-27T18:36:14.648Z"MIMETYPE="application/rdf+xml"FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-1.0"SIZE="612">
<foxml:datastreamVersionID="RELS-EXT.2"LABEL="RDF Statements about this object"CREATED="2010-03-05T16:47:23.192Z"MIMETYPE="application/rdf+xml"FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-1.0"SIZE="695">
<foxml:datastreamVersionID="RELS-EXT.2"LABEL="RDF Statements about this object"CREATED="2010-03-05T16:47:23.192Z"MIMETYPE="application/rdf+xml"FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-1.0"SIZE="695">
<foxml:datastreamVersionID="RELS-EXT.3"LABEL="RDF Statements about this object"CREATED="2010-03-11T20:58:05.234Z"MIMETYPE="application/rdf+xml"FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-1.0"SIZE="825">
<foxml:datastreamVersionID="RELS-EXT.3"LABEL="RDF Statements about this object"CREATED="2010-03-11T20:58:05.234Z"MIMETYPE="application/rdf+xml"FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-1.0"SIZE="825">
<wsdl:definitionsxmlns:http="http://schemas.xmlsoap.org/wsdl/http/"xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap"xmlns:soapenc="http://schemas.xmlsoap.org/wsdl/soap/encoding"xmlns:this="djatoka"xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"xmlns:xsd="http://www.w3.org/2001/XMLSchema"name="Fedora Local Djatoka Service"targetNamespace="jp2SDep">
<wsdl:definitionsxmlns:http="http://schemas.xmlsoap.org/wsdl/http/"xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap"xmlns:soapenc="http://schemas.xmlsoap.org/wsdl/soap/encoding"xmlns:this="djatoka"xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"xmlns:xsd="http://www.w3.org/2001/XMLSchema"name="Fedora Local Djatoka Service"targetNamespace="jp2SDep">
<foxml:datastreamVersionID="DC1.0"LABEL="Dublin Core Record for this object"CREATED="2009-11-27T18:25:48.654Z"MIMETYPE="text/xml"FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/"SIZE="411">
<foxml:datastreamVersionID="DC1.0"LABEL="Dublin Core Record for this object"CREATED="2009-11-27T18:25:48.654Z"MIMETYPE="text/xml"FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/"SIZE="411">
<foxml:datastreamVersionID="DC1.0"LABEL="Dublin Core Record for this object"CREATED="2010-01-26T21:29:20.416Z"MIMETYPE="text/xml"FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/"SIZE="396">
<foxml:datastreamVersionID="DC1.0"LABEL="Dublin Core Record for this object"CREATED="2010-01-26T21:29:20.416Z"MIMETYPE="text/xml"FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/"SIZE="396">
<xsl:value-ofselect="$BASEURL"/>/fedora/repository/<xsl:copy-ofselect="$PID"/>/OBJ/<xsl:value-ofselect="title"/>.pdf <!-- we know in riri that all OBJ streams are pdf so we can add the extension to tell browsers what it is-->
$requirements['fedora-repository']['description'] = t('Ensure that Fedora is running and that the <a href="@collection-settings">collection settings</a> are correct.',
$requirements['fedora-repository']['description'] = t('Ensure that Fedora is running and that the <a href="@collection-settings">collection settings</a> are correct.',
drupal_set_message('The Fedora repository server is currently unavailable. Please contact the site administrator.', 'warning', FALSE);
drupal_set_message(t('The Fedora repository server is currently unavailable. Please contact the site administrator.'), 'warning', FALSE);
return '';
return '';
}
}
if ($pid & !validPid($pid)) {
$item = new fedora_item($pid);
if (!$item->exists()) {
drupal_not_found();
}
if ($pid & !validPid($pid)) {
drupal_set_message(t("Invalid PID!"), 'error');
drupal_set_message(t("Invalid PID!"), 'error');
return ' ';
return ' ';
}
}
if ($dsId & !validDsid($dsId)) {
if ($dsId & !valid_dsid($dsId)) {
drupal_set_message(t("Invalid dsID!"), 'error');
drupal_set_message(t("Invalid dsID!"), 'error');
return ' ';
return ' ';
}
}
if (!fedora_repository_access(OBJECTHELPER::$OBJECT_HELPER_VIEW_FEDORA, $pid, $user)) {
if (!fedora_repository_access(OBJECTHELPER::$OBJECT_HELPER_VIEW_FEDORA, $pid, $user)) {
//drupal_set_message(t("You do not have access to Fedora objects within the attempted namespace or access to Fedora denied"), 'error');
if (user_access('access administration pages')) {
if (user_access('access administration pages')) {
drupal_set_message(t("PIDs may be added to allowed namespaces, or all namespace restrictions removed !here", array('!here' => l('here', 'admin/settings/fedora_repository'))), 'warning');
drupal_set_message(t("PIDs may be added to allowed namespaces, or all namespace restrictions removed !here", array('!here' => l('here', 'admin/settings/fedora_repository'))), 'warning');
}
}
@ -790,13 +794,6 @@ function fedora_repository_get_items($pid = NULL, $dsId = NULL, $collection = NU
'islandora:largeimages' => 'Sample large image content model (requires <a href="http://sourceforge.net/projects/djatoka/">Djatoka</a> and <a href="http://www.kakadusoftware.com/index.php?option=com_content&task=view&id=26&Itemid=22">Kakadu</a>.)',
'islandora:largeimages' => 'Sample large image content model (requires <a href="http://sourceforge.net/projects/djatoka/">Djatoka</a> and <a href="http://www.kakadusoftware.com/index.php?option=com_content&task=view&id=26&Itemid=22">Kakadu</a>.)',
@ -1391,7 +1378,7 @@ function fedora_repository_demo_objects_form_submit($form, &$form_state) {
@ -1919,7 +1906,7 @@ function _fedora_repository_empty_basket() {
function fedora_repository_add_to_basket($pid, $warn = TRUE, $searchResultsFlag = FALSE) {
function fedora_repository_add_to_basket($pid, $warn = TRUE, $searchResultsFlag = FALSE) {
if ($warn && _is_added_to_basket($pid)) {
if ($warn && _is_added_to_basket($pid)) {
drupal_set_message("Object already in basket");
drupal_set_message(t("Object already in basket"));
}
}
if (!isset($_SESSION['basket'])) {
if (!isset($_SESSION['basket'])) {
@ -1960,7 +1947,9 @@ function theme_add_to_basket_link($pid, $type = 'object') {
*/
*/
if (!_is_added_to_basket($pid)) {
if (!_is_added_to_basket($pid)) {
return l(
return l(
theme('image', drupal_get_path('module', 'Fedora_Repository') . '/images/' . $save, t("Add to basket"), t("Add this @object to my basket", array('@object' => $object))), "fedora/repository/addToBasket/" . $path, array('html' => TRUE)
theme('image', drupal_get_path('module', 'Fedora_Repository') . '/images/' . $save, t("Add to basket"), t("Add this @object to my basket", array('@object' => $object))),
"fedora/repository/addToBasket/" . $path,
array('html' => TRUE)
);
);
}
}
@ -1988,7 +1977,7 @@ function fedora_repository_batch_reingest_object($object, &$context) {
<foxml:datastreamVersionID="AUDIT.0"LABEL="Audit Trail for this object"CREATED="2009-01-23T20:43:42.518Z"MIMETYPE="text/xml"FORMAT_URI="info:fedora/fedora-system:format/xml.fedora.audit">
<foxml:datastreamVersionID="AUDIT.0"LABEL="Audit Trail for this object"CREATED="2009-01-23T20:43:42.518Z"MIMETYPE="text/xml"FORMAT_URI="info:fedora/fedora-system:format/xml.fedora.audit">
<foxml:datastreamVersionID="RELS-EXT1.0"LABEL="RDF Statements about this object"CREATED="2009-01-23T20:43:44.131Z"MIMETYPE="application/rdf+xml"FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-1.0"SIZE="366">
<foxml:datastreamVersionID="RELS-EXT1.0"LABEL="RDF Statements about this object"CREATED="2009-01-23T20:43:44.131Z"MIMETYPE="application/rdf+xml"FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-1.0"SIZE="366">
<foxml:datastreamVersionID="RELS-EXT.1"LABEL="RDF Statements about this object"CREATED="2009-01-23T20:45:33.190Z"MIMETYPE="application/rdf+xml"FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-1.0"SIZE="457">
<foxml:datastreamVersionID="RELS-EXT.1"LABEL="RDF Statements about this object"CREATED="2009-01-23T20:45:33.190Z"MIMETYPE="application/rdf+xml"FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-1.0"SIZE="457">
<foxml:datastreamVersionID="DC1.0"LABEL="Dublin Core Record for this object"CREATED="2009-01-23T20:43:42.518Z"MIMETYPE="text/xml"FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/"SIZE="427">
<foxml:datastreamVersionID="DC1.0"LABEL="Dublin Core Record for this object"CREATED="2009-01-23T20:43:42.518Z"MIMETYPE="text/xml"FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/"SIZE="427">
<foxml:datastreamVersionID="DC.1"LABEL="Dublin Core Record for this object"CREATED="2009-01-23T20:48:22.246Z"MIMETYPE="text/xml"FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/"SIZE="1812">
<foxml:datastreamVersionID="DC.1"LABEL="Dublin Core Record for this object"CREATED="2009-01-23T20:48:22.246Z"MIMETYPE="text/xml"FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/"SIZE="1812">
<dc:description>Made possible through a generous private donation, the IslandLives project builds on the Robertson Library’s mission to preserve and share unique material relating to Prince Edward Island and demonstrates UPEI's ongoing commitment to making PEI's cultural and published heritage available to all.
<dc:description>Made possible through a generous private donation, the IslandLives project builds on the Robertson Library’s mission to preserve and share unique material relating to Prince Edward Island and demonstrates UPEI's ongoing commitment to making PEI's cultural and published heritage available to all.
Utilizing the library’s “Prince Edward Island Collection” and the latest in digitization technology, IslandLives will start by digitizing 300 or so published community histories dating from the mid-1800’s to the present day. These transformed community histories will form the basis of a rich online repository.
Utilizing the library’s “Prince Edward Island Collection” and the latest in digitization technology, IslandLives will start by digitizing 300 or so published community histories dating from the mid-1800’s to the present day. These transformed community histories will form the basis of a rich online repository.
IslandLives will provide a variety of search interfaces that will allow users to browse and search the content by name, community, time period, and keyword. The Island community will have a whole new way to rediscover, search and share their stories.
IslandLives will provide a variety of search interfaces that will allow users to browse and search the content by name, community, time period, and keyword. The Island community will have a whole new way to rediscover, search and share their stories.
This project will engage and build community – recruiting interested individuals from the cultural heritage community and everyday Islanders. Project staff will travel to communities and host ‘digitization days’, introducing community members to the project and its goals, providing them with an opportunity to digitize their own content, and to contribute their content to the IslandLives collection.</dc:description>
This project will engage and build community – recruiting interested individuals from the cultural heritage community and everyday Islanders. Project staff will travel to communities and host ‘digitization days’, introducing community members to the project and its goals, providing them with an opportunity to digitize their own content, and to contribute their content to the IslandLives collection.
</dc:description>
<dc:contributor>Robertson Library, University of Prince Edward Island</dc:contributor>
<dc:contributor>Robertson Library, University of Prince Edward Island</dc:contributor>
<foxml:datastreamVersionID="AUDIT.0"LABEL="Audit Trail for this object"CREATED="2009-05-14T19:32:21.132Z"MIMETYPE="text/xml"FORMAT_URI="info:fedora/fedora-system:format/xml.fedora.audit">
<foxml:datastreamVersionID="AUDIT.0"LABEL="Audit Trail for this object"CREATED="2009-05-14T19:32:21.132Z"MIMETYPE="text/xml"FORMAT_URI="info:fedora/fedora-system:format/xml.fedora.audit">
<foxml:datastreamVersionID="DC1.0"LABEL="Dublin Core Record for this object"CREATED="2009-05-14T19:32:21.132Z"MIMETYPE="text/xml"FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/"SIZE="392">
<foxml:datastreamVersionID="DC1.0"LABEL="Dublin Core Record for this object"CREATED="2009-05-14T19:32:21.132Z"MIMETYPE="text/xml"FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/"SIZE="392">
<foxml:datastreamVersionID="DC.1"LABEL="Dublin Core Record for this object"CREATED="2009-05-14T19:35:11.912Z"MIMETYPE="text/xml"FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/"SIZE="783">
<foxml:datastreamVersionID="DC.1"LABEL="Dublin Core Record for this object"CREATED="2009-05-14T19:35:11.912Z"MIMETYPE="text/xml"FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/"SIZE="783">
<dc:description>Made possible through a generous private donation, IslandLives contains community and church histories and it builds on the Robertson Library's mission to preserve and share unique material relating to Prince Edward Island and demonstrates UPEI"s ongoing commitment to making PEI"s cultural and published heritage available to all. Welcome.</dc:description>
<dc:description>Made possible through a generous private donation, IslandLives contains community and church histories and it builds on the Robertson Library's mission to preserve and share unique material relating to Prince Edward Island and demonstrates UPEI"s ongoing commitment to making PEI"s cultural and published heritage available to all. Welcome.</dc:description>
<tr><tdalign="right"valign="top"><b>By Statement: </b></td><tdvalign="top"><xsl:value-ofselect="//mods:note[@type='statement of responsibility']"/></td></tr>
<td>
<tr><tdalign="right"valign="top"><b>Place of Publication: </b></td ><tdvalign="top"><xsl:value-ofselect="//mods:placeTerm[@type='text']"/></td></tr>
if (!in_array($default_value, $options) && $isRestricted) {
if (!in_array($default_value, $options) && $is_restricted) {
drupal_set_message("The value last set here ($default_value) is not in the list of available PID namespaces (perhaps it has changed?). Please choose a valid option from the list.", 'warning');
drupal_set_message(t("The value last set here ($default_value) is not in the list of available PID namespaces (perhaps it has changed?). Please choose a valid option from the list."), 'warning');
db_query("UPDATE {system} SET weight = '%d' WHERE name = 'fedora_attach'", $new_weight);;
db_query("UPDATE {system} SET weight = '%d' WHERE name = 'fedora_attach'", $new_weight);
;
}
}
else {
else {
drupal_set_message(t('Please check for modules that conflict with Fedora Attach'), 'error');
drupal_set_message(t('Please check for modules that conflict with Fedora Attach'), 'error');
@ -259,7 +256,7 @@ function fedora_attach_form_submit($form, &$form_state) {
foreach ($form_state['values']['files'] as $fid => $file) {
foreach ($form_state['values']['files'] as $fid => $file) {
if ($file['remove'] && !empty($file['ingested']) && $file['ingested']) {
if ($file['remove'] && !empty($file['ingested']) && $file['ingested']) {
drupal_set_message("The attachment <a href=\"$base_url/". substr($file['filepath'], 0, strpos($file['filepath'], 'OBJ'))."\">${file['filename']}</a> was removed from this node but it will remain in the repository until it is purged it directly.");
drupal_set_message("The attachment <a href=\"$base_url/". substr($file['filepath'], 0, strpos($file['filepath'], 'OBJ'))."\">${file['filename']}</a> was removed from this node but it will remain in the repository until it is purged it directly.");
}
}
if (!isset($file->ingested)) { // Newly-inserted file.
if (!isset($file->ingested)) { // Newly-inserted file.
if (isset($form['attachments']['wrapper']['files'])) {
if (isset($form['attachments']['wrapper']['files'])) {
@ -340,8 +337,8 @@ function theme_fedora_attach_attachments($files) {
if ($file->list && empty($file->remove)) {
if ($file->list && empty($file->remove)) {
$inspect_item = '';
$inspect_item = '';
if (_fedora_attach_is_file_in_repository($file->filepath)) {
if (_fedora_attach_is_file_in_repository($file->filepath)) {
The tone of the newspaper changed during the first decade of the twentieth century; its news coverage became more sensational and its editorials offered less political commentary. Special weekend issues were printed during the second half of this decade, featuring comic strips, housekeeping articles, popular songs, sermons, local history and Sunday School lessons. Photographs and line drawings appeared frequently during the final years of the decade.
The tone of the newspaper changed during the first decade of the twentieth century; its news coverage became more sensational and its editorials offered less political commentary. Special weekend issues were printed during the second half of this decade, featuring comic strips, housekeeping articles, popular songs, sermons, local history and Sunday School lessons. Photographs and line drawings appeared frequently during the final years of the decade.
.... more in Heather Boylan ... p.54-Checklist and Historical Directory of Prince Edward Island Newspapers.</dc:description>
.... more in Heather Boylan ... p.54-Checklist and Historical Directory of Prince Edward Island Newspapers.
</dc:description>
<dc:description>Title varies: 1887- , The Island guardian; Dec. 1890-Jan. 1891, The Daily guardian; Jan. 1891- , The Morning guardian.</dc:description>
<dc:description>Title varies: 1887- , The Island guardian; Dec. 1890-Jan. 1891, The Daily guardian; Jan. 1891- , The Morning guardian.</dc:description>
<dc:description>Ceased publication in 1920?</dc:description>
<dc:description>Ceased publication in 1920?</dc:description>
if (is_array($item) && isset($item['_error_element'])) unset($item['_error_element']);
if (is_array($item) && isset($item['_error_element']))
unset($item['_error_element']);
if (!empty($item['value'])) {
if (!empty($item['value'])) {
if (!empty($field['max_length']) && drupal_strlen($item['value']) > $field['max_length']) {
if (!empty($field['max_length']) && drupal_strlen($item['value']) > $field['max_length']) {
form_set_error($error_element, t('%name: the value may not be longer than %max characters.', array('%name' => $field['widget']['label'], '%max' => $field['max_length'])));
form_set_error($error_element, t('%name: the value may not be longer than %max characters.', array('%name' => $field['widget']['label'], '%max' => $field['max_length'])));
@ -274,7 +274,7 @@ function pidfield_field_formatter_info() {
*/
*/
function theme_pidfield_formatter_default($element) {
function theme_pidfield_formatter_default($element) {
$pid = $element['#item']['safe'];
$pid = $element['#item']['safe'];
if(!empty($pid)) {
if(!empty($pid)) {
return fedora_repository_get_items($pid);
return fedora_repository_get_items($pid);
}
}
return null;
return null;
@ -435,7 +435,7 @@ function get_node_references_for_fedora_item($item) {
$ids = db_query("SELECT nid FROM {". $db_info['table'] ."} WHERE ". $field['field_name'] ."_value=\"". $item->pid."\"");
$ids = db_query("SELECT nid FROM {". $db_info['table'] ."} WHERE ". $field['field_name'] ."_value=\"". $item->pid."\"");
$results = array();
$results = array();
while ($data = db_fetch_object($ids)) {
while ($data = db_fetch_object($ids)) {
@ -444,18 +444,16 @@ function get_node_references_for_fedora_item($item) {