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
private String getISBN(Document doc) { | |
//<marc:datafield tag="020" ind1=" " ind2=" "><marc:subfield code="a">0809305186</marc:subfield></marc:datafield> | |
String isbn = new String(); | |
System.out.println("doc:"+doc.getDocumentElement()); | |
NodeList nl = doc.getElementsByTagName("marc:datafield").; | |
System.out.println("datafieldlen:"+nl.getLength()); | |
for (int i = 0; i < nl.getLength(); i++) { | |
Node n = nl.item(i); | |
NamedNodeMap attributes = n.getAttributes(); | |
Node a = attributes.getNamedItem("tag"); |
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
<to uri="xslt:file:///Users/erjhome/github_clones/ycba_xslts/marc-preblacklight-ycba.xsl?saxon=true" /> | |
<xsl:variable name="fullURL"> | |
<xsl:value-of select="concat('https://libapp.library.yale.edu/OAI_BAC/src/OAIOrbisTool.jsp?verb=GetRecord&identifier=oai:orbis.library.yale.edu:',$bibID,'&metadataPrefix=oai_dc')" /> | |
</xsl:variable> | |
<xsl:for-each select="document($fullURL)//dc:subject[contains(.,'CALL NUMBER')]"> | |
<xsl:element name="callnumber_ss"> | |
<xsl:value-of select="substring(., 13)"/> | |
<!--KFW100.A75 S45 1997--> |
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
11:45:36.036 [SimpleAsyncTaskExecutor-4] DEBUG c.g.t.m.s.impl.MediaCachingWorker - buildFromDefaultImage mediaMasterId 192916 defaultImageName PDF.png cachesize 55,128,192,600 | |
11:45:36.044 [SimpleAsyncTaskExecutor-4] INFO c.g.t.m.s.impl.MediaCachingWorker - processMediaCache mediaRecord [ id=192917, filePath=\\storage.yale.edu\home\ycbamedia-887111-bac\TMSmedia\Images\SCREEN\, fileName=obj/056/990/ba-obj-56990-7000-mas.jpg, requireTiling=false, mediaTypeId=1, primaryFileId=196369, departmentId=17 ] | |
11:45:36.116 [SimpleAsyncTaskExecutor-4] DEBUG c.g.tms.media.util.ImageMagick - convert File \\storage.yale.edu\home\ycbamedia-887111-bac\TMSmedia\Images\SCREEN\obj\056\990\ba-obj-56990-7000-mas.jpg to D:\webAppMediaCacheProd\cache\55\192917.png | |
11:45:36.187 [SimpleAsyncTaskExecutor-4] DEBUG c.g.tms.media.util.ImageMagick - buildProcess started command '[D:\TMSWebComponents-2016prod\gs_extra\ImageMagick\convert.exe, -auto-orient, -thumbnail, 55x55, -strokewidth, 0, -gravity, center, -quality, 100, -extent, 55x55, |
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
15:51:52.708 [SimpleAsyncTaskExecutor-4] INFO c.g.t.m.s.impl.MediaCachingWorker - processMediaCache mediaRecord [ id=192876, filePath=\\wcsfs00.its.yale.internal\ycbamedia-887111-bac\TMSmedia\images\screen\, fileName=obj\043\713\ba-obj-43713-0001-pub.jpg, requireTiling=false, mediaTypeId=1, primaryFileId=196328, departmentId=17 ] | |
15:51:52.755 [SimpleAsyncTaskExecutor-4] DEBUG c.g.tms.media.util.ImageMagick - convert File \\wcsfs00.its.yale.internal\ycbamedia-887111-bac\TMSmedia\images\screen\obj\043\713\ba-obj-43713-0001-pub.jpg to D:\webAppMediaCacheProd\cache\55\192876.png | |
15:51:52.755 [SimpleAsyncTaskExecutor-4] DEBUG c.g.tms.media.util.ImageMagick - buildProcess started command '[D:\TMSWebComponents-2016prod\gs_extra\ImageMagick\convert.exe, -auto-orient, -thumbnail, 55x55, -strokewidth, 0, -gravity, center, -quality, 100, -extent, 55x55, -background, transparent, "\\wcsfs00.its.yale.internal\ycbamedia-887111-bac\TMSmedia\images\screen\obj\043\713\ba-obj-43713-0001-pub.jpg", -synchronize, "D:\webAppMedi |
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
"response": { | |
"numFound": 13, | |
"start": 0, | |
"docs": [ | |
{ | |
"id": "1665748", | |
"title_ss": [ | |
"The Wolverhampton Racecourse" | |
], | |
"collection_ss": [ |
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
{ | |
window: "1", //current window | |
entities: { | |
"windows": { | |
"1": { id: "1", config: "1"}, | |
"2": { id: "2", config: "2"}, | |
"3": { id: "3", config: "3"} | |
}, | |
"configs": { | |
"1": { "collectionIndex": 0, "manifestIndex": 0, "sequenceIndex": 0, "canvasIndex": 0, "rangeId": null, "xywh": null, "rotation": null}, |
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
modified: Gemfile | |
modified: Gemfile.lock | |
new file: app/assets/javascripts/images.coffee | |
new file: app/assets/stylesheets/images.scss | |
new file: app/assets/stylesheets/scaffolds.scss | |
new file: app/controllers/images_controller.rb | |
new file: app/helpers/images_helper.rb | |
new file: app/models/image.rb | |
new file: app/uploaders/image_uploader.rb | |
modified: app/views/files/index.html.erb |
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
C02RL0LKFVH8% rails g scaffold Image image:string | |
Running via Spring preloader in process 68209 | |
invoke active_record | |
create db/migrate/20180118160447_create_images.rb | |
create app/models/image.rb | |
invoke test_unit | |
create test/models/image_test.rb | |
create test/fixtures/images.yml | |
invoke resource_route | |
route resources :images |
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
[ec2-user@ip-10-5-96-153 zz_interface]$ RAILS_ENV=production bundle exec rake assets:clean | |
I, [2018-01-18T14:30:40.086393 #26349] INFO -- : Removed application-715eca76174585b501a3a8b722e79ecd4d869834fc0c13eab4c7ba63cef8d4e3.js | |
I, [2018-01-18T14:30:40.087084 #26349] INFO -- : Removed application-de5edc4837a14e4d9e562652d91c2790072fcc5688ead7163ee1bed58cbbc96b.js | |
I, [2018-01-18T14:30:40.087582 #26349] INFO -- : Removed application-8b1635916ee81caaa18a4301e26fbab9feee56d998104b797b05f34f991a5a96.js | |
I, [2018-01-18T14:30:40.088140 #26349] INFO -- : Removed application-3a0d4bb74fde0be9547256fbb9100cdac4732bcf5927117cccfd86499ca63b9c.js | |
I, [2018-01-18T14:30:40.088617 #26349] INFO -- : Removed application-3668e9a1849e38a876d5a3e91a1e4c2492792c3b9c7e407eceef4eea04c1137f.js | |
I, [2018-01-18T14:30:40.089305 #26349] INFO -- : Removed application-7c6a8f39203e2b18ebb6acf754192a2a3e574ea2b16771846035d8ef853b8db0.css | |
I, [2018-01-18T14:30:40.090014 #26349] INFO -- : Removed files-5fc3818fb21b07c38e7f551e524ffb3563c8e4de |
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
[SimpleAsyncTaskExecutor-1] 2018-01-09 11:50:57,637 INFO c.g.t.m.s.i.m.MediaCacheMonitorService [MediaCacheMonitorService.java:101] Monitor | |
[SimpleAsyncTaskExecutor-1] 2018-01-09 11:50:57,653 INFO c.g.t.m.s.i.MediaConfigurationServiceImpl [MediaConfigurationServiceImpl.java:228] loadSystemConfigurations 'Image.Cache.Sizes' with value '55,128,192,600' | |
[SimpleAsyncTaskExecutor-1] 2018-01-09 11:50:57,653 DEBUG c.g.t.m.s.i.m.MediaCacheMonitorService [MediaCacheMonitorService.java:108] Media cache size configuration remains unchanged | |
[SimpleAsyncTaskExecutor-1] 2018-01-09 11:50:59,528 INFO c.g.t.m.s.i.m.MediaCacheMonitorService [MediaCacheMonitorService.java:114] 7 media items has changed for | |
[SimpleAsyncTaskExecutor-1] 2018-01-09 11:50:59,528 INFO c.g.t.m.s.i.MediaCacheServiceImpl [MediaCacheServiceImpl.java:151] rebuildDeltaData for 7 mediaMasterIds | |
[SimpleAsyncTaskExecutor-1] 2018-01-09 11:50:59,559 INFO c.g.t.m.a.MediaCacheLockAdvice [MediaCacheLockAdvice.java:30] proceed [SimpleAsyncTaskExecutor-1] method |
NewerOlder