SirsiDynix Symphony (revD) metadef

33 views
Skip to first unread message

Georgina

unread,
Aug 3, 2009, 5:34:58 AM8/3/09
to juice-project-discuss
Hello,

I got round to playing with Juice on our SirsiDynix Symphony 3.2.1
system. The metadef was tricky to create - firstly because it's my
first foray into Javascript and jquery - eek! - but also I'm sure the
OPAC is just plain awkward. To simplify it, I added ids rather than
finding a complicated selector...

I.e. assuming you want Juice displaying on the detailed display page
(5.pg) you need to add at least the IDs for isbn/author/title to
viewtop.h and view_item_info.h as well:
vi ../Unicorn/Webcat/Pages_custom/Elib_revD/viewtop.h
add id="isbn" to following section:
<th class="viewmarctags" valign="top"><SIRSI_Data
Environ="ISBN_LABEL">:</th>
<td class="viewmarctags" id="isbn"><SIRSI_Data DC="Km"></td>

vi .../Unicorn/Webcat/Pages_custom/Elib_revD/view_item_info.h
add id="title" and id="author"to:
<div id="panel1" class="panel">
<div class="bibinfo" id="title"> <!-- displays, author, title, etc
on all panels -->
<!-- Print the title, if one exists -->
<SIRSI_Conditional IF Environ="DISP880FORM^1^ne">
<SIRSI_Conditional IF DC_Exists="IB">
<strong><SIRSI_Data DC="IB"></strong>
</SIRSI_Conditional>
</SIRSI_Conditional>
...
<div class="bibinfo" id="author">
<SIRSI_Conditional IF Environ="DISP880FORM^1^ne">
<SIRSI_Conditional IF DC_Exists="IA"> <!-- Print the author,
if one exists -->
<SIRSI_Data DC="IA"><br/>
</SIRSI_Conditional>
</SIRSI_Conditional>

The metadef can then simply look like:
sirsi@mara:/srv/www/htdocs/Juice/Metadefs> cat symphony_metadef.js
function symphony_metadef(){
juice.addMeta(new JuiceMeta
("isbns","#isbn",juice.stringToAlphnumAray));
juice.addMeta(new JuiceMeta("author","#author"));
juice.addMeta(new JuiceMeta("title","#title"));
}

Hope this saves other Symphony people some time getting the basics.
Can the metadef be uploaded somewhere with instructions?

I'm now struggling with embedded panels but must have another attempt
before posting on that...!

Georgina

Richard Wallis

unread,
Aug 3, 2009, 9:43:56 AM8/3/09
to juice-proj...@googlegroups.com
Hi Georgina,

Great that you have applied yourself to getting Juice to work with a SirsiDynix Symphony system.

This prompts me to get around to something I was going to add to the project site soon anyway, a list of application specific pages, along the lines of the published extensions pages, which will include example metadef code.

If you joined the project, would you be willing to create the Symphony Application page?

Regards,
Richard.


Please consider the environment before printing this email.


Find out more about Talis at www.talis.com

shared innovationTM


Any views or personal opinions expressed within this email may not be those of Talis Information Ltd or its employees. The content of this email message and any files that may be attached are confidential, and for the usage of the intended recipient only. If you are not the intended recipient, then please return this message to the sender and delete it. Any use of this e-mail by an unauthorised recipient is prohibited.


Talis Information Ltd is a member of the Talis Group of companies and is registered in England No 3638278 with its registered office at Knights Court, Solihull Parkway, Birmingham Business Park, B37 7YB.

 
 

Georgina

unread,
Aug 3, 2009, 11:38:09 AM8/3/09
to juice-project-discuss
Hi Richard,

Yes, I'd be happy to help. I need to document what I've done for
internal use anyway, so it makes sense to also create a Symphony
application page here.

Just let me know how to go about this and I'll be glad to assist.

Thanks,

Georgina
> Richard Wallis
> Technology Evangelist, Talis
> Tel: +44 (0)870 400 5422 (Direct)
> Tel: +44 (0)870 400 5000 (Switchboard)
> Tel: +44 (0)7767 886 005 (Mobile)
> Fax: +44 (0)870 400 5001
>
> Linkedin:http://www.linkedin.com/in/richardwallis
> Skype: richard.wallis1
> IM: rjw3...@hotmail.com
Reply all
Reply to author
Forward
0 new messages