My favorites
|
Sign in
gears-pubtools
PubTools: Easy JavaScript for Working With Gears
Project Home
Downloads
Wiki
Issues
Source
Checkout
|
Browse
|
Changes
|
Changes to /trunk/demos/search/demo.html
r0 vs. r33
Edit
Compare:
r0
r33
r41
vs.
r0
r33
r41
Format:
Single-column
Side by side
r33
r41›
Revision r33
Go to:
/trunk/COPYING.txt
/trunk/PORTING_GUIDE.txt
/trunk/README.txt
/trunk/RELEASE_NOTES.txt
/trunk/demos/balloon.jpg
/trunk/demos/demo.css
/trunk/demos/demo.html
/trunk/demos/icon128x128.png
/trunk/demos/icon16x16.png
/trunk/demos/icon32x32.png
/trunk/demos/icon48x48.png
/trunk/demos/manifest.js
/trunk/demos/offline
/trunk/demos/offline/balloon.jpg
/trunk/demos/offline/demo.css
/trunk/demos/offline/demo.html
...nk/demos/offline/icon128x128.png
/trunk/demos/offline/icon16x16.png
/trunk/demos/offline/icon32x32.png
/trunk/demos/offline/icon48x48.png
/trunk/demos/offline/manifest.js
/trunk/demos/resources
...nk/demos/resources/descartes.txt
/trunk/demos/resources/goethe.txt
/trunk/demos/resources/goldman.txt
/trunk/demos/resources/kafka.html
.../demos/resources/machiavelli.txt
...nk/demos/resources/montaigne.txt
/trunk/demos/resources/plato.html
/trunk/demos/search
/trunk/demos/search/demo.html
/trunk/demos/search/search.txt
/trunk/src/pubtools-gears.js
/trunk/src/pubtools-offline.js
/trunk/src/pubtools-search.css
/trunk/src/pubtools-search.js
/trunk/src/pubtools-util.js
...pubtools-util.js.uncompressed.js
/trunk/tests/offline/test1.html
/trunk/tests/offline/test2.html
/trunk/tests/offline/test3.html
/trunk/tests/offline/test4.html
/trunk/tests/offline/test5.html
/trunk/tests/offline/test6.html
/trunk/tests/offline/test7.html
/trunk/tests/offline/test8.html
/trunk/tests/offline/test9.html
/trunk/tests/search
/trunk/tests/search/resources
Project members,
sign in
to write a code review
/trunk/demos/search/demo.html
r0
/trunk/demos/search/demo.html
r33
Properties
svn:executable
1
*
Contents
1
<html>
2
<head>
3
4
<link rel="stylesheet" type="text/css" href="../../src/pubtools-search.css"></link>
5
6
<script type="text/javascript" src="../../src/pubtools-util.js"></script>
7
<script type="text/javascript" src="../../src/pubtools-search.js"></script>
8
9
<style>
10
#instructions {
11
width: 80%;
12
}
13
</style>
14
15
<!--
16
Point to a text file that has our list of URLs to index and search
17
on the client-side. If URL not given, defaults to 'search.txt' relative
18
to the current HTML page.
19
-->
20
<!--
21
<link rel="search.urls" href="search.txt"></link>
22
-->
23
24
<!--
25
Give the ID of an HTML element that we will dynamically insert the
26
search UI into. If you don't provide an ID, defaults to
27
'st-widget', such as <div id="st-widget"></div>
28
-->
29
<!--
30
<meta name="search.widget" content="st-widget"></meta>
31
-->
32
33
<title>Demo of PubTools Search</title>
34
</head>
35
36
<body>
37
<h1>Demo of PubTools Search</h1>
38
39
<p id="instructions">Easily drop a simple client-side search
40
engine into your page. This page indexes and allows you to locally
41
search over several public domain books from Project Gutenberg,
42
including Plato, Goethe, Montaigne, and more. Try searching for
43
'history'. Notice how the search returns results locally as you type.</p>
44
45
<div id="st-widget"></div>
46
</body>
47
</html>
Hosted by