{"id":264,"date":"2010-03-26T16:13:03","date_gmt":"2010-03-26T16:13:03","guid":{"rendered":"https:\/\/copyright.lboro.ac.uk\/lorls\/?p=264"},"modified":"2010-03-26T16:13:03","modified_gmt":"2010-03-26T16:13:03","slug":"bibgrab","status":"publish","type":"post","link":"https:\/\/blog.lboro.ac.uk\/lorls\/lorls\/bibgrab","title":{"rendered":"BibGrab"},"content":{"rendered":"<p>For a long time we have been told that staff want an easy way to add an item to a reading list. \u00a0To make item entry easier the data entry forms for LORLS v6 are specific to the type of item being added. \u00a0This should help avoid confusion when people are asked for irrelevant metadata (e.g. asking for an ISBN for a web page).<\/p>\n<p style=\"text-align: center\"><a href=\"https:\/\/blog.lboro.ac.uk\/lorls2\/wp-content\/uploads\/sites\/3\/2010\/06\/CLUMPEdit2.png\" rel=\"lightbox[264]\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-265 aligncenter\" title=\"CLUMPEdit\" src=\"https:\/\/blog.lboro.ac.uk\/lorls2\/wp-content\/uploads\/sites\/3\/2010\/06\/CLUMPEdit2.png\" alt=\"\" width=\"400\" height=\"278\" \/><\/a><\/p>\n<p>Recently I have been working on BibGrab our tool to allow staff to add items to their reading list from any web page that has an ISBN or ISSN on it. \u00a0BibGrab consists of two parts. \u00a0The first part is a piece of\u00a0JavaScript\u00a0that is add as bookmark to their browser, then when they select that bookmark in future the\u00a0JavaScript\u00a0is run with access to the current page. \u00a0The second part is a CGI script that sits along side CLUMP that processes the information and presents the options to the users.<\/p>\n<p>The bookmark JavaScript code first decides what the user is wanting it to work with. \u00a0If the user has selected some text on the page then it works with that otherwise it will use the whole page, this helps if there are lot of ISBNs\/ISSNs on the page and the user is only interested in one of them.<\/p>\n<p>It then prepends to that the current pages URL and title, which lets BibGrab offer the option of adding the web page to a reading list as well as any ISBNs\/ISSNs found. \u00a0This information is then used to populate a form that it\u00a0appends to the current page. \u00a0The form&#8217;s target is set to &#8216;_blank&#8217; to open a new window and the action of the form is set to the CGI script. \u00a0Finally the JavaScript submits the form.<\/p>\n<p>The CGI script takes the input from the form and then searches out the web page details the JavaScript added and any possible ISBNs and ISSNs. \u00a0The ISBNs and ISSNs then have their checkdigit validated and any that fail are rejected. \u00a0The remaining details are then used to put together a web page, that uses JavaScript to lookup the details for each ISBN and ISSN and display these to the user. \u00a0The web page requires the user to be logged in, as it is using CLUMP&#8217;s JavaScript functions for a lot of the work it can see if they have already logged into CLUMP that session and if they haven&#8217;t it can then ask them to login.<\/p>\n<p>Once logged in they can see all the items that BibGrab found.<\/p>\n<p style=\"text-align: center\"><a href=\"https:\/\/blog.lboro.ac.uk\/lorls2\/wp-content\/uploads\/sites\/3\/2010\/05\/BibGrab11.png\" rel=\"lightbox[264]\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-107\" style=\"border: 2px solid black\" title=\"BibGrab1\" src=\"https:\/\/blog.lboro.ac.uk\/lorls2\/wp-content\/uploads\/sites\/3\/2010\/05\/BibGrab11.png\" alt=\"\" width=\"400\" height=\"252\" srcset=\"https:\/\/blog.lboro.ac.uk\/lorls\/wp-content\/uploads\/sites\/3\/2010\/05\/BibGrab11.png 1204w, https:\/\/blog.lboro.ac.uk\/lorls\/wp-content\/uploads\/sites\/3\/2010\/05\/BibGrab11-300x189.png 300w, https:\/\/blog.lboro.ac.uk\/lorls\/wp-content\/uploads\/sites\/3\/2010\/05\/BibGrab11-1024x645.png 1024w, https:\/\/blog.lboro.ac.uk\/lorls\/wp-content\/uploads\/sites\/3\/2010\/05\/BibGrab11-900x567.png 900w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n<p>When they select an item they are then presented with all the details for that item and if it is a journal they are also presented with some boxes for adding in details to specify a specific article, issue or volume. \u00a0They are also presented with a list of their reading lists, of which they can select as many as they like and when they click add the item is added to all their selected reading lists. \u00a0The item is added to the end of each reading lists and is in a draft mode. \u00a0This makes it easier for people to add items to their reading lists when they find them without worrying how it will affect their list&#8217;s layout.<\/p>\n<p style=\"text-align: center\"><a href=\"https:\/\/blog.lboro.ac.uk\/lorls2\/wp-content\/uploads\/sites\/3\/2010\/05\/bibGrab21.png\" rel=\"lightbox[264]\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-109\" style=\"border: 2px solid black\" title=\"bibGrab2\" src=\"https:\/\/blog.lboro.ac.uk\/lorls2\/wp-content\/uploads\/sites\/3\/2010\/05\/bibGrab21.png\" alt=\"\" width=\"400\" height=\"252\" srcset=\"https:\/\/blog.lboro.ac.uk\/lorls\/wp-content\/uploads\/sites\/3\/2010\/05\/bibGrab21.png 1204w, https:\/\/blog.lboro.ac.uk\/lorls\/wp-content\/uploads\/sites\/3\/2010\/05\/bibGrab21-300x189.png 300w, https:\/\/blog.lboro.ac.uk\/lorls\/wp-content\/uploads\/sites\/3\/2010\/05\/bibGrab21-1024x648.png 1024w, https:\/\/blog.lboro.ac.uk\/lorls\/wp-content\/uploads\/sites\/3\/2010\/05\/bibGrab21-900x569.png 900w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n<p>After the item has been added to their chosen reading lists it is\u00a0grayed\u00a0out as a visual indication that it has already been used. \u00a0They can still select it again and add it to even more reading lists if they want or they can select another item to add to their reading lists.<\/p>\n<p style=\"text-align: center\"><a href=\"https:\/\/blog.lboro.ac.uk\/lorls2\/wp-content\/uploads\/sites\/3\/2010\/05\/bibGrab31.png\" rel=\"lightbox[264]\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-110\" style=\"border: 2px solid black\" title=\"bibGrab3\" src=\"https:\/\/blog.lboro.ac.uk\/lorls2\/wp-content\/uploads\/sites\/3\/2010\/05\/bibGrab31.png\" alt=\"\" width=\"400\" height=\"250\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>For a long time we have been told that staff want an easy way to add an item to a reading list. \u00a0To make item entry easier the data entry forms for LORLS v6 are specific to the type of item being added. \u00a0This should help avoid confusion when people are asked for irrelevant metadata [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_links_to":"","_links_to_target":""},"categories":[8,9,3],"tags":[29],"class_list":["post-264","post","type-post","status-publish","format-standard","hentry","category-bibgrab","category-clump","category-lorls","tag-editing","count-0","even alt","author-lbjlclboro-ac-uk","last"],"_links":{"self":[{"href":"https:\/\/blog.lboro.ac.uk\/lorls\/wp-json\/wp\/v2\/posts\/264","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.lboro.ac.uk\/lorls\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.lboro.ac.uk\/lorls\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.lboro.ac.uk\/lorls\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.lboro.ac.uk\/lorls\/wp-json\/wp\/v2\/comments?post=264"}],"version-history":[{"count":0,"href":"https:\/\/blog.lboro.ac.uk\/lorls\/wp-json\/wp\/v2\/posts\/264\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.lboro.ac.uk\/lorls\/wp-json\/wp\/v2\/media?parent=264"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.lboro.ac.uk\/lorls\/wp-json\/wp\/v2\/categories?post=264"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.lboro.ac.uk\/lorls\/wp-json\/wp\/v2\/tags?post=264"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}