MARCEDIT-L Archives

December 2011

MARCEDIT-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Michael Ayres <[log in to unmask]>
Reply To:
MarcEdit support in technical and instructional matters <[log in to unmask]>
Date:
Mon, 19 Dec 2011 13:50:43 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (57 lines)
I use the following as part of the assigned tasks for editing OverDrive records (and a similar one for mp3).

Find:			(=856  ..)(\$3Excerpt)(.*\.)(wma\z)
Replace with:		$1$2 (wma)$3$4
   check "Use Regular Expressions" 

results in:
=856  4\$3Excerpt (wma)$ysample available$uhttp://excerpts.contentreserve.com/FormatType-25/1138-1/097194-AbsentFriends.wma


Michael Ayres | Technical Services Manager
City of Irving | Irving Public Library
801 W. Irving Blvd. Irving, TX 75060
P: (972) 721-2764
F: (972) 721-2329
[log in to unmask]

-----Original Message-----
From: MarcEdit support in technical and instructional matters [mailto:[log in to unmask]] On Behalf Of Keenan, Teressa
Sent: Monday, December 19, 2011 1:25 PM
To: [log in to unmask]
Subject: [MARCEDIT-L] find & copy data from one subfield and paste into antoher subfield?

I have some records for audio books from Overdrive.  In the record they have 2 856 links to excerpts.  One is an mp3 file and the other is a wma file.  They have the same subfield 3 for both.  Just the word Excerpt. An example is listed below:

=856  4\$3Excerpt$uhttp://excerpts.contentreserve.com/FormatType-25/0887-1/142870-TheGreatGatsby.wma
=856  4\$3Excerpt$uhttp://excerpts.contentreserve.com/FormatType-425/0887-1/142870-TheGreatGatsby.mp3


What I would like to do is add either mp3 or wma as appropriate to the subfield 3 so that when these display it is clear to the user what kind of file they are downloading.  So I'd like to change the 856 field to look something like the following

=856  4\$3.wma Excerpt$uhttp://excerpts.contentreserve.com/FormatType-25/0887-1/142870-TheGreatGatsby.wma
=856  4\$3.mp3 Excerpt$uhttp://excerpts.contentreserve.com/FormatType-425/0887-1/142870-TheGreatGatsby.mp3

Is this possible without manually altering every record?  I can easily use find and replace to find and then alter that phrase, but I couldn't not figure out how to find a phrase and then copy and paste it elsewhere within the same field.  Has anyone out there done something similar to this using MarcEdit?

Teressa

~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~
Teressa M. Keenan  
Interim Head, Bibliographic Management Services,
Metadata Librarian
Maureen and Mike Mansfield Library
The University of Montana 
32 Campus Drive (MMLA01)
Missoula, MT 59812-9936
[log in to unmask] , (406) 243-4592
~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~

________________________________________________________________________

This message comes to you via MARCEDIT-L, a Listserv(R) list for technical and instructional support in MarcEdit.  If you wish to communicate directly with the list owners, write to [log in to unmask] To unsubscribe, send a message "SIGNOFF MARCEDIT-L" to [log in to unmask]

________________________________________________________________________

This message comes to you via MARCEDIT-L, a Listserv(R) list for technical and instructional support in MarcEdit.  If you wish to communicate directly with the list owners, write to [log in to unmask] To unsubscribe, send a message "SIGNOFF MARCEDIT-L" to [log in to unmask]

ATOM RSS1 RSS2