Home » Posts tagged "google"

Host jQuery at Google (with Intellisense support)

tp_vol3_007 While reviewing my RSS feed this morning, I found this article:

3 reasons why you should let Google host jQuery for you | Encosia

I had no idea!

The three reasons are:

  1. Decreased Latency
    Google will serve the data from the closest server
  2. Increased Parallelism
    More threads are available to download content specific to your application instead of downloading this common library.
  3. Better caching
    They may already have the library on their computer.

Here is the code you should be using to include jQuery in your application to use the Content Delivery Network at Google:

    <script type="text/javascript"
    src="//ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js">
    </script>

The one issue you may have to deal with is that if you are using the intellisense files for Visual Studio, you will need to find some alternate method.  Here’s one:

Continue reading “Host jQuery at Google (with Intellisense support)”

The Google Appliance and Forms Authentication

iStock_000003551835Medium

I’ve been working with a client to implement the Google Appliance on one of their sites that has forms authentication enabled.

For those of you who aren’t aware, Google provides a box that you can install to index your own site using essentially the same logic that Google uses to index the Internet.  The advantage is that you have a lot more control over what gets indexed and when it gets indexed than if you just use what Google provides from its public index of the Internet.

Continue reading “The Google Appliance and Forms Authentication”

Embedding Google Search Appliance Results in ASP.NET

C03H0075

Several of the projects I’m involved with use the Google Search Appliance for their search engine.  For each of these projects, we’ve wanted to integrate the results on an ASPX page so that the results look like they are part of the site rather than taking them to another site to display the results.  This is achieved by using the XML Control, the Google XSLT file, and some good old-fashioned search and replace.

It has been a while since I’ve actually worked on this code.  Mostly we just copy, paste, and modify from one project to another, but I hope to give you enough here to at least get you started doing this yourself, if not everything you need.

Continue reading “Embedding Google Search Appliance Results in ASP.NET”