Wednesday 25 January 2017

Library Catalogue

As part of a literature review, researchers need to access UCC Library Catalogue on a regular basis. Login can quickly become a repetitive task and therefore a little automation might be useful. The following works with IE, Firefox, Chrome and others. Hope it helps.

Create an HTML web page with the following text;

<!DOCTYPE html>
<html>
<head>
<style>
.inline {
  display: inline;
}

.link-button {
  background: none;
  border: 1pt;
  color: blue;
  text-decoration: underline;
  cursor: pointer;
  font-size: 1em;
  font-family: serif;
}

.link-button:focus {
  outline: none;
  color: red;
}
.link-button:active {
  color:red;
}
</style>
</head>
<body>

<form method="post" action="https://library.ucc.ie/patroninfo" class="inline">
  <input type="hidden" name="name" id="name" value="Joe Bloggs">
  <input type="hidden" name="code" id="code" value="123456789">
  <input type="password" name="pin" id="pin" value="my_pass"><br/>
  <button type="submit" name="submit_param" value="submit_value" class="link-button">
    Login to Research
  </button>
</form>

</body>
</html>

The form input lines highlighted below can be edited to include your login details or just type details in each time to overcome Firefox login problems, if this is your preferred browser.

<input type="hidden" name="name" id="name" value="Joe Bloggs"> Student Name
<input type="hidden" name="code" id="code" value="123456789"> Student Number
<input type="password" name="pin" id="pin" value="my_pass"> Password

When the HTML page is created you get a simple login page that brings you straight to UCC Library Catalogue.


No comments:

Post a Comment