1 Public Function GetItems() As IEnumerable(Of XElement)
2 Dim rss As XElement = <rss version="2.0">
3 <channel>
4 <title>Scott Gu's Blog</title>
5 <link>http://weblogs.asp.net/scottgu/</link>
6 <description>Scott Guthrie's Blog on ASP.NET and .NET</description>
7 <item>
8 <title>Recipe: Dynamic Site Layout and Style Personalization with ASP.NET</title>
9 <link>http://weblogs.asp.net/scottgu/arc...Personalization-with-ASP.NET--.aspx</link>
10 <pubDate>Sun, 23 Jul 2006 02:19:00 GMT</pubDate>
11 </item>
12 <item>
13 <title>Upcoming Free ASP.NET Team Webcasts -- Live from Redmond</title>
14 <link>http://weblogs.asp.net/scottgu/arc..._2200_Live-from-Redmond_2200_.aspx</link>
15 <pubDate>Sat, 22 Jul 2006 02:15:00 GMT</pubDate>
16 </item>
17 </channel>
18 </rss>
19
20 Return rss.Element("channel").Elements("item")
21 End Function