Microformats and Syndication

Joe Gregorio

Kevin Marks, among others, has announced the launch of microformats.org. One question this raises is how does this markup survive a trip through an aggregator? I have done a little testing and found that Bloglines keeps class attributes intact. Are there exceptions? Do 'rel's pass through unmolested? What do other aggregators do?

You might claim that it doesn't matter since all this stuff is just supposed to be in a web page, but I disagree. The value starts to really add up if these microformats can survive a trip through an aggregator. Imagine if my aggregator can pick up hCards and keep track of them for me (along with a link back to the entry where they were found). Even if the aggregator clients don't start adding these features, web based aggregators could still be enhanced by adding microformat processing capabilities via Greasemonkey scripts.

Tags:

Survey Results

Web-Based Aggregator Microformat Preserving Scorecard
Service Preserves Microformats
Bloglines Yes
Rojo Yes
Kinja No
Yahoo! No
MSN Spaces Beats me, it refuses to let me sign in.
NewsGator Online Edition No. (Converts 'abbr' elements to 'p'. Fails to preserve class attributes and titles.)

Update: Here is the feed I have been testing with: http://bitworking.org/projects/microformats/index.rss

(Missing an http:// on your microformats link. Feel free to delete this comment.)

Posted by Adam Vandenberg on 2005-06-22

Adam,
  Fixed. Thanks!

Posted by Joe on 2005-06-22

My Universal Feed Parser retains both class and rel in embedded HTML content.

http://feedparser.org/docs/html-sanitization.html

Posted by Mark on 2005-06-25

There's another issue coming with this.

Name clashing by lack of namespace. Some peole might argue that I make the things complicated, but it's a real issue. Specifically when you start to design application.

What's happening when

1. the head profile attribute is not here anymore to say: The semantics of this class is defined by this URI, which will be the case in an aggregator.

2. If the aggregator or the application X starts to recognize values without the profile URI, it will step on my feet.  I may have chosen the same class value in my XHTML than the ones of a microformats, but with a complete different semantics.

Posted by karl on 2005-06-29

Joe: What feed(s) did you use for testing?  I'd like to try the same thing and see if my code lets 'em through or not. (It should, but ya never know, with things like jTidy in the mix.)

Posted by Roger Benningfield on 2005-07-02

Roger,
  I have updated the post with a pointer to the feed I used for testing.

Posted by Joe on 2005-07-07

Joe: Thanks! As expected, everything made it through. The only things I'm explicitly blocking are @on* and @style, but I also run all incoming content through jTidy, and I never know when it's going to decide to do something odd.

Posted by Roger Benningfield on 2005-07-07

comments powered by Disqus