Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Customizing Feedback for askref in SFX - ELUNA 2006

1,143 views

Published on

Library has more than one location for askref feedback. A very small number of tweaks can be input so that the feedback can go to the appropriate reference desk.

Published in: Business, Education
  • Be the first to comment

  • Be the first to like this

Customizing Feedback for askref in SFX - ELUNA 2006

  1. 1. Customizing Feedback Forms For Multiple Locations [email_address] ELU-NA 2006 Knoxville, TN
  2. 2. The Problem <ul><li>We are not Consortia </li></ul><ul><li>SFX Admin is Centralized </li></ul><ul><li>Independent Administration = Different Brands + Different Reference Desks (Email Addresses) </li></ul><ul><li>The Target Configuration Document clarifies that customization is not supported </li></ul>
  3. 3. The Solution <ul><li>Use the Built-in Institute Feature </li></ul><ul><li>Customize the Target Parser </li></ul><ul><li>Customize the cgi script </li></ul><ul><li>Customize the Feedback Templates </li></ul>
  4. 4. The Disclaimers <ul><li>UNIX level permissions </li></ul><ul><li>Familiarity with HTML </li></ul><ul><li>Familiarity with CGI </li></ul><ul><li>Added complexity for Monthly Updates and Version Upgrades </li></ul><ul><li>Mileage May Vary </li></ul>
  5. 5. 5 Easy Steps <ul><li>Edit the institute feature </li></ul><ul><li>Edit the FEEDBACK.pm target parser </li></ul><ul><li>Edit the feedback.cgi script </li></ul><ul><li>Edit the feedback web templates </li></ul><ul><li>Add user parameters specific to each Institute </li></ul>
  6. 6. Institute Feature Protecting the Innocent
  7. 7. Target Parser <ul><li>Add this line to FEEDBACK.pm: </li></ul><ul><li>$qry{inst}    = $ctx_obj->get('@req.institutes'); </li></ul>
  8. 8. FEEBACK cgi <ul><li>$msg .= &quot; ** Username ** &quot; . $p->param('username'); </li></ul><ul><li>$msg .= &quot; ** Useremail ** &quot; . $p->param('useremail'); </li></ul><ul><li>$msg .= &quot; ** Phone Number ** &quot; . $p->param('Phone_Number') if $p->param('Phone_Number'); </li></ul><ul><li>$msg .= &quot; ** User Affiliation ** &quot; . $p->param('Duke_Affiliation') if $p->param('Duke_Affiliation'); </li></ul><ul><li>$msg .= &quot; ** Location ** &quot; . $p->param('Location') if $p->param('Location'); </li></ul><ul><li>$msg .= &quot; ** Department ** &quot; . $p->param('Dept') if $p->param('Dept'); </li></ul>
  9. 9. Feedback Templates <ul><li><hr> <input type=&quot;RADIO&quot; name=&quot;Duke_Affiliation&quot; value=&quot;Faculty/Staff&quot; checked><b> Duke faculty or staff </b><br> <input type=&quot;RADIO&quot; name=&quot;Duke_Affiliation&quot; value=&quot;Student&quot;> <b> Duke student </b><br> <input type=&quot;RADIO&quot; name=&quot;Duke_Affiliation&quot; value=&quot;Alumnus&quot;> <b> Duke alumnus </b><br> <input type=&quot;RADIO&quot; name=&quot;Duke_Affiliation&quot; value=&quot;None&quot;> <b> Not affiliated with Duke </b><br> </li></ul>
  10. 10. User Parameters
  11. 11. Target Parser
  12. 13. More Detail <ul><li>http://www.duke.edu/~jrl/sfx.htm </li></ul><ul><li>[email_address] ELU-NA 2006 </li></ul>

×