using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using Terradue.ServiceModel.Syndication;

namespace Terradue.OpenSearch.Model.GeoTime
{
    
    public class TitleMetadataExtractor : IMetadataExtractor
	{
        #region IMetadataExtractor implementation
        public virtual string GetMetadata(Terradue.OpenSearch.Result.IOpenSearchResultItem item, string specifier) {
            string title = "";
            if (item.Title != null)
                title = item.Title.Text;

            return title;
        }
        public virtual string Description {
            get {
                return "Title of the item (string)";
            }
        }
        #endregion
	}

}

