Dave Johnson on open web technologies, social software and software development
Dave Johnson in Blogging
07:39AM Mar 26, 2006
Comments [4]
Tags:
Blogging
Sam Ruby: It seems self evident to me that the Microsoft Feed API is going to be important enough that people are going to want to make sure that their feeds work well with this new platform.The Feed Normalizer makes it easy for you to see how the Windows RSS platform normalizes your feed, or any feed for that matter. Let's help the Microsoft Feeds API live up to it's package name, which, by the way, is Microsoft.Feeds.Interop.However, not everybody is in a position where they have ready access to a machine running Windows XP Service Pack 2 (SP2) with IE7Beta 2 Preview loaded on it.
So, to make life easier, Iâve converted Dave Johnsonâs program to a web application, and Iâm looking for volunteers to host it. If you are in aposition to help with a public server, please leave a comment herewith your URL.
Dave Johnson in Microsoft
09:28AM Mar 22, 2006
Comments [0]
Tags:
Microsoft
James Snell: IE7âs feed reader support isnât all that bad, but if MS wants developers to use it as a foundation to build new, interesting applications, MS needs to get out the way and provide an implementation that letâs developers work with the data as it exists out on the web. Normalizing subscribed feeds to their version of RSS is troublesome at best.Tags: topic:[ie7], topic:[rss], topic:[atom], topic:[vista]
Dave Johnson in Microsoft
03:36AM Mar 22, 2006
Comments [0]
Tags:
Microsoft
Dave Johnson in Blogging
06:46PM Mar 21, 2006
Comments [0]
Tags:
blogging
triangle
Dave Johnson in Blogging
12:29PM Mar 21, 2006
Comments [0]
Tags:
Blogging
Dave Johnson in Links
08:59AM Mar 21, 2006
Comments [0]
Tags:
Links
using System;
using System.Xml;
using System.IO;
using Microsoft.Feeds.Interop;
namespace BlogApps_Chapter06 {
class Normalize {
static void Main(string[] args) {
string url = args[0];
FeedsManager fm = new FeedsManagerClass();
IFeedFolder rootFolder = (IFeedFolder)fm.RootFolder;
IFeed feed = null;
if (!fm.IsSubscribed(url)) {
feed = (IFeed)rootFolder.CreateFeed(url, url);
} else {
feed = (IFeed)fm.GetFeedByUrl(url);
}
feed.Download();
string xml = feed.Xml(feed.itemCount,
FEEDS_XML_SORT_PROPERTY.FXSP_PUBDATE,
FEEDS_XML_SORT_ORDER.FXSD_ASCENDING,
FEEDS_XML_FILTER_FLAGS.FXFF_ALL,
FEEDS_XML_INCLUDE_FLAGS.FXIF_CF_EXTENSIONS);
StreamWriter sw = new StreamWriter(File.OpenWrite(args[1]));
sw.Write(xml);
sw.Close();
}
}
}
Dave Johnson in Microsoft
05:10PM Mar 20, 2006
Comments [3]
Tags:
Microsoft
Dave Johnson in Microsoft
11:43AM Mar 20, 2006
Comments [1]
Tags:
Microsoft
Dave Johnson in Blogging
09:02AM Mar 17, 2006
Comments [0]
Tags:
Blogging
atom
blogapps
rss
Dave Johnson in Blogging
08:25AM Mar 17, 2006
Comments [2]
Tags:
Blogging
Item contains |
Feeds API returns |
<dc:creator>dave</dc:creator> | item.Author = "dave" |
<author>dave@example.com</author> | item.Author = "dave@example.com" |
<author>dave@example.com</author> <dc:creator>dave</dc:creator> |
item.Author = "dave" (prefers funky RSS) |
<description>my desc</description> <content:encoded>my content</content:encoded> |
item.Description = "my content" (prefers funky RSS) |
<pubDate> Thu, 9 Mar 2006 23:13:04 -0500 </pubdate> |
item.Date = "3/10/2006 4:13:04 AM" (uses GMT) |
<pubDate> Thu, 9 Mar 2006 23:13:04 -0500 </pubdate> <dc:date> 2004-08-19T11:54:37-08:00 </dc:date> |
item.Date = "3/10/2006 4:13:04 AM" (prefers core RSS element) |
<atom:summary>my summary</atom:summary> <atom:content>my content</atom:content> |
item.Description = "my content" |
Dave Johnson in Blogging
03:46AM Mar 16, 2006
Comments [2]
Tags:
Blogging
atom
blogapps
rss
Dave Johnson in Blogging
04:38PM Mar 15, 2006
Comments [2]
Tags:
Blogging
atom
blogapps
rss
Dave Johnson in Links
12:29PM Mar 13, 2006
Comments [0]
Tags:
Links
Dave Johnson in Java
11:00AM Mar 13, 2006
Comments [0]
Tags:
Java
Bill Higgins makes the first post. Very cool!
Dave Johnson in Roller
08:01AM Mar 12, 2006
Comments [1]
Tags:
Roller
The Feeds API gives you access to the current user's feed subscription list, a feed parser that can handle any form of RSS and Atom as well as the IE7 podcast download engine. The parser parses feeds to an abstract object model designed to represent any sort of feed. It handles funky RSS and in some cases prefers the funky elements (e.g. <content:escape> over <description>).
Microsoft employee blogs about the RSS platform
Other blogs about it
Dave Johnson in Microsoft
07:03AM Mar 12, 2006
Comments [1]
Tags:
Microsoft
atom
blogapps
rss
Dave Johnson in General
05:12PM Mar 11, 2006
Comments [0]
Tags:
family
Dave Johnson in Blogging
06:13PM Mar 09, 2006
Comments [0]
Tags:
Blogging
Dave Johnson in Roller
04:30PM Mar 09, 2006
Comments [0]
Tags:
Roller
« Previous page | Main | Next page »