My favorites | Sign in
Project Logo
                
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
<html>
<head>

<link rel="stylesheet" type="text/css" href="../../src/pubtools-search.css"></link>

<script type="text/javascript" src="../../src/pubtools-util.js"></script>
<script type="text/javascript" src="../../src/pubtools-search.js"></script>

<style>
#instructions {
width: 80%;
}
</style>

<!--
Point to a text file that has our list of URLs to index and search
on the client-side. If URL not given, defaults to 'search.txt' relative
to the current HTML page.
-->
<!--
<link rel="search.urls" href="search.txt"></link>
-->

<!--
Give the ID of an HTML element that we will dynamically insert the
search UI into. If you don't provide an ID, defaults to
'st-widget', such as <div id="st-widget"></div>
-->
<!--
<meta name="search.widget" content="st-widget"></meta>
-->

<title>Demo of PubTools Search</title>
</head>

<body>
<h1>Demo of PubTools Search</h1>

<p id="instructions">Easily drop a simple client-side search
engine into your page. This page indexes and allows you to locally
search over several public domain books from Project Gutenberg,
including Plato, Goethe, Montaigne, and more. Try searching for
'history'. Notice how the search returns results locally as you type.</p>

<div id="st-widget"></div>
</body>
</html>
Show details Hide details

Change log

r41 by bradneuberg on Jul 09, 2008   Diff
Did SVN propsets for mime type and added
some extra docs to README file
Go to: 
Project members, sign in to write a code review

Older revisions

r33 by bradneuberg on Jul 07, 2008   Diff
Initial release of PubTools Search
All revisions of this file

File info

Size: 1470 bytes, 47 lines

File properties

svn:mime-type
text/html
svn:executable
*
Hosted by Google Code