Example #1
0
        /// <summary>
        /// Processes the specified ASP.NET sitemap, and generates google's sitemap.
        /// </summary>
        /// <param name="aspNetSitemap">The ASP.NET sitemap.</param>
        /// <param name="googleSitemap">The google sitemap.</param>
        /// <returns>true on success</returns>
        public bool Process(string aspNetSitemap, string googleSitemap)
        {
            AspSitemapProcessor.Process(aspNetSitemap, OnAspUrl);
            SaveGoogleMap(googleSitemap);

            return(true);
        }
Example #2
0
        /// <summary>
        /// Processes the specified ASP.NET sitemap, and generates google's sitemap.
        /// </summary>
        /// <param name="aspNetSitemap">The ASP.NET sitemap.</param>
        /// <param name="googleSitemap">The google sitemap.</param>
        /// <returns>true on success</returns>
        public bool Process(string aspNetSitemap, string googleSitemap)
        {
            IEnumerable <int> listFacilityIDs = Facility.GetFacilityDetailsID();

            AspSitemapProcessor.Process(aspNetSitemap, OnAspUrl, listFacilityIDs);
            SaveGoogleMap(googleSitemap);

            return(true);
        }