Wednesday, May 23, 2007

System.ServiceModel.Syndication

Eventually, I'd like to add a "tfsweb" capability to Team Foundation for Mono, that would, as much as possible, mimic gitweb's capabilities.

With this in mind, I'll need to create Atom/RSS feeds to which users can subscribe so they can track changes to a TFS repository over time.

In hopes of not having to rewrite the Atom/RSS code sometime in the future to leverage the .Net 3.5 syndication classes, I'm taking a crack at adding the System.ServiceModel.Syndication clases to the mono olive tree.

As a starting point, I'm trying to make Matt W's syndication example code produce the same output on MS.Net and Mono. Is anyone else working on this namespace? Right now I have:

Assembly/AssemblyInfo.cs            |   57 ++++++++++++++++++++++++++++++++
Atom10Serializer.cs | 54 ++++++++++++++++++++++++++++++
Makefile | 22 ++++++++++++
README | 4 ++
SyndicationContent.cs | 45 +++++++++++++++++++++++++
SyndicationFeed.cs | 63 +++++++++++++++++++++++++++++++++++
SyndicationItem.cs | 57 ++++++++++++++++++++++++++++++++
SyndicationSerializer.cs | 50 ++++++++++++++++++++++++++++
System.ServiceModel.Web.dll.sources | 11 ++++++
TextSyndicationContent.cs | 64 ++++++++++++++++++++++++++++++++++++
TextSyndicationContentKind.cs | 40 ++++++++++++++++++++++
11 files changed, 467 insertions(+)


Not a whole lot yet, but on the other hand this looks like a pretty straightforward namespace to implement that won't take alot of time.

No comments: