Welcome to MSDN Blogs Sign in | Join | Help

Microsoft RSS Blog

All about RSS and feed technology at Microsoft and across the community
Still Gone? Ok – got it!

Sam Ruby pointed out HTTP 410 GONE support in feed readers or rather the lack thereof. He links to the list of User-Agent strings that continue to request the feed that is gone. One of the entries points at the Windows RSS Platform as an "offender":

Windows RSS Platform/1.0 (MSIE 7.0; Windows NT 5.1)

It's listed with 282 hits. At first I was surprised to see the Windows RSS Platform in that list since we specifically added 410 GONE support. But then it dawned on me: That's not the Windows RSS Platform!

Well, it is, but it isn't. The above User-Agent string is the one from the Beta 2 Preview release (Jan 2006) of the Windows RSS Platform. The User-Agent string changed in Beta 2 (April 2006) to the final string:

Windows-RSS-Platform/1.0 (MSIE 7.0; Windows NT 5.1)

I described the string here a year ago. See the difference? The dashes instead of spaces! Why the change? Well it turns out that the product token of the User-Agent string may not include spaces, since spaces delimit product tokens and comments.

So it turns out that there are still people running the Beta 2 Preview version of the Windows RSS Platform, or some application is "faking" the User-Agent string.

Either way, I just verified that the RTM version of the Windows RSS Platform handles 410 GONE correctly. I used the following Powershell script:

$fm = new-object -comobject "Microsoft.FeedsManager"

$feed = $fm.rootfolder.CreateFeed("gone","http://www.intertwingly.net/blog/index.rss")

$feed.SyncSetting

$feed.Download()

$feed.SyncSetting

When you run it you will see that the SyncSetting property is changed from 0 to 2 after the Download() call. Note that the SyncSettings are defined as:

typedef enum {     

FSS_DEFAULT = 0,     

FSS_INTERVAL = 1,     

FSS_MANUAL = 2

} FEEDS_SYNC_SETTING;

FSS_DEFAULT - Use the system-defined DefaultInterval value.

FSS_INTERVAL - Use the Interval value defined by the feed.

FSS_MANUAL - Do not automatically update the feed. Use Download to manually update the feed.

which means that the feed initially uses the default sync interval to get updated. Upon download, the setting is changed to Manual since a feed that is GONE should no longer be updated automatically.

- Walter vonKoch

Posted: Friday, April 27, 2007 7:28 AM by rss
Filed under: ,

Comments

LinkDir said:

Very good . You are doing a great job.

# July 29, 2007 12:41 PM

program said:

Thanks man, just what I was looking for. Thanks so much...

# August 20, 2007 2:36 AM

mpcomputer said:

thank you ......

thank you for nice work .....

# December 6, 2007 12:41 PM

Veridique said:

Thanks man, just what I was looking for. Thanks so much...

# January 19, 2008 6:49 AM

Webhosting said:

thank you ......

thank you for nice work .....

# January 19, 2008 6:50 AM

LFERC said:

Very good . You are doing a great job.

# January 19, 2008 6:50 AM

Tweak Vista said:

Very good . You are doing a great job.

# January 19, 2008 6:50 AM

Meubelstoffering said:

I hope this will help :). Thank you!

# January 19, 2008 6:51 AM

launderette said:

Useful as always. I'm learning a great deal. Thanks

# March 20, 2008 3:36 PM

Ogłoszenia Tarnów said:

Thank you for sharing this information.

# April 22, 2008 7:12 AM

Darmowe Ogłoszenia said:

Thanks for the article. I really enjoyed reading it.

# June 1, 2008 6:06 PM

Boszkowo said:

Thanks man, just what I was looking for. Thanks so much...

# June 7, 2008 4:46 PM

wakacje nad morzem said:

I tried to use it in my website www.wakacyjny.pl but without effect :(

# June 22, 2008 12:20 PM

omaha rules said:

Upon download, the setting is changed to Manual since a feed that is GONE should no longer be updated automatically.

# July 27, 2008 4:37 AM

Sukienki said:

Thanks,

An investment in knowledge always pays the best interest.

# August 2, 2008 3:20 AM

Noclegi Kołobrzeg said:

It is realy interesting. Thanks for information

# August 18, 2008 1:59 AM
Leave a Comment

(required) 

(required) 

(optional)

(required) 

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Page view tracker