in

dotnet.org.za

South African .NET Developer Portal

Iwan Blog

Some more on traffic caused by RSS

Came across another interesting read regarding traffic caused by RSS Readers, it seems sites offering rss as a means to get content are still unsure on how to handle the masses.

Have a look here: http://www.25hoursaday.com/weblog/PermaLink.aspx?guid=5b0492b7-9ddd-40f8-a25c-5849d432c156="/A">

Comments

 

Colin said:

You can also effect the same thing with the HEAD method (instead of GET)

Debug.WriteLine("GET");
//GET
WebRequest r = HttpWebRequest.Create("http://dotnet.org.za/MainFeed.aspx"">http://dotnet.org.za/MainFeed.aspx");
r.Method = "GET";
WebResponse p = r.GetResponse();

Byte[] bytes = new byte[1000];
int res = p.GetResponseStream().Read(bytes,0,1000);

Debug.WriteLine(res,"bytes read");
Debug.WriteLine(p.Headers["Last-Modified"], "last mod");
Debug.WriteLine( UTF8Encoding.UTF8.GetString(bytes),"body");

Debug.WriteLine("HEAD");
//HEAD
r = HttpWebRequest.Create("http://dotnet.org.za/MainFeed.aspx"">http://dotnet.org.za/MainFeed.aspx");
r.Method = "HEAD";
p = r.GetResponse();

bytes = new byte[1000];
res = p.GetResponseStream().Read(bytes,0,1000);

Debug.WriteLine(res,"bytes read");
Debug.WriteLine(p.Headers["Last-Modified"], "last mod");
Debug.WriteLine( UTF8Encoding.UTF8.GetString(bytes),"body");
July 21, 2004 5:40 PM

Leave a Comment

(required)  
(optional)
(required)  

Enter the numbers above:
Add
Powered by Community Server (Commercial Edition), by Telligent Systems