Wednesday, December 27, 2023

Virtual Keyboard

 

Paste in OPACUserCSS

<style type="text/css">

#divUrduKeyboardcontainer {

 }

 #DisplayUrduKeyboard {

color: black;

cursor: pointer;

}

 #UrduKeyboard {

background-color: #E1F5A9;

height: 130px;

width: 430px;

border: 1px solid black;

border-bottom-left-radius: 20px;

border-bottom-right-radius: 20px;

}

 #FirstLine, #SecondLine, #ThirdLine, #FourthLine {

text-align: center;

height: 30px;

}

 .UrduKey {

font-size: 16px;

font-weight: bold;

color: #ffffff;

background: #3498db;

background-image: -webkit-linear-gradient(top, #3498db, #2980b9);

background-image: -moz-linear-gradient(top, #3498db, #2980b9);

background-image: -ms-linear-gradient(top, #3498db, #2980b9);

background-image: -o-linear-gradient(top, #3498db, #2980b9);

background-image: linear-gradient(to bottom, #3498db, #2980b9);

-webkit-border-radius: 7;

-moz-border-radius: 7;

border-radius: 7px;

width: 18px;

height: 20px;

cursor:pointer;

display: inline-block;

text-align: center;

margin-top: 10px;

padding: 2px;

}

 .UrduKey:hover {

background: white;

color: black;

width: 22px;

height: 24px;

font-size: 18px;

}

 .UrduKey:active {

background: red;

color: yellow;

position:relative;

top:2px;

}

 

.UrduKeySpace {

font-size: 20px;

color: white;

background: #3498db;

background-image: -webkit-linear-gradient(top, #3498db, #2980b9);

background-image: -moz-linear-gradient(top, #3498db, #2980b9);

background-image: -ms-linear-gradient(top, #3498db, #2980b9);

background-image: -o-linear-gradient(top, #3498db, #2980b9);

background-image: linear-gradient(to bottom, #3498db, #2980b9);

border:0px solid #4a3a00;

text-shadow: 0px -1px 1px #222222;

box-shadow: 0px 4px 0px #2e2300;

-moz-box-shadow: 0px 4px 0px #2e2300;

-webkit-box-shadow: 0px 4px 0px #2e2300;

border-radius: 5px;

-moz-border-radius: 5px;

-webkit-border-radius: 5px;

width: 300px;

height: 20px;

cursor:pointer;

display: inline-block;

text-align: center;

margin-top: 10px;

}

 .UrduKeySpace:hover {

background: white;

color: black;

}

 

.UrduKeySpace:active {

background: red;

color: yellow;

position:relative;

top:2px;

}

#translControl1 {

});

Paste in   OPACUserJS 

 

$(document).ready(function(){

$("#opac-main-search").append($("#divUrduKeyboardcontainer"));

})

 

function WriteLetter(Letter) {

textfield = document.getElementById("translControl1");

textfield.value = textfield.value + Letter;

}

 

function DisplayUrduKeyboardFunction () {

x = document.getElementById("UrduKeyboard");

if (x.style.display == "none") {

x.style.display = "block";

}

else if (x.style.display == "block") {

x.style.display = "none";

}

}

 

</script>

 

 

 

<div id="divUrduKeyboardcontainer">

<center><span id="DisplayUrduKeyboard" onclick="DisplayUrduKeyboardFunction();"> اردو کى بورڈ</span>

<div id="UrduKeyboard" style="display:none;">

<div id="FirstLine">

<div class="UrduKey" onclick="WriteLetter(this.innerHTML);">ذ</div>

<div class="UrduKey" onclick="WriteLetter(this.innerHTML);">ڈ</div>

<div class="UrduKey" onclick="WriteLetter(this.innerHTML);">د</div>

<div class="UrduKey" onclick="WriteLetter(this.innerHTML);">خ</div>

<div class="UrduKey" onclick="WriteLetter(this.innerHTML);">ح</div>

<div class="UrduKey" onclick="WriteLetter(this.innerHTML);">چ</div>

<div class="UrduKey" onclick="WriteLetter(this.innerHTML);">ج</div>

<div class="UrduKey" onclick="WriteLetter(this.innerHTML);">ث</div>

<div class="UrduKey" onclick="WriteLetter(this.innerHTML);">ٹ</div>

<div class="UrduKey" onclick="WriteLetter(this.innerHTML);">ت</div>

<div class="UrduKey" onclick="WriteLetter(this.innerHTML);">پ</div>

<div class="UrduKey" onclick="WriteLetter(this.innerHTML);">ب</div>

<div class="UrduKey" onclick="WriteLetter(this.innerHTML);">آ</div>

<div class="UrduKey" onclick="WriteLetter(this.innerHTML);">أ</div>

<div class="UrduKey" onclick="WriteLetter(this.innerHTML);">ا</div>

<div class="UrduKey" onclick="WriteLetter2(this.innerHTML);">ّ</div>

</div>

<div id="SecondLine">

<div class="UrduKey" onclick="WriteLetter(this.innerHTML);">ق</div>

<div class="UrduKey" onclick="WriteLetter(this.innerHTML);">ف</div>

<div class="UrduKey" onclick="WriteLetter(this.innerHTML);">غ</div>

<div class="UrduKey" onclick="WriteLetter(this.innerHTML);">ع</div>

<div class="UrduKey" onclick="WriteLetter(this.innerHTML);">ظ</div>

<div class="UrduKey" onclick="WriteLetter(this.innerHTML);">ط</div>

<div class="UrduKey" onclick="WriteLetter(this.innerHTML);">ض</div>

<div class="UrduKey" onclick="WriteLetter(this.innerHTML);">ص</div>

<div class="UrduKey" onclick="WriteLetter(this.innerHTML);">ش</div>

<div class="UrduKey" onclick="WriteLetter(this.innerHTML);">س</div>

<div class="UrduKey" onclick="WriteLetter(this.innerHTML);">ژ</div>

<div class="UrduKey" onclick="WriteLetter(this.innerHTML);">ز</div>

<div class="UrduKey" onclick="WriteLetter(this.innerHTML);">ڑ</div>

<div class="UrduKey" onclick="WriteLetter(this.innerHTML);">ر</div>

</div>

<div id="ThirdLine">

<div class="UrduKey" onclick="WriteLetter(this.innerHTML);">ے</div>

<div class="UrduKey" onclick="WriteLetter(this.innerHTML);">ي</div>

<div class="UrduKey" onclick="WriteLetter(this.innerHTML);">ى</div>

<div class="UrduKey" onclick="WriteLetter(this.innerHTML);">ء</div>

<div class="UrduKey" onclick="WriteLetter(this.innerHTML);">ھ</div>

<div class="UrduKey" onclick="WriteLetter(this.innerHTML);">ه</div>

<div class="UrduKey" onclick="WriteLetter(this.innerHTML);">ؤ</div>

<div class="UrduKey" onclick="WriteLetter(this.innerHTML);">و</div>

<div class="UrduKey" onclick="WriteLetter(this.innerHTML);">ن</div>

<div class="UrduKey" onclick="WriteLetter(this.innerHTML);">م</div>

<div class="UrduKey" onclick="WriteLetter(this.innerHTML);">ل</div>

<div class="UrduKey" onclick="WriteLetter(this.innerHTML);">گ</div>

<div class="UrduKey" onclick="WriteLetter(this.innerHTML);">ک</div>

</div>

<div id="FourthLine">

<div class="UrduKeySpace" onclick="WriteLetter(this.innerHTML);"> </div>

 

 

Display New Arrivals on OPAC

Display New Arrivals on OPAC

 

a)    Manual Method | Specifies the URL of the image (src)

 

<p>Please tab the cover image for biblio record.</p>

<br><marquee behavior="scroll" direction="left">

<a target="_self" href="/cgi-bin/koha/opac-detail.pl?biblionumber=651"><img src="https://books.google.com/books/content?id=Df81PQAACAAJ&printsec=frontcover&img=1&zoom=1" alt="" border="0"></a>

<a target="_self" href="/cgi-bin/koha/opac-detail.pl?biblionumber=658"><img src="https://books.google.com/books/content?id=m55nAAAAMAAJ&printsec=frontcover&img=1&zoom=1" alt="" border="0"></a>

</marquee>

 

b)    Automatic Method | Feedmikle

(Replace your catalog link with red)

<br><!-- start feedwind code --><script type="text/javascript">document.write('\x3Cscript type="text/javascript" src="' + ('https:' == document.location.protocol ? 'https://' : 'http://') + 'feed.mikle.com/js/rssmikle.js">\x3C/script>');</script><script type="text/javascript" src="http://feed.mikle.com/js/rssmikle.js"></script><script type="text/javascript">(function() {var params = {rssmikle_url: "http://catalog.ivs.edu.pk/cgi-bin/koha/opac-search.pl?&limit=mc-itype%2Cphr%3ABK&offset=180&sort_by=acqdate_dsc&format=rss2",rssmikle_frame_width: "450",rssmikle_frame_height: "450",frame_height_by_article: "0",rssmikle_target: "_blank",rssmikle_font: "sans-serif, sans-serif, sans-serif",rssmikle_font_size: "12",rssmikle_border: "on",responsive: "on",rssmikle_css_url: "",text_align: "left",text_align2: "left",corner: "off",scrollbar: "off",autoscroll: "on",scrolldirection: "up",scrollstep: "3",mcspeed: "20",sort: "Off",rssmikle_title: "on",rssmikle_title_sentence: "New Arrival",rssmikle_title_link: "http://catalog.ivs.edu.pk/cgi-bin/koha/opac-search.pl?&limit=mc-itype%2Cphr%3ABK&offset=180&sort_by=acqdate_dsc=rss2",rssmikle_title_bgcolor: "#5a2374",rssmikle_title_color: "#FFFFFF",rssmikle_title_bgimage: "",rssmikle_item_bgcolor: "#FFFFFF",rssmikle_item_bgimage: "",rssmikle_item_title_length: "55",rssmikle_item_title_color: "#5a2374",rssmikle_item_border_bottom: "on",rssmikle_item_description: "on",item_link: "on",rssmikle_item_description_length: "200",rssmikle_item_description_color: "#666666",rssmikle_item_date: "gl1",rssmikle_timezone: "Etc/GMT",datetime_format: "%Y-%c-%d",item_description_style: "text+tn",item_thumbnail: "crop",item_thumbnail_selection: "auto",article_num: "15",rssmikle_item_podcast: "off",keyword_inc: "",keyword_exc: ""};feedwind_show_widget_iframe(params);})();</script>

 

  

KOHA OPAC Credits

 <p><br><center>© RAFLIMTS, 2019. All rights reserved.<br><font size="2">(<a

 

href="http://wiki.koha-community.org/wiki/KohaUsers/SouthAsian#table_row_4">Koha-ILS,</a>

 

Implemented and Customized by <a href="https://pk.linkedin.com/pub/furrukh-hussain-

 

zai/a2/1/598">Mr. Furrukh Hussain Zai</a> for Ready Access to Free Library and Information Management Technologies in

 

2019)</font></center></p>

Enhanced Digital Library Virtual Interface

 

User JS 

 

// eBook results

$("#userresults").ready(function(){

$("#userresults table td").each(function(i){

td = $(this);

var pgbks_link = td.find("a[href^='https://doaj.org/toc']");

var linkc = pgbks_link.parent();

var pgbks_link = pgbks_link.attr("href");

if(pgbks_link){

$("td:eq("+i+") span.availability,td:eq("+i+") span.actions").hide();

linkc.html('<a class="ebook" href="'+pgbks_link+'"><img src="https://lh4.googleusercontent.com/Tsij938Mxo5xDpEK4LNXJoj5LSN6tA6jIQDcUFeJeraWIPxusy4QawNkHEeatXkQvNJiHvFz9zKiI0CtmUdY8f0=w1280" alt="Tab here for eBook" width="200" height="25" /></a>');

}

});

});

 

// eBook detail

$("span.online_resources").ready(function(){

var pgbks_link = $("span.online_resources a[href^='https://doaj.org/toc']").attr("href");

if(pgbks_link){

$("#holdings").html('<a href="'+pgbks_link+'"><img src="https://lh4.googleusercontent.com/Tsij938Mxo5xDpEK4LNXJoj5LSN6tA6jIQDcUFeJeraWIPxusy4QawNkHEeatXkQvNJiHvFz9zKiI0CtmUdY8f0=w1280" alt="Tab here for eBook" width="300" height="50" /></a>');

}

});

 

/* ---------------------------------------------------------------------------- */

 

// E-Journal results

$("#userresults").ready(function(){

$("#userresults table td").each(function(i){

td = $(this);

var pgbks_link = td.find("a[href^='http://link.springer.com']");

var linkc = pgbks_link.parent();

var pgbks_link = pgbks_link.attr("href");

if(pgbks_link){

$("td:eq("+i+") span.availability,td:eq("+i+") span.actions").hide();

linkc.html('<a class="ebook" href="'+pgbks_link+'"><img src="https://lh3.googleusercontent.com/k_Gvt985TAisv59DBViDw1nCKYsuRTiBUmEOSUZVQmigK7HiPk1Em7cqxCwSVHWAPP912Xo47Zbs_wqJFlVCDs4=w1280" alt="Tab here for E-Journal" width="200" height="25" /></a>');

}

});

});

 

// E-Journal detail

$("span.online_resources").ready(function(){

var pgbks_link = $("span.online_resources a[href^='http://link.springer.com']").attr("href");

if(pgbks_link){

$("#holdings").html('<a href="'+pgbks_link+'"><img src="https://lh3.googleusercontent.com/k_Gvt985TAisv59DBViDw1nCKYsuRTiBUmEOSUZVQmigK7HiPk1Em7cqxCwSVHWAPP912Xo47Zbs_wqJFlVCDs4=w1280" alt="Tab here for E-Journal" width="300" height="50" /></a>');

}

});

 

/* ---------------------------------------------------------------------------- */

 

// E-Thesis results

$("#userresults").ready(function(){

$("#userresults table td").each(function(i){

td = $(this);

var pgbks_link = td.find("a[href^='https://www.tandfonline.com']");

var linkc = pgbks_link.parent();

var pgbks_link = pgbks_link.attr("href");

if(pgbks_link){

$("td:eq("+i+") span.availability,td:eq("+i+") span.actions").hide();

linkc.html('<a class="ebook" href="'+pgbks_link+'"><img src="https://lh3.googleusercontent.com/x_uCPUycp-5WDThKUHC4j7TZFZRgewYxafkyb1-QDq1594B3l41E2-pJFPou1AlaLj8bN8LgRL2gc8oZBn_rN_8=w1280" alt="Tab here for E-Thesis" width="200" height="25" /></a>');

}

});

});

 

// E-Thesis detail

$("span.online_resources").ready(function(){

var pgbks_link = $("span.online_resources a[href^='https://www.tandfonline.com']").attr("href");

if(pgbks_link){

$("#holdings").html('<a href="'+pgbks_link+'"><img src="https://lh3.googleusercontent.com/x_uCPUycp-5WDThKUHC4j7TZFZRgewYxafkyb1-QDq1594B3l41E2-pJFPou1AlaLj8bN8LgRL2gc8oZBn_rN_8=w1280" alt=" Tab here for E-Thesis" width="300" height="50" /></a>');

}

});

 

/* ---------------------------------------------------------------------------- */

 

 Credit: Furrukh Hussian

KOHA 23.05 OPAC CUSTOMIZATION

 KOHA 23.05 OPAC CUSTOMIZATION

 

OPAC preferences > Appearance >

1.       LibraryName

 

2.       OpacFavicon https://yt3.googleusercontent.com/ytc/AL5GRJVo_hrJgYCwqumXA-0ADLyFqG39QRv168Rac7VQgw=s900-c-k-c0x00ffffff-no-rj

 

3.       OPACUserCSS

 

/*page background, font color and size*/

body {

    background-color: #ffffff;

    font-family: sans-serif;

    font-size: 14px;

}

 

/*main user block, font color and size*/

.main {

    background-color: #E5E4E2;

    border: 1px solid #E5E4E2;

    margin: 15px;

    padding: 1rem 0;

}

 

/*link color*/

a, a:hover, a:focus {

    color: #5a2374 !important;

}

 

/*Searchbar color*/

#opac-main-search {

    background: #151b54;

    margin: 7px 0;              

    padding: 15px;

}

#opac-main-search label {

    color: #ffffff;

    font-size: 120%;

    font-weight: 700;

    margin: 0;

}

 

/*Search button color*/

.btn-primary {

    color: #ffffff;

    text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.25);

    background-color: #F2F2EF !important;

    background-image: linear-gradient(to bottom, #F2F2EF, #5a2374) !important;

}

 

/*Replace Koha small logo with yours*/

#logo {

Background: url(https://furrukh.webs.com/mustlibrary-1.png) no-repeat 0 0;

boarder: 0;

float: left !important;

margin: 20px 20px 20px 30px;

padding: 0;

width: 190px;

height: 35px;

background-size: contain;

}

 

4.  OPACUserJS

Hide Koha small Logo

$("#logo").hide();

 

Replace Library Catalog to Keyword in OPAC main search

$("select[name='idx'] option:first").text('Keyword');

 

Hide login at right navigation

$('#login').hide();

 

Remove no-image shadow

$('.no-image').remove();

 

5.       Slide Show

Watch video | https://youtu.be/LAg7HR3ZrLE | https://youtu.be/dfR3ZViCjEc

 

6.       Insert Urdu Keyboard

Watch Video | https://youtu.be/-Ydl_P9oxr8

 

7.       Use to display links on tag 856 as image

Watch Video | https://youtu.be/Q1VfDfMnWPU | https://youtu.be/6lj-sJ29ks4

 

https://sites.google.com/site/furrukhlibrary/home

 

Tools > Additional contents > HTML customizations> New entry >

8.       Opacheader

<center><a href=Koha OPAC Web Address target="_blank"><img

Src=Image address title="Library Name"/></a></center>

<h4><center>Library Name Display as Heading</h4></center>

9.       Opaccredits

Copyright 2023. All Rights Reserved.

10.   OpacMainUserBlock

<p align="justify"><h4>..:: Welcome to Library Name ::..</br></br></p align="justify"></h5><p align="justify">You are at the Summon Search of Library Name. Summon is a new kind of database or library search engine that includes records of print and electronic  books, book contents, journals, theses and dissertations, videos lectures, and more.<br><br> The new system easy the searching and browsing of all resources of Library Name through the simple and advanced search options; the simple search engine is limited to, search by the keyword, title, author, subject, ISBN, series and the call number while the advanced search brings the Boolean operators and also limit the date-range of publications, item types, languages, locations, libraries and the availability.<br><br>Furthermore, all electronic resources can be accessed on-campus only, while registered members are allowed to log in with their ID and password, and after login, they can modify their personal details along with password change; members are also permitted to view the summary of their checked out items, fine paid, reading and search history and can submit on-line recommendations for purchasing of books or journals.<br><br>Kindly contact us at <a href="mailto:Your Email ID">Your Email ID</a> or <a href="mailto: Your Email ID "> Your Email ID </a> for further details.<hr></h7>

11.   OpacNav

<style>

.button {

  border: none;

  color: white;

  padding: 12px 80px;

  text-align: center;

  text-decoration: none;

  display: inline-block;

  font-size: 16px;

  margin: 4px 2px;

  transition-duration: 0.4s;

  cursor: pointer;

}

 

.button1 {

  background-color: white;

  color: black;

  border: 2px solid #008CBA;

}

 

.button1:hover {

  background-color: #008CBA;

  color: white;

}

 

.button2 {

  background-color: white;

  color: black;

  border: 2px solid #008CBA;

}

 

.button2:hover {

  background-color: #008CBA;

  color: white;

}

 

.button3 {

  background-color: white;

  color: black;

  border: 2px solid #008CBA;

}

 

.button3:hover {

  background-color: #008CBA;

  color: white;

}

.button4 {

  background-color: white;

  color: black;

  border: 2px solid #008CBA;

}

 

.button4:hover {

  background-color: #008CBA;

  color: white;

}

.button5 {

  background-color: white;

  color: black;

  border: 2px solid #008CBA;

}

 

.button5:hover {

  background-color: #008CBA;

  color: white;

}

.button6 {

  background-color: white;

  color: black;

  border: 2px solid #008CBA;

}

 

.button6:hover {

  background-color: #008CBA;

  color: white;

}

.button7 {

  background-color: white;

  color: black;

  border: 2px solid #008CBA;

}

 

.button7:hover {

  background-color: #008CBA;

  color: white;

}

 

</style>

<h2>Important links here</h2>

<button class="button button1">Facebook</button> <br /><button class="button button2">Facebook</button><br /><button class="button button3">Facebook</button><br /><button class="button button4">Facebook</button><br /><button class="button button5">Facebook</button><br /><button class="button button6">Facebook</button><br /><button class="button button7">Facebook</button>

 

OpacNavRight

<br><br><br><td><a href=http://www.uit.edu/library_services.aspx target="_blank"><img Src=https://lh5.googleusercontent.com/g34VB5HWkI2E8-pdw60ZG4ow-f9ButnjiwxJZZGORK1Aryl0H5j_25v1MV-1yEFi93ASsfNbcTWlf9-LnrvGKsClxaS8uUAkD5X9A1GyIfAIZPXeZrwBcXKoj5qIdJROhw=w1280 title="Library and Information Resource Centre"/></a></td></tr>

 

 Credit: Furukh Hussian 

 

Tuesday, December 26, 2023

How to Link Calibre to Koha

 Two steps are involved in linking Calibre with Koha

Exporting books from Calibre Software.

    1. Calibre > Convert books > Create a catalog of the books in your calibre library


 2. Export the file as 'CSV'.

 3. Choose the following columns: author_sort, authors, formats, isbn, id, languages, pubdate, publisher, series, tags, title, title_sort

 4. id transform as 

        [URL]+[#book_id=]+[id]+[&library_id=Calibre_Library&panel=book_details]  e.g

        http://192.168.10.6:8080/#book_id=6&library_id=Calibre_Library&panel=book_details

  5. author_sort break into principal, 2nd and 3rd authors columns

  6. Arrange columns as isbn, author_sort, 2nd auth, 3rd Auth, authors, title, publisher, pubdate, tags,id,LibraryName, Library Name

Mapping 

with marc Tags by marcedit using  as follows:    

  1. isbn > 020
  2. author_sort > 100$a
  3. 2nd auth > 700$a
  4. 3rd Auth >700$a 
  5. authors > 245$c
  6. title >245$a
  7. publisher > 260$b
  8. pubdate > 260$c
  9. tags > 650$a
  10. click to view > 856$3
  11. id > 856$u
  12. Available within Campus>856$z
  13. LibraryName > 952$a
  14. Library Name >952$b

 and finally, Import it into Koha by Bulkmarc or Marc stage.

______________________________________________________________




Claude

Claude for Academics — A Research Companion Research & Academia Claude as Your Research Companion A practical gui...