Anyone can upload a patch. Patches are evaluated by project team members and either Applied or Declined.

1-2 of 2Patches < Previous 1 Next >
Status ID Uploaded By Description Work Items Action
Being evaluated
1531 Jul 16 at
10:26 PM
Roosmaa Add Resource property for GenericItem class. It's like the GenericFeed Resource property but for the item the GenericItem is abstracting.
The main reason why this is useful is because else it is pretty hard to find the specific item in the feed that the GenericItem is referring to.
Download

Applied
Jul 1
1378 Jun 12 at
10:50 PM
dylanbeattie This patch fixes a bug parsing PublicationDate fields in RSS streams where the month is supplied as a single-digit value. This bug is exhibited by consuming the RSS feed exposed by Flickr, eg

http://api.flickr.com/services/feeds/photos_public.gne?id=14149006@N00&lang=en-us&format=rss_200

- items with a publication date between the 1st and 9th day of the month will show up in the parsed Argotic objects as DateTime.MinValue.

RFC822 and RFC1123 both permit a single-digit day in the date representation:

date = 1*2DIGIT month 2DIGIT (RFC822 5.1)
date = 1*2DIGIT month 2*4DIGIT (RFC1123 5.2.14)

but the format string passed to DateTime.TryParseExact in SyndicationDateTimeUtility.cs (both .NET 2.0 and .NET 3.5 versions) specifies 'dd' as the date format.

Adding an additional string format option:

formats[0] = dateTimeFormat.RFC1123Pattern;
formats[1] = "ddd',' d MMM yyyy HH:mm:ss zzz";
formats[2] = "ddd',' dd MMM yyyy HH:mm:ss zzz";

corrects this issue and causes these single-digit dates to be parsed correctly.
Applied Jul 1 : See work item #10414 for details. Applying this patch improves the frameworks ability to parse a wide range of date-time formats as well as complying with the RFC 822 DateTime formatting standard.
Download

1-2 of 2Patches < Previous 1 Next >
Updating...