シナリオ
私は、部分的に次のように見えるRSSフィードを消費しています。
<item>
<title>Blog Title Here</title>
<link>http://blogurl.com/2010/03/23/title/</link>
<comments>http://blogurl.com/2010/03/23/title/#comments</comments>
<pubDate>Tue, 23 Mar 2010 10:44:54 +0000</pubDate>
<dc:creator>AuthorName</dc:creator>
<category><![CDATA[CategoryName]]></category>
<guid isPermaLink="false">http://blogurl.com/?p=102</guid>
<description><![CDATA[Description of post content]]></description>
<content:encoded><![CDATA[Full blog post here]]></content:encoded>
</item>
Rss20FeedFormatterを使用して、次のようなSyndicationItemのリストを取得しています。
List<SyndicationItem> items;
using (var reader = XmlReader.Create("http://blogurl.com/feed/"))
{
var formatter = new Rss20FeedFormatter();
formatter.ReadFrom(reader);
items = formatter.Feed.Items.ToList();
}
問題
値dc:creator要素にアクセスする方法がわかりません。どういうわけかElementExtensionsを使用する必要があると思いますが、構文がわからず、どこにも例が見つかりません。