-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathplayground.html
601 lines (528 loc) · 22.8 KB
/
playground.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
<!DOCTYPE html>
<html id="docHTML">
<head>
<title>Solid Data Playground</title>
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
<link type="text/css" rel="stylesheet" href="mash.css" />
<!-- <script type="text/javascript" src="/timbl/Automation/server/cascade/static/SolidTestEnvironment.js"></script> -->
<script type="text/javascript" src="https://solidos.github.io/mashlib/dist/mashlib.js"></script>
<!-- <script type="text/javascript" src="http://localhost:3080/devel/github.com/solidos/mashlib-dev/workspaces/mashlib/dist/mashlib.js"></script> -->
<script>
document.addEventListener('DOMContentLoaded', function() {
// const panes = require('mashlib')
const UI = panes.UI
const $rdf = UI.rdf
const dom = document
const ns = UI.ns
const style = UI.style
const loadOptions = { credentials: 'omit', withCredentials: false}
$rdf.Fetcher.crossSiteProxyTemplate = self.origin + '/xss?uri={uri}';
var uri = window.location.href;
// window.document.title = 'Data browser: ' + uri;
var kb = UI.store;
var outliner = panes.getOutliner(dom)
function complainIfBad (ok, message) {
if (ok) return
box.appendChild(UI.widgets.errorMessageBlock(dom, '' + message)) // msg.textContent = message
console.log(message)
}
const ontologyMap = { // @@ Do this for all terms in the ontology, not just title
'http://purl.org/dc/terms/': 'https://www.w3.org/archive/purl.org/dc/terms',
'http://purl.org/dc/elements/1.1/title': 'https://www.w3.org/archive/purl.org/dc/elements/1.1/ontology.rdf',
'http://usefulinc.com/ns/doap': 'https://www.w3.org/archive/usefulinc.com/ns/doap.rdf',
'http://www.w3.org/1999/02/22-rdf-syntax-ns': 'http://www.w3.org/1999/02/22-rdf-syntax-ns.rdf'
}
var loadedAlready = {}
async function adjustAndLoad (x, loadOptions) {
var uri = x.uri || x
if (ontologyMap[uri]) {
console.log(' Mapped to be: ' + ontologyMap[uri])
await kb.fetcher.load(ontologyMap[uri], Object.assign({baseURI: uri}, loadOptions))
return
}
if (uri.startsWith('http://localhost')) {
// no problem
} else if (uri.startsWith('http:')) {
uri = uri.split('#')[0] // chop off localid to get doc
let suri = 'https:' + uri.slice(5)
console.log(' Adjusted to be https: ' + suri)
if (loadedAlready[suri]) {
console.log('Already loaded. Ignore ' + suri)
return
}
const options = Object.assign({baseURI: uri}, loadOptions)
await kb.fetcher.load(suri, options)
loadedAlready[suri] = true
console.log(` Loaded ${suri} as though it were ${uri} `)
return
}
return kb.fetcher.load(uri, loadOptions)
}
async function adjustAndLoadAndCatch (x, loadOptions) {
try {
await adjustAndLoad(x, loadOptions) // or could pass array ontologyURIs.keys
} catch (err) {
// complainIfBad(false, 'Caught: ' + x + ' ' + err) @@
}
}
function getThingFromField (subjectEle) {
if (subjectEle.value.length === 0) return null
return $rdf.sym($rdf.uri.join(subjectEle.value, window.location.href))
}
//////////////// User actions
async function loadProject (_event) {
let project = getThingFromField(projectURI)
const doc = project.doc()
console.log("Loading project: " + project)
await adjustAndLoadAndCatch(project, loadOptions)
console.log(`Loaded projet file ${project} ✅`)
subjectEle.value = kb.anyValue(project, ns.schema('target'), null, doc) || ''
formEle.value = kb.anyValue(project, ns.meeting('form'), null, doc) || ''
let resourceGroup = kb.any(project, ns.meeting('resourceGoup'))
let resources = kb.each(project, ns.meeting('member'))
for (var resource of resources) {
addToTray(mainTry, resource)
}
const params = new URLSearchParams(location.search) // Save project URI in URL bar
params.set('project', getThingFromField(projectURI).uri);
window.history.replaceState({}, '', `${location.pathname}?${params}`);
}
async function saveProject (_event) {
let project = getThingFromField(projectURI) // should end #this
let suffix = '/index.ttl#this'
if (!project.uri.endsWith(suffix)) {
alert(`Please give a project URI which ends with "${suffix}"`)
return
}
let doc = project.doc()
kb.remove(kb.statementsMatching(null, null, null, doc)) // Flush out our record
kb.add (project, ns.rdf('type'), ns.meeting('PlaygroundProject'), doc)
if (getThingFromField(subjectEle)) {
kb.add(project, ns.schema('target'), getThingFromField(subjectEle), doc)
}
if (getThingFromField(formEle)) {
kb.add(project, ns.meeting('form'), getThingFromField(formEle), doc)
}
let resourceGroup = kb.sym(doc.uri + '#Resources')
kb.add (project, ns.meeting('resourceGoup'), resourceGroup, doc)
for (var ele of mainTray.children) {
if (ele.subject) {
kb.add(resourceGroup, ns.meeting('member'), ele.subject, doc)
}
}
try {
kb.fetcher.putBack(doc)
} catch (err) {
const msg = 'Error saving ' + doc.uri + err
console.log(msg)
alert(msg)
}
console.log('Saved at ' + project)
}
function expandDataBowser ( event ) {
let uri = $rdf.uri.join(subjectEle.value, window.location.href)
console.log("User field " + subjectEle.value)
console.log("User requests " + uri)
const params = new URLSearchParams(location.search)
if (!getThingFromField(projectURI)) { // if we have a project then leave the URI alone
params.set('subject', uri);
window.history.replaceState({}, '', `${location.pathname}?${params}`);
}
var subject = kb.sym(uri);
// UI.widgets.makeDraggable(icon, subject) // beware many handlers piling up
box.innerHTML = '<table id="outline"></table>'
outliner.GotoSubject(subject, true, undefined, true, undefined);
}
const USE_OPTIONAL = true
function queryFromForm(kb, form) {
function newOptionalClause () {
var clause = new $rdf.IndexedFormula()
query.pat.optional.push(clause)
return clause
}
var v = 1
var query = new $rdf.Query()
query.pat.optional = []
const root = new $rdf.Variable('root')
function doForm(form, subject, indent = '') {
console.log(indent + 'queryFromForm:' + form)
console.log(indent + ' ' + kb.any(form, ns.rdf('type')))
var parts = kb.any(form, ns.ui('parts'))
if (parts) {
parts = parts.elements
} else {
parts = kb.each(form, ns.ui('part'))
}
console.log(indent + ` ${parts.length} parts`)
if (parts.length === 0) return // throw new Error('No parts')
for (var part of parts) {
let pred = kb.the(part, ns.ui('property'))
var object
console.log(indent + ' - part type: ' + kb.any(part, ns.rdf('type')))
console.log(indent + ' prop: ' + pred)
if (pred) { // Do arc
var object = new $rdf.Variable('v' + v++) // @@ make variable name cute from pred
if (USE_OPTIONAL) {
const oneOpt = newOptionalClause()
oneOpt.add(subject, pred, object)
} else {
query.pat.add(root, pred, object) // @@ todo: if form field optional, add top optional, not main query
}
query.vars.push(object)
}
if (kb.holds(part, ns.rdf('type'), ns.ui('Multiple'))) {
if (!object) throw new Error('Multiple has no property')
doForm(part, object, indent + ' m ')
}
if (kb.holds(part, ns.rdf('type'), ns.ui('Group'))
|| kb.holds(part, ns.rdf('type'), ns.ui('Form'))) {
doForm(part, subject, indent + ' g ') // A group does not have an arc in the data
}
}
}
doForm(form, root)
return query
} // queryFromForm
async function addSubjectToTray (_event) {
addToTray(mainTray, $rdf.sym(subjectEle.value))
}
async function makeInstanceOfClass (_event) {
let klass = $rdf.sym($rdf.uri.join(formEle.value, window.location.href))
return createNewThingOfType(klass)
}
async function applyForm ( _event ) {
let subject = getThingFromField(subjectEle)
console.log("Loading subject: " + subject)
await adjustAndLoadAndCatch(subject, loadOptions)
console.log(`Loaded subject ${subject} ✅`)
let form = getThingFromField(formEle)
console.log("Loading form: " + form)
await adjustAndLoadAndCatch(form, loadOptions)
console.log(`Loaded form ${form} ✅`)
console.log('Check predicates in form...')
const predicates = kb.statementsMatching(null, UI.ns.ui('property')).map(st => st.object)
var ontologyURIs = {}
predicates.push(ns.ui('min')) // Pull in UI ontology as form system needs that to work
for (var pred of predicates) {
console.log(' predicate: ' + pred)
let nsuri = pred.doc().uri
ontologyURIs[nsuri] = true
}
for (let ontURI in ontologyURIs) {
let ontology = $rdf.sym(ontURI)
ontURI = ontURI.replace(/^http:/, 'https:') // hack for browser security -- sigh
if (ontURI.startsWith('https://purl.org/dc/terms/')) {
console.log(' Using W3C archive version of ' + ontURI)
ontURI = ontURI.replace(/^https:\/\//, 'https://www.w3.org/archive/')
// ontURI = 'https://www.w3.org/archive/purl.org/dc/terms/ontology.rdf'
}
kb.add(ontology, ns.rdf('type'), ns.owl('Ontology'), ontology)
addToTray(mainTray, ontology)
console.log('Loading ontology URI ' + ontURI)
// let options = { withCredentials: false} // sigh more browser security
await adjustAndLoadAndCatch(ontURI, loadOptions) // or could pass array ontologyURIs.keys
}
console.log(`Loaded ontologies ✅`)
const params = new URLSearchParams(location.search)
project = getThingFromField(projectURI)
if (project) params.set('project', project.uri);
// if (subject) params.set('subject', subject.uri);
// if (form) params.set('form', form.uri);
window.history.replaceState({}, '', `${location.pathname}?${params}`);
let store = subject.doc() // @@ need footprints, allow user cotrol of store
UI.log.debug = console.log // @@ for testing
console.log('\nAppending form now:')
console.log(` form ${form}\n subject: ${subject}`)
box.innerHTML = ''
UI.widgets.appendForm(dom, box, {}, subject, form, store, complainIfBad)
// UI.widgets.makeDraggable(icon, subject) // beware many handlers piling up
// outliner.GotoSubject(subject, true, undefined, true, undefined);
}
async function makeTableFromForm (_event) {
let subject = getThingFromField(subjectEle)
console.log("Loading subject: " + subject)
await adjustAndLoadAndCatch(subject, loadOptions)
console.log(`Loaded subject ${subject} ✅`)
let form = getThingFromField(formEle)
console.log("Loading form: " + form)
await adjustAndLoadAndCatch(form, loadOptions)
console.log(`Loaded form ${form} ✅`)
var query
try {
query = queryFromForm(kb, form)
} catch (err) {
box.appendChild(UI.widgets.errorMessageBlock(dom, err))
return
}
console.log('query:', query)
console.log('query pattern:', query.pat)
const sparql = $rdf.queryToSPARQL(query)
console.log('sparql:', sparql)
box.innerHTML = ''
const type = null // @@ ?
console.log('Query:')
var tableDiv = UI.table(dom, {
query: query,
keyVariable: 'root', // Charactersic of row
// sortBy: '?created', // By default, sort by date
// sortReverse: true, // most recent at the top
/*
hints: {
'?issue': { linkFunction: exposeThisOverlay, label: 'Title' },
'?created': { cellFormat: 'shortDate' },
'?state': { initialSelection: selectedStates, label: 'Status' }
}
*/
})
box.appendChild(tableDiv)
}
async function createNewThingOfType (klass) {
let uri = $rdf.uri.join(subjectEle.value, window.location.href)
if (!uri.includes('#')) uri += '#this'
const x = kb.sym(uri)
const label = UI.utils.label(klass)
if (confirm(`Create new ${label} at ${x} ?`)) {
const doc = x.doc()
try {
kb.fetcher.load(doc)
} catch (err) {
if (kb.fetcher.nonexistent[doc.uri]) {
console.log('Doc already exist: ' + doc)
} else {
alert(err)
}
}
kb.add(x, ns.rdf('type'), klass, doc)
await kb.fetcher.putBack(doc)
await addToTray(mainTray, x)
alert('Created and added to the tray.')
}
}
async function createNewClass () {
return createNewThingOfType(ns.rdfs('Class'))
}
/** Add a thing to the tray of resources
*/
async function addToTray (tray, thing) {
console.log('Add to tray:' + thing)
function deleteThis () {
// @@ logical removal from tray collection
tray.removeChild(card)
}
var already = {}
for (var ele of tray.children) {
if (ele.subject) {
already[ele.subject.uri] = true
}
}
if (already[thing.uri]) {
console.log(' dropped object already in tray. ignore.' + thing)
return
}
var error
const card = dom.createElement('div') // its own
card.style = 'max-width:20em; display:inline-block;'
const cardTable = card.appendChild(dom.createElement('table')) // its own
const tr = UI.widgets.personTR(dom, null, thing, { deleteFunction: deleteThis})
card.style.borderRadius = '1em'
card.style.margin = '0.3em'
card.appendChild(tr)
card.subject = thing
tray.appendChild(card)
card.style.backgroundColor = '#ffc' // yellow - pending
try {
await adjustAndLoadAndCatch(thing.doc(), loadOptions)
console.info(' addToTray: OK loading ' + thing)
} catch (err) {
error = err
console.warn(' addToTray: Error loading ' + thing + '+ ' + err)
}
if (error) {
tr.children[1].appendChild(UI.widgets.errorMessageBlock(dom, '' + error))
card.style.backgroundColor = '#fdd' // pink
} else {
card.style.backgroundColor = '#efe' // green
}
}
async function handleURIsDroppedOnTray (tray, uris) {
for (uri of uris) {
console.log('dropped uri: ' + uri)
await addToTray(tray, $rdf.sym(uri))
}
}
function renderTray () {
const tray = dom.createElement('div')
tray.style = 'background-color: #ccc; padding: 1em; border-radius: 1em; min-width:30em; min-height: 5em; margin-bottom: 1em;' +
'border-top: 0.3em solid #555; border-left: 0.3em solid #555;border-bottom: 0.3em solid #eee;border-right: 0.3em solid #eee;'
UI.widgets.makeDropTarget(tray, uris => handleURIsDroppedOnTray(tray, uris))
return tray
}
// Build The playground
const box = dom.getElementById('box')
const projectURI = dom.getElementById('projectURI')
projectURI.style = UI.style.textInputStyle
projectURI.style.width = '90%'
const formEle = dom.getElementById('form')
formEle.style = UI.style.textInputStyle
formEle.style.width = '90%'
const subjectEle = dom.getElementById('subject')
subjectEle.style = UI.style.textInputStyle
subjectEle.style.width = '90%'
const loadButton = dom.getElementById('loadButton')
// loadButton.style = UI.textButtonStyle
const saveButton = dom.getElementById('saveButton')
const goButton = dom.getElementById('goButton')
goButton.style = UI.textButtonStyle
const applyButton = dom.getElementById('applyButton')
applyButton.style = style.signInButtonStyle // not normal style
const makeTableButton = dom.getElementById('makeTableButton')
makeTableButton.style = style.signInButtonStyle // not normal style
const addToTrayButton = dom.getElementById('addToTrayButton')
addToTrayButton.addEventListener('click', addSubjectToTray)
const makeNewOfThisTypeButton = dom.getElementById('makeNewOfThisTypeButton')
makeNewOfThisTypeButton.style = style.signInButtonStyle // not normal style
makeNewOfThisTypeButton.addEventListener('click', makeInstanceOfClass)
function buttonToMakeNewThingOfClass (klass) {
const button = dom.createElement('button')
button.textContent = 'New ' + UI.utils.label(klass)
button.addEventListener('click', _event => createNewThingOfType(klass))
return button
}
const ClassesToBuild = [ ns.ui('Form'), ns.rdfs('Class') , ns.rdfs('Property') ]
const actionCell = dom.getElementById('actionCell')
ClassesToBuild.forEach(klass => {
actionCell.appendChild(buttonToMakeNewThingOfClass(klass))
})
const statusArea = dom.getElementById('statusArea')
const logInbox = dom.getElementById('logInbox')
const context = { div: logInbox, dom, statusArea, buttonStyle: UI.style.buttonStyle}
UI.login.ensureLoggedIn(context).then(context => {
me = context.me
alert(me)
})
const mainTray = traySpace.appendChild(renderTray())
const ontologyTray = traySpace.appendChild(renderTray())
for (const prefix in UI.ns) {
console.log('Ontology from namespace: prefix: ', prefix)
if (prefix === 'default') continue
const namespace = UI.ns[prefix]
if (!namespace) continue // eg 'defualt'
const ontology = namespace('').doc()
console.log(' Ontology from namespace: ont: ', ontology)
kb.add(ontology, ns.rdf('type'), ns.owl('Ontology'), ontology)
// addToTray(ontologyTray, ontology) // The namespace document
}
// Basic stuff:
loadButton.addEventListener('click', loadProject, false);
saveButton.addEventListener('click', saveProject, false);
goButton.addEventListener('click', expandDataBowser, false);
applyButton.addEventListener('click', applyForm, false);
makeTableButton.addEventListener('click', makeTableFromForm, false);
let initialProject = new URLSearchParams(self.location.search).get("project")
var initialSubject, initialForm
if (initialProject) {
projectURI.value = initialProject
console.log('Loading project ' + initialProject)
// alert('loading ' + initialProject)
loadProject()
} else { // not from project, from URI params
initialSubject = new URLSearchParams(self.location.search).get("subject")
if (initialSubject) {
subjectEle.value = initialProject
}
initialForm = new URLSearchParams(self.location.search).get("form")
if (initialForm) {
formEle.value = initialForm
}
}
goButton.addEventListener('click', expandDataBowser, false);
let initial = new URLSearchParams(self.location.search).get("uri")
if (initial) {
subject.value = initial
} else {
console.log('ready for user input')
// subjectEle.value = 'https://www.w3.org/People/Berners-Lee/card#i' // @@ testing
}
async function main () {
// @@ normally these would be await calls
addToTray(mainTray, $rdf.sym('https://timbl.com/timbl/Public/Test/Forms/individualForm.ttl#form1'))
addToTray(mainTray, $rdf.sym('https://www.w3.org/People/Berners-Lee/card#i'))
// addToTray(mainTray, $rdf.sym('http://localhost:3080/example/nonExistent_404'))
addToTray(mainTray, $rdf.sym('http://www.w3.org/ns/ui#FormForm'))
addToTray(mainTray, $rdf.sym('http://www.w3.org/2000/01/rdf-schema#Class'))
addToTray(mainTray, ns.rdf('Property')) // The class of properties
addToTray(mainTray, ns.rdf('type')) // A property
addToTray(mainTray, ns.rdf('List')) // A class
addToTray(mainTray, ns.vcard('Individual')) // A property
addToTray(mainTray, ns.foaf('Person')) // A property
let wfhForm = $rdf.sym('https://timbl.com/timbl/Public/2020/Epidemic/Work%20From%20Home%20status%20and%20epidemic%20monitoring/Files/wfh-form.ttl#this')
addToTray(mainTray, wfhForm)
let onotologyBits = $rdf.sym('https://timbl.com/timbl/Public/2020/Epidemic/Work%20From%20Home%20status%20and%20epidemic%20monitoring/Files/ontos.ttl')
addToTray(mainTray, onotologyBits)
}
if (initialSubject && initialForm) {
console.log('All parms in URL search -> do immediately')
applyForm()
} else {
console.log('ready for user input')
}
main()
});
</script>
</head>
<body style="padding: 1em;">
<table style="width:95%; margin-top:1em; margin-bottom:1em;">
<tr style="font-size:100%">
<td colspan="5"><h1>Data Playground</h1></td>
<td id="logInbox" ></td>
</tr>
<tr style="font-size:100%">
<td style="padding:1em; width:5em;">Project URI:</td>
<td colspan="4"><input id="projectURI" type="text" style="font-size:100%; min-width:30em; padding:0.5em; width:95%;"/></td>
<td id="loadSaveCell">
<input type="button" id="loadButton" value="Load project" />
<input type="button" id="saveButton" value="Save project" />
</td>
</tr>
<tr style="font-size:100%">
<td style="padding:1em; width:5em;">Subject:</td>
<td colspan="4"><input id="subject" type="text" style="font-size:100%; min-width:30em; padding:0.5em; width:95%;"/></td>
<td id="notlogInbox" ></td>
</tr>
<tr style="font-size:100%" id="actionBar">
<td style="padding:1em; width:5em">for subject URI:</td>
<td id="actionCell">
<input type="button" id="goButton" value="View data" />
<input type="button" id="addToTrayButton" value="Add to tray" />
</td>
<td id="rhs" style="width:5em;"></td>
</tr>
<tr style="font-size:100%">
<td style="padding:1em; width:5em;" >Form to use on subject:</td>
<td colspan="4"><input id="form" type="text" style="font-size:100%; min-width:30em; padding:0.5em; width:95%;"/></td>
<td style="width:5em;">
<input type="button" id="applyButton" value="Apply form to subject" />
<input type="button" id="makeTableButton" value="Make table" />
<input type="button" id="makeNewOfThisTypeButton" value="Make new thing of this type" />
<br />
<a href="https://github.com/solidos/form-playground" target="source">Fork me on Github</a>
</td>
</tr>
<tr>
<td style='padding-top:1em;'>Tray of resources:</td>
<td colspan="5" id="traySpace"></td>
</tr>
<tr>
<td style='padding-top:1em;'>Result:</td>
<td colspan="5">
<div class="TabulatorOutline" style="margin:1em;" id="box">
<table id="outline"></table>
</div>
</td>
</tr>
<tr>
<td colspan="6"></td>
</tr>
</table>
</body>
</html>