My favorites | Sign in
Project Logo
                
Changes to /trunk/demos/search/demo.html
r0 vs. r33   Edit
  Compare: vs.   Format:
Revision r33
Go to: 
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 Google Code