MarcEdit 5.x and OCLC Plug-in Update
I took a couple of minutes and made a few changes to MarcEdit and the OCLC plug-in to provide some additional functionality to the plug-in framework and fix an error in the OCLC plug-in.
Changes:
MarcEdit:
- One real change. In the MacroInterfaces.dll (the library that allows the Scripting interface and the Plug-in interface access to the MarcEditor and its functions) I’ve added two new functions: AddButton and RemoveButton. These two functions allow users to have plug-ins place buttons on the toolbar of the application (at least, on specific windows).
OCLC Plug-in:
- I’ve added the code to initiate a button and interact when it is clicked to the MarcEditor toolbar.
- I’ve corrected the 007 error. See: http://oregonstate.edu/~reeset/blog/archives/480
So what will you see with the changes. Well, the big change you will see is when you initialize the plug-in in the MarcEditor. Once you have downloaded the update to both MarcEdit and the Plug-in (you need both), you will see the following when the plug-in is executed:
The new button added has been highlighted. This button now acts as the new Save button when you have made your changes to the OCLC data records. This will move the data back into the OCLC Save File. Remember — at this point, you will want to make a backup of your Save Files before you make your changes — just in case there are other fields in OCLC’s XML format that are different than I would have expected.
If you have downloaded the OCLC Plug-in and would like to update it. At this point, the process isn’t as streamlined as I’d like (I’ll fix that this week while I’m taking some time off to recharge). Essentially, you need to Uninstall the plug-in (using the plug-in manager or, delete the oclc_helper.dll from the marcedit plug-ins directory (generally, c:\program files\marcedit 5.0\plugins\). If you uninstall with the plug-in manager, you will need to close and restart MarcEdit. Then open the plug-in manager and download the new plug-in. If you delete the library directly from the plug-ins directory — just open MarcEdit, select the plug-in manager and download the plug-in.
I’ve updated a new version of MarcEdit: MarcEdit51_Setup.exe. I’ve also uploaded a new version of the plug-in (download this through plug-in manager [see above]). Source can be downloaded from: oclc_helper.zip.
If you have a strong desire to see how this type of interaction is accomplished in C#, please see the following post and sample project file: http://oregonstate.edu/~reeset/blog/archives/481.
–TR
No comments yet.
Leave a comment
Categories
- Access 2006
- ALA Midwinter 2007
- ALA Summer 2007
- Book
- C#
- Code4Lib 2007
- Code4Lib2008
- Conferences
- CONTENTdm
- Cycling
- Digital Libraries
- Dspace
- Education
- Family
- General Computing
- Innovative Interfaces
- Java
- LibraryFind
- MarcEdit
- Microsoft
- NWIUG 2006
- OAI
- OCLC
- Open Library
- OSCON 2006
- Patent Stupidity
- Programming
- rails
- Readex 2006
- ruby
- Running
- Simpsons
- Travel
- Uncategorized
- Wii
- Wikipedia
Archive
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- July 2006
- June 2006
- May 2006
- April 2006
- March 2006
- February 2006
- January 2006
- December 2005
- November 2005
- October 2005
- September 2005
- August 2005
- July 2005