C# Pulling RSS LastBuildDate

后端 未结 1 555
没有蜡笔的小新
没有蜡笔的小新 2021-01-29 11:56

all.

I am interested in pulling the Last Build Date information from an RSS feed. I will use the information to let the user know when there is a new feed out.

1条回答
  •  野的像风
    2021-01-29 12:10

    Use LINQ-to-XML:

    from buildDate in xmlData.Descendants("lastBuildDate")
    select buildDate.Value
    

    Where xmlData is the rss string you loaded.

    0 讨论(0)
提交回复
热议问题