1 / 12

Customized Google Search Engines

Customized Google Search Engines. Working With Websites 5 Jan 2012. Customized Search Engines. Current template-supplied search engine searches the State Extension site Nothing wrong with that: lots of information there A custom search engine will typically search just your site

hazel
Download Presentation

Customized Google Search Engines

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Customized Google Search Engines Working With Websites 5 Jan 2012

  2. Customized Search Engines • Current template-supplied search engine searches the State Extension site • Nothing wrong with that: lots of information there • A custom search engine will typically search just your site • You can have it search more than one site • Several counties sites can share one search engine • You can have it search your site, then the web • It will return your site matches first, then the web

  3. Getting started • Need to have a Google account • Email and password • Need to have your site published online so Google can index it • Google>Account Settings (dropdown menu next to your login name at upper right) >Custom Search>Create a Custom Search Engine OR • http://www.google.com/cse/

  4. Setting It Up • http://www.google.com/cse/ • Click the giant button at the upper right • Name, description • Your URL • Set of URLs an option (multiple sites can share an engine) • Standard Edition (for now – we’ll switch to no ads later) • Click “Next”

  5. Setting It Up pt. 2 • Choose default style • Test it by typing in search terms • Don’t be too concerned if it doesn’t work right away • Click “Next” • You’ll get the code, but don’t copy it yet • Click “Change the Basics”

  6. Setting It Up pt. 3 • Add keywords • Not like a webpage, where overkill is a good thing • Just a few defining keywords that best describe your site • Your second level page topics are a good starting point • Use quotes for phrases • Enable entire web search, if desired

  7. Setting It Up pt. 4 • On Control Panel at left, choose “Business settings” • On next page, at bottom, choose “Do not show ads….” • Save changes

  8. Get the code! • Choose Get Code from Control panel • Copy-and-paste the code Google returns to you

  9. Where the Code Goes • Non-template: paste it wherever you want the code to go • CSU Template: • In Dreamweaver: open “_ssi_topnav.html” • Place code between <div id="search">and </div> <!-- end search div --> • DON’T DELETE THE <div> OR </div> tags!

  10. Tweaking the code • We’re replacing Google’s CSS with our own • Replace last line: <link rel="stylesheet" href="http://www.google.com/cse/style/look/default.css" type="text/css" /> • With this line: <link rel="stylesheet" href="http://www.ext.colostate.edu/css/google_default.css" type="text/css" />

  11. Publishing • Expand the File pane • Select _ssi_topnav.html • Hit Upload button

  12. More Resources • Video tutorial of the entire process: • http://www.ext.colostate.edu/vid_tutorials/#goog • Choose “Creating a Custom Google Search Box (7:23)”

More Related