0
I Use This!
Activity Not Available

Project Summary

What is the Google Custom Search Engine (CSE)? Well it is a service Google offers that lets you search a predefined list of websites from your own website. So if you ever wanted a professional search engine on your website to let users search your content, than here it is.

When you go to http://www.google.com/coop/cse/ (you need a Gmail login, I believe the sign-up is open else send me an e-mail for an invite) you should ‘create a Custom Search Engine’ fill-out the forms and when you finalized the setup of your CSE you should go to the ‘Code’ page and copy the values of ‘cx’ and ‘cof’ from the javascript listed in the Search box code textbox.

When you have a website not build in ASP.Net you would just simply copy and paste this javascript completely in your search page, but because you cannot have nested

tags on an ASP.Net page you get into trouble. Now for that I created a solution that I like to share with you.

A user control that can be placed on any ASP.Net page to integrate the Google Custom Search Engine into your ASP.Net website.

This ASP.Net user control is all you need to place on your ASP.Net page just copy the 'cx' and 'cof' values in the control declaration, and you have your own Google Custom Search Engine on your website. For an example on how this looks like please go to my search page (http://nijhof.com/Pages/Search.aspx).

Please go to http://nijhof.com/Pages/SourceCode/GoogleSearchControl.aspx for a complete description of the code and how to use it.

-Mark

Tags

aspnet cse csharp

In a Nutshell, google-cse-for-asp-net...

 No code available to analyze

Open Hub computes statistics on FOSS projects by examining source code and commit history in source code management systems. This project has no code locations, and so Open Hub cannot perform this analysis

Is this project's source code hosted in a publicly available repository? Do you know the URL? If you do, click the button below and tell us so that Open Hub can generate statistics! It's fast and easy - try it and see!

Add a code location

Mozilla Public License 1.1
Permitted

Commercial Use

Modify

Distribute

Place Warranty

Use Patent Claims

Forbidden

Sub-License

Hold Liable

Required

Distribute Original

Disclose Source

Include Copyright

State Changes

Include License

Include Install Instructions

These details are provided for information only. No information here is legal advice and should not be used as such.

This Project has No vulnerabilities Reported Against it

Did You Know...

  • ...
    in 2016, 47% of companies did not have formal process in place to track OS code
  • ...
    data presented on the Open Hub is available through our API
  • ...
    there are over 3,000 projects on the Open Hub with security vulnerabilities reported against them
  • ...
    search using multiple tags to find exactly what you need

 No code available to analyze

Open Hub computes statistics on FOSS projects by examining source code and commit history in source code management systems. This project has no code locations, and so Open Hub cannot perform this analysis

Is this project's source code hosted in a publicly available repository? Do you know the URL? If you do, click the button below and tell us so that Open Hub can generate statistics! It's fast and easy - try it and see!

Add a code location

Community Rating

Be the first to rate this project
Click to add your rating
  
Review this Project!