new Post()
XDocument xDoc = XDocument.Load("http://vnexpress.net/rss/tin-moi-nhat.rss"); IEnumerable<Bus_24h> posts = from post in xDoc.Descendants("item") select new Bus_24h(post); // Print each post to the console foreach (var post in posts) { Bus_24h tin = new Bus_24h(); tin.Description = post.Description; //tin.iml_url= ???? ( <description><![CDATA[<a href="http://sohoa.vnexpress.net/tin-tuc/cong-dong/blog/nhung-tieu-chi-de-dien-thoai-viet-thanh-cong-3269249.html"><img width=130 height=100 src="http://c1.f5.img.vnecdn.net/2015/08/25/phone-1-4120-1440474313_180x108.jpg" ></a>Thị trường điện thoại luôn năng động, muốn thu hút người tiêu dùng là điều khá khó cho những nhà sản xuất mới. Vậy lý do gì khiến tôi chọn sản phẩm của bạn?</description> ) tin.Link = post.Link; tin.PublishDate = post.PublishDate; tin.title = post.title; list.Add(tin); }
set tin.iml_url=scr img_url
<img src="...">
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)