Click here to Skip to main content
15,885,278 members
Articles / Web Development / ASP.NET

Image and Location Search(aroo)

Rate me:
Please Sign up or sign in to vote.
4.96/5 (28 votes)
11 Jun 2008CPOL12 min read 202.8K   2.5K   76  
Index your website (including images and geographic data), search and display results in Google Earth.
using System;
using System.Collections.Generic;
using System.Text;

namespace Searcharoo.Common
{
    /// <summary>
    /// Document instance when the Uri is to be ignored (ie not indexable).
    /// </summary>
    /// <remarks>
    /// Created this in case we still want to use the Document class, say 
    /// to get the filesize for reporting or something...
    /// </remarks>
    public class IgnoreDocument : Document
    {
        #region Constructor requires Uri
        public IgnoreDocument(Uri location) : base(location)
        {
            //_Uri = location;
        }
        #endregion

        public override string WordsOnly
        {
            get { return string.Empty; }
        }
        public override void Parse ()
        {
            // no parsing, by default the content is used "as is"
        }
        public override bool GetResponse (System.Net.HttpWebResponse webresponse)
        {
            return false;
        }
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Web Developer
Australia Australia
-- ooo ---
www.conceptdevelopment.net
conceptdev.blogspot.com
www.searcharoo.net
www.recipenow.net
www.racereplay.net
www.silverlightearth.com

Comments and Discussions