-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
346 lines (317 loc) · 21.4 KB
/
Copy pathindex.html
File metadata and controls
346 lines (317 loc) · 21.4 KB
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
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700" type="text/css">
<title>RDFa Editor</title>
<script type="text/javascript" src="lib/SaxonJS3.js"></script>
<script type="text/javascript" src="lib/xml-c14n-sync.js"></script>
<script type="text/javascript">
window.onload = function() {
// preload the vocabulary documents into the SaxonJS document pool,
// so doc() resolves them synchronously during initialization
const vocabs = ["vocabs/foaf.rdf", "vocabs/dcterms.rdf"];
Promise.all(vocabs.map(href =>
SaxonJS.getResource({ location: href, type: "xml" })))
.then(resources => {
const pool = {};
vocabs.forEach((href, i) =>
pool[new URL(href, document.baseURI).href] = resources[i]);
return SaxonJS.transform({
documentPool: pool,
stylesheetLocation: "dist/index.xsl.sef.json",
initialTemplate: "main",
logLevel: 10
}, "async");
})
.catch(err => console.log("Transformation failed: " + err));
}
</script>
<link rel="stylesheet" href="rdfa-editor.css" type="text/css"/>
<link rel="stylesheet" href="overlay.css" type="text/css"/>
<link rel="stylesheet" href="toolbar.css" type="text/css"/>
<link rel="stylesheet" href="dialogs.css" type="text/css"/>
<style type="text/css">
html, body { margin: 0; }
body {
font-family: "Roboto", sans-serif;
padding-top: 70px; /* account for the fixed navbar */
padding-bottom: 56px; /* account for the fixed breadcrumb bar */
}
/* Fixed Top Navbar */
nav {
position: fixed;
top: 0;
left: 0;
right: 0;
background: white;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
padding: 12px 20px;
display: flex;
justify-content: flex-end;
align-items: center;
gap: 8px;
z-index: 1000;
border-bottom: 1px solid #e0e0e0;
}
/* Navbar buttons (Extract RDF, Help) */
.nav-btn {
padding: 10px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 14px;
font-weight: 500;
font-family: "Roboto", sans-serif;
background-color: #2196f3;
color: white;
}
.nav-btn:hover { background-color: #1976d2; }
.nav-btn.secondary { background-color: #607d8b; }
.nav-btn.secondary:hover { background-color: #455a64; }
/* The editor fills the page */
.rdfa-editor-content {
margin: 0;
min-height: calc(100vh - 70px - 56px);
padding: 32px 48px 48px 48px; /* left >= 2.5em keeps the drag-handle gutter */
border: none;
background: white;
box-sizing: border-box;
}
/* Site footer — host-page chrome (outside #content), resource/attribution links */
.site-footer {
padding: 24px 48px;
border-top: 1px solid #e0e0e0;
background: #fafafa;
text-align: center;
color: #777;
font-size: 13px;
}
.site-footer-tagline { margin: 0 0 10px 0; }
.site-footer ul {
list-style: none;
margin: 0;
padding: 0;
display: flex;
flex-wrap: wrap;
gap: 8px 20px;
justify-content: center;
}
.site-footer a { color: #1976d2; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
/* Help modal — host-page only; reuses the editor's .modal-content look */
#help-modal {
position: fixed;
z-index: 10001;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
align-items: center;
justify-content: center;
}
#help-modal .modal-content { max-width: 760px; line-height: 1.6; }
#help-modal .modal-content h4 { margin: 20px 0 6px 0; color: #333; }
#help-modal .modal-content p { margin: 8px 0; }
#help-modal .help-close {
position: absolute;
right: 18px;
top: 12px;
background: none;
border: none;
font-size: 30px;
font-weight: bold;
line-height: 1;
color: #999;
cursor: pointer;
}
#help-modal .help-close:hover { color: #333; }
#help-modal .legend { list-style: none; padding-left: 0; }
#help-modal .legend li { margin: 6px 0; }
#help-modal .swatch {
display: inline-block;
width: 14px;
height: 14px;
border: 1px dashed;
border-radius: 3px;
margin-right: 8px;
vertical-align: middle;
}
</style>
</head>
<body>
<nav>
<button id="parse-rdf" class="nav-btn">Extract RDF</button>
<button id="help-button" class="nav-btn secondary" onclick="openHelp()">Help</button>
</nav>
<div id="content" class="rdfa-editor-content" about="" typeof="http://schema.org/Article">
<h1 property="http://purl.org/dc/terms/title">Making Meaning on the Web</h1>
<p>Every web page is written for <strong>people</strong>. This short guide is about
a small, friendly idea: a page can <em>also</em> carry meaning that
<strong>computers</strong> understand, using a web standard called
<a href="https://www.w3.org/TR/rdfa-primer/" property="http://purl.org/dc/terms/references">RDFa</a>.
Everything you see below is editable — just click in and start typing.</p>
<p>Written by
<span property="http://schema.org/author" resource="#author">Ada Lovelace</span>,
published
<span property="http://purl.org/dc/terms/date" datatype="http://www.w3.org/2001/XMLSchema#date" content="2026-07-07">7 July 2026</span>.
The coloured outlines mark the facts a computer can read.</p>
<p about="#author" typeof="http://schema.org/Person"><span property="http://schema.org/name">Ada Lovelace</span>
(<span property="http://schema.org/birthDate" datatype="http://www.w3.org/2001/XMLSchema#date" content="1815-12-10">1815</span>–<span property="http://schema.org/deathDate" datatype="http://www.w3.org/2001/XMLSchema#date" content="1852-11-27">1852</span>) is often called the world's first
<span property="http://schema.org/description">computer programmer</span> — a fitting
guide to a language that machines can read.</p>
<h2>What is a fact?</h2>
<p>At its heart, a fact is just three parts joined together: <strong>something</strong>,
a <strong>relationship</strong>, and a <strong>value</strong>. Once you see facts
this way, almost anything can be written down clearly — for a reader and for a
machine alike.</p>
<figure>
<img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2NjAgMjAwIiBmb250LWZhbWlseT0iUm9ib3RvLCBzYW5zLXNlcmlmIj4KICA8cmVjdCB3aWR0aD0iNjYwIiBoZWlnaHQ9IjIwMCIgZmlsbD0iI2ZmZmZmZiIvPgogIDx0ZXh0IHg9IjMzMCIgeT0iMzAiIHRleHQtYW5jaG9yPSJtaWRkbGUiIGZvbnQtc2l6ZT0iMTYiIGZvbnQtd2VpZ2h0PSI2MDAiIGZpbGw9IiMzMzMiPk9uZSBmYWN0LCB0aHJlZSBwYXJ0czwvdGV4dD4KICA8cmVjdCB4PSIyMCIgeT0iNjAiIHdpZHRoPSIxNzAiIGhlaWdodD0iODAiIHJ4PSIxMCIgZmlsbD0iI2UzZjJmZCIgc3Ryb2tlPSIjMjE5NmYzIiBzdHJva2Utd2lkdGg9IjIiLz4KICA8dGV4dCB4PSIxMDUiIHk9Ijk1IiB0ZXh0LWFuY2hvcj0ibWlkZGxlIiBmb250LXNpemU9IjE4IiBmb250LXdlaWdodD0iNjAwIiBmaWxsPSIjMTU2NWMwIj5TdWJqZWN0PC90ZX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b2tlLXdpZHRoPSIyIi8+CiAgPHRleHQgeD0iNTcxIiB5PSI5NSIgdGV4dC1hbmNob3I9Im1pZGRsZSIgZm9udC1zaXplPSIxOCIgZm9udC13ZWlnaHQ9IjYwMCIgZmlsbD0iI2U2NTEwMCI+T2JqZWN0PC90ZXh0PgogIDx0ZXh0IHg9IjU3MSIgeT0iMTIwIiB0ZXh0LWFuY2hvcj0ibWlkZGxlIiBmb250LXNpemU9IjE0IiBmaWxsPSIjNTU1Ij5BZGEgTG92ZWxhY2U8L3RleHQ+Cjwvc3ZnPgo=" alt="A diagram splitting a fact into three parts: Subject, Predicate and Object."/>
<figcaption>A single fact, split into its three parts.</figcaption>
</figure>
<p>Here is that same fact written out in plain words:</p>
<pre>Subject This guide
Predicate was written by
Object Ada Lovelace</pre>
<p>The table below turns a few everyday sentences into these same three parts.</p>
<table>
<caption>Everyday sentences, seen as data</caption>
<thead>
<tr>
<th>Sentence</th>
<th>Who or what</th>
<th>Relationship</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>This guide explains RDFa.</td>
<td>This guide</td>
<td>explains</td>
<td>RDFa</td>
</tr>
<tr>
<td>Ada Lovelace wrote it.</td>
<td>Ada Lovelace</td>
<td>wrote</td>
<td>this guide</td>
</tr>
<tr>
<td>It was published in 2026.</td>
<td>This guide</td>
<td>published in</td>
<td>2026</td>
</tr>
</tbody>
</table>
<h2>One page, two readers</h2>
<p>The magic of RDFa is that a single page can serve two audiences at once. A person
sees friendly words and pictures; a computer sees the very same page and
understands the meaning tucked inside it — with no separate file required.</p>
<figure>
<img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2NjAgMjIwIiBmb250LWZhbWlseT0iUm9ib3RvLCBzYW5zLXNlcmlmIj4KICA8cmVjdCB3aWR0aD0iNjYwIiBoZWlnaHQ9IjIyMCIgZmlsbD0iI2ZmZmZmZiIvPgogIDx0Z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IyIi8+CiAgPHBvbHlnb24gcG9pbnRzPSI1NDAsOTkgNTU0LDEwNiA1MzksMTEzIiBmaWxsPSIjOWU5ZTllIi8+Cjwvc3ZnPgo=" alt="A page in the middle, read by a person on one side and a computer on the other."/>
<figcaption>One page can be understood by people and machines together.</figcaption>
</figure>
<blockquote>When pages share their meaning, the whole web starts to feel like one
big, answerable library.</blockquote>
<h3>Why it matters</h3>
<p>When machines understand pages, everyday things simply work better:</p>
<ul>
<li>A <strong>recipe</strong> can show its cooking time and ingredients.</li>
<li>An <strong>event</strong> can show its date, place and price.</li>
<li>A <strong>shop</strong> can show product details, ratings and availability.</li>
</ul>
<h2>Try it yourself</h2>
<p>This whole page is a live editor. Here are a few things to try right now:</p>
<ol>
<li>Type a sentence, then press <strong>Enter</strong> to start a new block.</li>
<li>Select a few words, then <strong>right-click</strong> to tag them with meaning.</li>
<li>Use the toolbar to add a heading, list, image or table.</li>
<li>Hover a block and drag the <strong>⠿</strong> handle to reorder it —
even into a table cell.</li>
<li>Hover the quote above: the paragraph <em>inside</em> it has its own
handle, so you can drag it out of the quote.</li>
</ol>
<h2>Learn more</h2>
<p>Curious to go further? The
<a href="https://www.w3.org/TR/rdfa-primer/">RDFa Primer</a> is a gentle
introduction, <a href="https://schema.org/">schema.org</a> offers ready-made
vocabularies for common things, and the
<a href="https://www.w3.org/">World Wide Web Consortium</a> maintains the
standards that hold it all together. This guide is shared by
<span property="http://schema.org/publisher" typeof="http://schema.org/Organization"><span property="http://schema.org/name">the open web community</span></span>.</p>
</div>
<footer class="site-footer">
<p class="site-footer-tagline">A client-side XHTML+RDFa editor, rendered entirely by XSLT.</p>
<ul>
<li><a href="https://github.com/AtomGraph">AtomGraph</a></li>
<li><a href="https://www.w3.org/TR/xslt-30/">XSLT 3.0</a></li>
<li><a href="https://www.saxonica.com/html/saxonjs/index.html">SaxonJS</a></li>
<li><a href="https://github.com/AtomGraph/RDFa-Editor">Code</a></li>
</ul>
</footer>
<div id="help-modal" class="rdfa-editor-ui" style="display: none;" onclick="if (event.target === this) closeHelp();">
<div class="modal-content">
<button type="button" class="help-close" onclick="closeHelp()" aria-label="Close help">×</button>
<h3>Welcome to the RDFa Editor</h3>
<p>This page is a live document you can edit directly, in the spirit of tools
like Notion — with the added power to attach machine-readable meaning
(RDFa) to any words you choose.</p>
<h4>Editing</h4>
<p>Click anywhere and start typing. Press <strong>Enter</strong> to split a
block, and <strong>Backspace</strong> at the start of a block to merge it
with the one above.</p>
<h4>Selecting and deleting</h4>
<p>Press <strong>Ctrl/Cmd+A</strong> to select the current block's text;
press it again to select the whole document (never the surrounding
page). You can also drag a selection across several blocks with the
mouse. <strong>Backspace</strong> or <strong>Delete</strong> removes
whatever is selected — or just start typing to replace it.
<strong>Ctrl/Cmd+C</strong> copies a multi-block selection as clean
XHTML+RDFa, and <strong>Ctrl/Cmd+Z</strong> undoes any change.</p>
<h4>Quick insert</h4>
<p>Type <strong>/</strong> in an empty block to open the insert menu.
Markdown shortcuts work too: <strong># </strong>, <strong>## </strong>
and <strong>### </strong> for headings, <strong>- </strong> or
<strong>1. </strong> for lists, <strong>> </strong> for a quote and
<strong>```</strong> for code.</p>
<h4>The toolbar</h4>
<p>Use the toolbar (top-left) to change a block's type, make text
<strong>bold</strong> or <em>italic</em>, add links, lists, images and
tables, or delete a block.</p>
<h4>Adding meaning (RDFa)</h4>
<p><strong>Right-click</strong> a text selection to tag it with a subject,
relationship and value. <strong>Right-click an existing tag</strong> to
edit or remove it. Tagged text is outlined in colour:</p>
<ul class="legend">
<li><span class="swatch" style="border-color:#4caf50;background:rgba(76,175,80,.12)"></span> <strong>Green</strong> — a property (the relationship)</li>
<li><span class="swatch" style="border-color:#9c27b0;background:rgba(156,39,176,.12)"></span> <strong>Purple</strong> — a type (what something is)</li>
<li><span class="swatch" style="border-color:#2196f3;background:rgba(33,150,243,.12)"></span> <strong>Blue</strong> — a subject (what a fact is about)</li>
<li><span class="swatch" style="border-color:#ff9800;background:rgba(255,152,0,.12)"></span> <strong>Orange</strong> — a linked resource (a value given as a link)</li>
</ul>
<h4>Reordering</h4>
<p>Hover over a block and drag the <strong>⠿</strong> handle that appears in
the left margin to move it. Blocks nested inside a list item, a quote or
a table cell have handles of their own, at their own indent — a drop
lands wherever the document structure allows it: next to another block,
<strong>into a table cell</strong>, or — dropped in the page's left
gutter — out at the top level.</p>
<h4>Seeing the result</h4>
<p><strong>Source</strong> (in the toolbar) shows the clean, canonical
XHTML+RDFa that would be saved. <strong>Extract RDF</strong> (top-right)
shows the facts a computer reads from this page. Both dialogs have a
<strong>Download</strong> button that saves the output as a file.</p>
</div>
</div>
<script type="text/javascript">
function openHelp() { document.getElementById('help-modal').style.display = 'flex'; }
function closeHelp() { document.getElementById('help-modal').style.display = 'none'; }
document.addEventListener('keydown', function (e) {
if (e.key === 'Escape') closeHelp();
});
</script>
</body>
</html>