[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [syndication] Re: RSS / RDF cache
(I don't have the original message so I am replying to the reply):
The most recent parser still uses the WinInet cache, unless you
use the ServerHttp object.
It is possible to explicitly flush a URL from the cache using the
DeleteUrlCacheEntry API. Here is a VB snippet:
Public Declare Function DeleteUrlCacheEntry Lib "Wininet.dll" _
Alias "DeleteUrlCacheEntryA" (ByVal lpszUrl As String) As Boolean
'
' RemoveFromCache -
'
' Delete the given URL from the browser cache. Return True if removed,
False
' otherwise.
'
Public Sub RemoveFromCache(strURL As String)
Dim bRemoved As Boolean
bRemoved = DeleteUrlCacheEntry(strURL)
End Sub
Jeff;
-----Original Message-----
From: David Carter-Tod [mailto:wccartd@wc.cc.va.us]
Sent: Monday, May 14, 2001 5:31 AM
To: syndication@yahoogroups.com
Subject: [syndication] Re: RSS / RDF cache
At 08:28 AM 5/13/01 +0000, you wrote:
>I'm writing a system that can rerieve RDF/RSS files - the ASP script
>updates the files onc an hour but it doesn't seem to retrieve the
>latest files all the time. I was wondering if anyone had had any
>problems with this and, if so, how to overcome it ??
Paul,
It sounds like you may not be using the most recent MS XML Parser. Earlier
ones used an HTTP library that was riddled with problems from a server
perspective, especially related to caching and proxy server acess. I
have some code you can use at
http://www.wc.cc.va.us/services/news/
It's a service that runs using ASP. The source code for the main file is
freely available and deals with all varieties of RSS.
HTH
David Carter-Tod
--
David Carter-Tod
<wccartd@wc.cc.va.us>
Instructional Technologist/Distance Education Contact
Wytheville Community College, 1000 E. Main St.,
Wytheville, VA 24382
(wk) 540-223-4784
http://www.wc.cc.va.us/
Online certificate in web site design:
http://www.wc.cc.va.us/websiteDesign
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/