ASP.NET RSS Toolkit(RSS工具)
还记得以前吗?以前要做页面上写个小组件,调用指定(RSS输出地址的)的内容。最好的办法就是通过XSLT+XML来输出字符 串。让我们还是花了一分钟的时候回忆一下以前的做法吧 曾经的做法: Protected Overrides Sub OnLoad( ByVal e As System.EventArgs) Dim CacheKey As String = Url & " - " & Sort Dim objCache As System.Web.Caching.Cache = HttpRuntime.Cache If objCache.Item(CacheKey) Is Nothing Then Dim xpDocument As XPathDocument = New XPathDocument(Url, XmlSpace.Preserve) Dim XTran As XslTransform = New XslTransform XTran.Load(Web.HttpRun...