public override StatusType SetValues(System.Web.HttpContext context, NameValueCollection nvc)
        {
            EnableCommentRSS = ConvertStringToBool(nvc["enableCommentRSS"]);
            EnablePings      = ConvertStringToBool(nvc["enablePings"]);
            EnableTrackbacks = ConvertStringToBool(nvc["enableTrackbacks"]);
            EnableGeoRSS     = ConvertStringToBool(nvc["enableGeoRSS"]);

            PingUrls       = nvc["pingUrls"];
            GeoRSSLocation = nvc["geoRSSLocation"];

            if (EnablePings && string.IsNullOrEmpty(PingUrls))
            {
                SetMessage(context, "Pings are enabled but no ping service urls were entered. Please enter one or ping service urls, or disable pings.");
                return(StatusType.Error);
            }
            if (EnableGeoRSS && string.IsNullOrEmpty(GeoRSSLocation))
            {
                SetMessage(context, "GeoRSS is enabled but a default location was not entered. Please enter one or disable GeoRSS.");
                return(StatusType.Error);
            }

            UrlRouting.Initialize();
            SetupCommentFeed();
            SetupGeoRSS();

            return(StatusType.Success);
        }
 public override void EventEnabled()
 {
     UrlRouting.Initialize();
     SetupCommentFeed();
     SetupGeoRSS();
 }
 public override void EventEnabled()
 {
     UrlRouting.Initialize();
     SetupCustomFields();
 }