1. Create the master layout at
/path/to/webroot/feeds/views/layout.thtml:
<!-- File: /path/to/webroot/feeds/views/layout.thtml --> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html> <head> <title>Feed Search</title> <link rel="stylesheet" type="text/css" href="style.css" /> </head> <body> <div id="header"> <h1>Feed search using Sphinx</h1> </div> <div id="nav"> <ul> <li><a href="search.php">Search</a></li> <li><a href="add.php">Add Feed</a></li> </ul> </div> <div id="content"> <?php echo $contents; ?> </div> </body> </html>
2. Create
/path/to/webroot/feeds/style.css:
/** File: /path/to/webroot/feeds/style.css **/ body { font-family: verdana,arial,sans-serif; font-size: 12px; margin: 0; overflow...
Sphinx Search Beginner's Guide
By :
Sphinx Search Beginner's Guide
By:
Overview of this book
Table of Contents (15 chapters)
Sphinx Search
Credits
About the Author
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
Setting Up Sphinx
Getting Started
Indexing
Searching
Feed Search
Property Search
Sphinx Configuration
Customer Reviews