摘要: from:http://www.cnblogs.com/rookieport/articles/272825.htmlprivate static string StripHTML(string source) { try { string result; // Remove HTML Development formatting result = source.Replace("\r", " "); // Replace line breaks with space because browsers inserts space result = res 阅读全文
posted @ 2011-10-20 10:13 94cool 阅读(199) 评论(0) 推荐(0)
摘要: static Regex _htmlRegex = new Regex("<.*?>", RegexOptions.Compiled); 阅读全文
posted @ 2011-10-20 10:11 94cool 阅读(152) 评论(0) 推荐(0)
摘要: string[] urilist ={ "http://www.chinanews.com/rss/scroll-news.xml%22,//热点 "http://www.chinanews.com/rss/finance.xml%22,//财经 "http://www.chinanews.com/rss/sports.xml%22,//体育 "http://www.chinanews.com/rss/ent.xml%22,//娱乐 "http://www.chinanews.com/rss/health.xml%22,//健康 "h 阅读全文
posted @ 2011-10-20 10:11 94cool 阅读(212) 评论(0) 推荐(0)