The Artima Developer Community
Sponsored Link

Python Buzz Forum
Microformats, Feeds, and Blogs

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Ian Bicking

Posts: 900
Nickname: ianb
Registered: Apr, 2003

Ian Bicking is a freelance programmer
Microformats, Feeds, and Blogs Posted: Sep 8, 2006 4:10 PM
Reply to this message Reply

This post originated from an RSS feed registered with Python Buzz by Ian Bicking.
Original Post: Microformats, Feeds, and Blogs
Feed Title: Ian Bicking
Feed URL: http://www.ianbicking.org/feeds/atom.xml
Feed Description: Thoughts on Python and Programming.
Latest Python Buzz Posts
Latest Python Buzz Posts by Ian Bicking
Latest Posts From Ian Bicking

Advertisement

At BarCamp Chicago one of the topics of discussion was about blog tools, and generalizing blogs, and adding features to blog software, and stuff like that. I like thinking about blogs as a minimalistic set of tools, and a number of the features people mentioned struck me as great opportunities for microformats and intermediaries.

For instance, Josh McAdams was writing a blog for YAPC and wanted to be able to turn posts and comments into a FAQ. A blog post attached to a point in time and potentially buried in the archive wasn't a great way of answering questions, but it was a great way of notifying people of things related to the event (including new questions and answers).

So, I imagine putting something like this into a post:

<dl class="faq" tags="billing">
  <dt class="question">Q: ...</dt>
  <dd class="answer">A: ...</dd>
</dl>

And a bot reading your feed would automatically pick it up and put it into a FAQ page (picking up other information from the feed as well, like date posted, the link to the original post that may have comments or other information, and using the Atom ID to detect the difference between additions and edits).

A FAQ is probably an extraction from the feed -- you'd want the ability to add items without going through the blog (e.g., for initial setup), and removing and rearranging items, so the feed is not the canonical source for items.

Another example was a blog for a specific campaign to raise some money for charity. You might post progress like:

We got another <span class="donation-addition">$100</span> in
donations over the weekend.

And it would automatically update the donation counter.

Another idea involved filtering of the blog itself, not just watching the blog. To filter the blog, the feed would be the complete canonical source for the blog, and the public page would just be a view on that feed. (This is not currently a common architecture for blog software, but it could be.) So, imagine another microformat:

<div class="product-item" product-id="458XY" product-cost="$19.99">
  Buy one of our new T-Shirts!  Available in M, L, and XL.
  <img align="right" src="/images/t-shirt.jpg">
</div>

The intermediary adds a button to purchase the item, maybe coordinated with a payment system (like PayPal) or with some shopping cart system, and adds a record about the item and its description to some internal index. The post not only introduces the item, but probably serves as a product page. The intermediary is configured with information about payment systems, authentication information to the payment backend, etc.

In all these cases, the microformats aren't really accessible to large audiences -- they require writing custom HTML. But that's solvable problem, and what makes it interesting is that it can be solved purely in terms of authoring. No new tables, no fancy restructuring, the backend doesn't have to be aware of every feature you might be interested in.

It's too bad this didn't come up until the second day of BarCamp, and when things had quieted down some; I bet we could have banged out a couple examples of this in real code during BarCamp itself.

Read: Microformats, Feeds, and Blogs

Topic: Phoenix Ruby Users Group Previous Topic   Next Topic Topic: Hey, PHP *does* have anonymous functions!

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use