I hereby claim:
- I am bigbluehat on github.
- I am bigbluehat (https://keybase.io/bigbluehat) on keybase.
- I have a public key ASDqfPGTTpv8d7CuYIX55C9aDk5cTdmgvJbkA-WObygQiAo
To claim this, I am signing this object:
| [ | |
| { | |
| "name": "PLUM" | |
| }, | |
| [ | |
| { | |
| "a": 6 | |
| }, | |
| "Esc", | |
| "F1", |
| { | |
| "@context": [{ | |
| "type": "@type", | |
| "id": "@id", | |
| "none": "@none", | |
| "language": "@language", | |
| "direction": "@direction", | |
| "json": "@json" | |
| }, | |
| { |
| { | |
| "@context": { | |
| "@vocab": "https://www.iana.org/assignments/link-relations/", | |
| "anchor": "@id", | |
| "href": "@id", | |
| "dct": "http://purl.org/dc/terms/", | |
| "link": "https://www.iana.org/assignments/link-relations#", | |
| "title": "http://purl.org/dc/terms/title" | |
| "title*": "http://purl.org/dc/terms/title" | |
| "type": "dct:format", |
| # python -m SimpleHTTPPutServer 8080 | |
| import SimpleHTTPServer | |
| import BaseHTTPServer | |
| class SputHTTPRequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler): | |
| def do_PUT(self): | |
| print(self.headers) | |
| length = int(self.headers["Content-Length"]) | |
| path = self.translate_path(self.path) | |
| with open(path, "wb") as dst: |
| { | |
| "scope": "https://textbook.example.org/", | |
| "type": "List", | |
| "items": [ | |
| { | |
| "source": "https://textbook.example.org/section2.html", | |
| "selector": { | |
| "type": "CssSelector", | |
| "value": "body>section:nth-of-type(3)" | |
| } |
I hereby claim:
To claim this, I am signing this object:
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width"> | |
| <title>JS Bin</title> | |
| <script src="https://wzrd.in/standalone/n3"></script> | |
| <link rel="stylesheet" href="https://semantic-ui.com/dist/semantic.min.css" /> | |
| </head> | |
| <body> |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1"> | |
| <title>Apache Annotator (incubating)</title> | |
| <link rel="stylesheet" href="http://semantic-ui.com/dist/semantic.min.css" /> | |
| </head> |
FORMAT: 1A HOST: https://hypothes.is
Hypothes.is provides an implementation of the Annotator Storage API.
Wirking on exploring this issue: w3c/wptserve#84
$ pip install wptserve
$ python test.py