コード例 #1
0
        protected string PreprocessItemContent(string entryId, string content)
        {
            if (siteConfig.ApplyContentFiltersToRSS)
            {
                content = SiteUtilities.FilterContent(entryId, content);
            }

            if (siteConfig.EnableAggregatorBugging)
            {
                content = content + "<img width=\"0\" height=\"0\" src=\"" + SiteUtilities.GetAggregatorBugUrl(siteConfig, entryId) + "\"/>";
            }

            if (siteConfig.EnableRssItemFooters &&
                siteConfig.RssItemFooter != null &&
                siteConfig.RssItemFooter.Length > 0)
            {
                content = content + "<br/><hr/>" + siteConfig.RssItemFooter;
            }



            return(content);
        }
コード例 #2
0
 public static string FilterContent(string entryId, string content)
 {
     return(SiteUtilities.FilterContent(entryId, content));
 }