diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..88c5ee1 --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,19 @@ +Copyright (c) 2015 BBC + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/README.md b/README.md index c9abd6d..a6770db 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,12 @@ Chrome LOD extension ==================== +Author: Alex Tucker + +Copyright (c) 2015 BBC + +Released under the MIT license (LICENSE.txt) + An extension for Chrome that looks for the presence of Linked Open Data behind the pages you browse and if available, reveals the underlying data. @@ -69,7 +75,7 @@ Todo ---- -Parsing Turtle to look for licensing statements. +Parsing Turtle to look for licensing statements. Move to rdflib.js? Checking that the license applies to the document URI of the RDF document. diff --git a/background.js b/background.js index a867d5a..cee7813 100644 --- a/background.js +++ b/background.js @@ -1,3 +1,12 @@ +/* Chrome LOD extension + * + * Author: Alex Tucker + * + * Copyright (c) 2015 BBC + * + * Released under the MIT license (LICENSE.txt) + */ + chrome.runtime.onMessage.addListener( function(request, sender, sendResponse) { console.log("Message from content: " + request.method); diff --git a/contentscript.js b/contentscript.js index a5bb443..3d81372 100644 --- a/contentscript.js +++ b/contentscript.js @@ -1,3 +1,12 @@ +/* Chrome LOD extension + * + * Author: Alex Tucker + * + * Copyright (c) 2015 BBC + * + * Released under the MIT license (LICENSE.txt) + */ + function peelBackRdf(data, format) { $('body').prepend('
'); $('#code').text(data); diff --git a/custom.css b/custom.css index edef100..22dfb4a 100644 --- a/custom.css +++ b/custom.css @@ -1,3 +1,12 @@ +/* Chrome LOD extension + * + * Author: Alex Tucker + * + * Copyright (c) 2015 BBC + * + * Released under the MIT license (LICENSE.txt) + */ + #target { text-align: left; width: 100%; diff --git a/manifest.json b/manifest.json index 7b208b4..4c1c6c2 100644 --- a/manifest.json +++ b/manifest.json @@ -3,6 +3,7 @@ "name": "LOD-check", "description": "Checks pages as you browse for the presence of Linked Open Data behind them and reveals the underlying data.", "version": "1.1.4", + "author": "Alex Tucker ", "permissions": [ "webRequest", ""