This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Tool for updating representation properties. Supports updating any properties that support PUT (see https://developers.exlibrisgroup.com/alma/apis/docs/xsd/rest_representation.xsd/?tags=PUT for details). | |
''' | |
import sys | |
import requests | |
import json | |
from datetime import datetime | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id" : "1217349800000121", | |
"mms_id" : "99369509900121", | |
"metadata" : [ { | |
"label" : "Title", | |
"value" : "Tyler No-Tail Mouse" | |
}, { | |
"label" : "Material Type", | |
"value" : "Book" | |
}, { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<metadata> | |
<collection-metadata> | |
<collection-dc> | |
<dc:record xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:mets="http://www.loc.gov/METS/"> | |
<dc:title>Western Star</dc:title> | |
<dcterms:isPartOf>Newspapers</dcterms:isPartOf> | |
</dc:record> | |
</collection-dc> | |
</collection-metadata> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<meta name="DC.creator" content="Ruven Pillay <ruven@users.sourceforge.netm>"/> | |
<meta name="DC.title" content="IIPMooViewer 2.0: HTML5 High Resolution Image Viewer"/> | |
<meta name="DC.subject" content="IIPMooViewer; IIPImage; Visualization; HTML5; Ajax; High Resolution; Internet Imaging Protocol; IIP"/> | |
<meta name="DC.description" content="IIPMooViewer is an advanced javascript HTML5 image viewer for streaming high resolution scientific images"/> | |
<meta name="DC.rights" content="Copyright © 2003-2016 Ruven Pillay"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'savon' | |
require 'base64' | |
if ARGV.length < 2 | |
puts "usage: ./set_collection_thumbnail.rb pdsHandle collectionId" | |
exit | |
end | |
# point wsdl to repository load balancer | |
wsdl = 'https://rosetta.exlibrisgroup.com/dpsws/repository/CollectionWebServices?wsdl' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Files for generating dc.xml in Excel. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<email-data> | |
<General-Info> | |
<date>21/10/2015</date> | |
<css>../../css/email.css</css> | |
<userFullName>John Smith</userFullName> | |
<actionReason>null</actionReason> | |
<time>12:25:16</time> | |
<depositLoginUrl>http://il-dps12:1801/deposit</depositLoginUrl> | |
<addressContact>library@exlibris.co.il</addressContact> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:dnx="http://www.exlibrisgroup.com/dps/dnx"> | |
<xsl:output method="xml" omit-xml-declaration="yes" indent="yes"/> | |
<xsl:template match="/"> | |
<oai_dc:dc xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd" xmlns:dcterms="http://purl.org/dc/terms/"> | |
<xsl:if test="//dc:record"> | |
<xsl:copy-of select="//dc:record/*/."/> | |
</xsl:if> | |
<xsl:for-each select="//dnx:section[@id='Collection']/dnx:record"> | |
<dcterms:isPartOf xsi:type="collection"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<xsl:stylesheet version="1.0" xmlns:mets="http://www.loc.gov/METS/" xmlns:dnx="http://www.exlibrisgroup.com/dps/dnx" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | |
<xsl:output method="xml" omit-xml-declaration="yes" indent="no"/> | |
<xsl:template match="/"> | |
<oai_dc:dc xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd"> | |
<xsl:if test="//dc:record"> | |
<xsl:copy-of select="//dc:record/*/."/> | |
</xsl:if> | |
<dc:type>collection</dc:type> | |
<xsl:if test="//dnx:section[@id='Collection']/dnx:record/dnx:key[@id='collectionParentId']"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<!-- | |
***************************************************************************************************** | |
Author : Jeremy Steelberg | |
Date : 04/09/2015 | |
sDescription: This program creates a fullcalendar calendar and loads events that are in the JSON | |
document that is included as a string in the file. | |
***************************************************************************************************** | |
--> | |
<html> |
NewerOlder