vhost/ecas changes
[webpac2] / vhost / ecas / marc-muse2json.pl
diff --git a/vhost/ecas/marc-muse2json.pl b/vhost/ecas/marc-muse2json.pl
new file mode 100644 (file)
index 0000000..d611112
--- /dev/null
@@ -0,0 +1,20 @@
+tag( 'title',  
+       regex('s/í/í/g',
+               rec('245','a') 
+       )
+);
+tag( 'issn',   rec('022','y') );
+tag( 'issn_e', rec('022','a') );
+               
+tag( 'publisher',      
+       regex('s/,$//',
+               rec('260','b') 
+       )
+);
+tag( 'url',            rec('856','u') );       
+tag( 'urlp',           rec('856','u') );       
+tag( 'subject',                rec('650','a') );
+tag( 'collection',     
+       config('input description')
+)
+