<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://performiq.com/kb/index.php?action=history&amp;feed=atom&amp;title=Add_Meaning_to_Web_Pages_with_Microformats</id>
	<title>Add Meaning to Web Pages with Microformats - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://performiq.com/kb/index.php?action=history&amp;feed=atom&amp;title=Add_Meaning_to_Web_Pages_with_Microformats"/>
	<link rel="alternate" type="text/html" href="https://performiq.com/kb/index.php?title=Add_Meaning_to_Web_Pages_with_Microformats&amp;action=history"/>
	<updated>2026-05-18T11:44:30Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>https://performiq.com/kb/index.php?title=Add_Meaning_to_Web_Pages_with_Microformats&amp;diff=5179&amp;oldid=prev</id>
		<title>PeterHarding: Created page with &quot;Article by Tony Patton, TechRepublic  One thing that makes the Web so interesting is that it&#039;s constantly changing, as new technologies and techniques are introduced on an alm...&quot;</title>
		<link rel="alternate" type="text/html" href="https://performiq.com/kb/index.php?title=Add_Meaning_to_Web_Pages_with_Microformats&amp;diff=5179&amp;oldid=prev"/>
		<updated>2021-10-16T19:19:23Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Article by Tony Patton, TechRepublic  One thing that makes the Web so interesting is that it&amp;#039;s constantly changing, as new technologies and techniques are introduced on an alm...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Article by Tony Patton, TechRepublic&lt;br /&gt;
&lt;br /&gt;
One thing that makes the Web so interesting is that it&amp;#039;s constantly&lt;br /&gt;
changing, as new technologies and techniques are introduced on an almost&lt;br /&gt;
daily basis. A technology that has gathered steam the past couple years is&lt;br /&gt;
microformats. Microformats allow you to add context to existing information&lt;br /&gt;
contained within a Web page.&lt;br /&gt;
&lt;br /&gt;
=The semantic Web=&lt;br /&gt;
&lt;br /&gt;
The semantic Web is an evolving extension of the Web. It says that Web&lt;br /&gt;
content can be expressed not only in natural language, but also in a&lt;br /&gt;
format that can be read and used by software agents. This allows the&lt;br /&gt;
software agents to more easily find, share, and integrate information.&lt;br /&gt;
&lt;br /&gt;
While the semantic Web is designed for machines first, microformats are&lt;br /&gt;
designed for humans first. The goal of microformats is to create a web of&lt;br /&gt;
data that anyone can publish, consume, and so forth. There is a low&lt;br /&gt;
barrier to entry for the microformats concept, so anyone with an&lt;br /&gt;
understanding of XHTML can easily publish their own microformats.&lt;br /&gt;
&lt;br /&gt;
=What are microformats?=&lt;br /&gt;
&lt;br /&gt;
Microformats provide a more formalised technology for adding commonly used&lt;br /&gt;
semantics to today&amp;#039;s Web. Microformats are a set of open data formats that&lt;br /&gt;
use existing technology and standards, most notably XHTML. The&lt;br /&gt;
microformats site makes the following assertions about the technology:&lt;br /&gt;
&lt;br /&gt;
* Microformats are a way of thinking about data.&lt;br /&gt;
* Microformats are design principles for formats.&lt;br /&gt;
* Microformats are adapted to current behaviors and usage patterns.&lt;br /&gt;
* Microformats are highly correlated with semantic XHTML.&lt;br /&gt;
* Microformats are a set of simple data formats that many are actively developing and implementing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A key concept is the usage of existing technologies (such as XHTML) that&lt;br /&gt;
have been well tested. This allows developers to focus on the data as&lt;br /&gt;
opposed to the technology.&lt;br /&gt;
&lt;br /&gt;
=Microformats in practice=&lt;br /&gt;
&lt;br /&gt;
A common application of microformats is providing contact or event data.&lt;br /&gt;
The hCard microformats specification provides a guideline for including&lt;br /&gt;
contact data within a Web page.&lt;br /&gt;
&lt;br /&gt;
The hCard standard is a simple, open, and distributed format for&lt;br /&gt;
representing people, companies, organisations, and places. It closely&lt;br /&gt;
follows the vCard standard. The hCard standard defines specific elements&lt;br /&gt;
for defining pieces of data.&lt;br /&gt;
&lt;br /&gt;
The different data elements are specified using the class attribute (all&lt;br /&gt;
class names are lowercase). The complete contact card is comprised by the&lt;br /&gt;
vCard class, so this class is applied to a DIV element that contains the&lt;br /&gt;
complete contact information. Individual data elements on the card are&lt;br /&gt;
designated with the appropriate class name. For example, a person&amp;#039;s state&lt;br /&gt;
is designated by the region class.&lt;br /&gt;
&lt;br /&gt;
The following listing provides a look at a possible hCard for myself. It&lt;br /&gt;
lists my name, organisation (TechRepublic.com), city (Louisville), state&lt;br /&gt;
(Kentucky), and country (USA).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;hcard-Tony-Patton&amp;quot; class=&amp;quot;vcard&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url fn&amp;quot; href=&amp;quot;http://www.techrepublic.com/&amp;quot;&lt;br /&gt;
mce_href=&amp;quot;http://www.techrepublic.com/&amp;quot;&amp;gt;Tony Patton&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;div class=&amp;quot;org&amp;quot;&amp;gt;TechRepublic.com&amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;lt;div class=&amp;quot;adr&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;locality&amp;quot;&amp;gt;Louisville&amp;lt;/span&amp;gt;,&lt;br /&gt;
 &amp;lt;span class=&amp;quot;region&amp;quot;&amp;gt;KY&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;country-name&amp;quot;&amp;gt;USA&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I could easily include this data in a Web page since it is standard XHTML.&lt;br /&gt;
The data could be easily read by other applications that understand the&lt;br /&gt;
hCard format. Also, the data could easily be formatted for presentation&lt;br /&gt;
using standard CSS since the data is contained within basic XHTML.&lt;br /&gt;
&lt;br /&gt;
The hCard Creator tool provides an easy way to assemble the appropriate&lt;br /&gt;
hCard for a contact. Another common use of microformats is for providing&lt;br /&gt;
information about events. This is accomplished with the hCalendar format.&lt;br /&gt;
&lt;br /&gt;
The hCalendar specification is an open standard based on the iCalendar&lt;br /&gt;
standard. The hCalendar format follows the approach used by the hCard&lt;br /&gt;
standard; that is, class names are used to tag data elements.&lt;br /&gt;
&lt;br /&gt;
The complete event is contained within a DIV element and assigned the&lt;br /&gt;
vevent class name. Individual aspects of the calendar entry are contained&lt;br /&gt;
within this DIV element. The start and end dates are marked by the dtstart&lt;br /&gt;
and dtend class names with the title attribute containing the full date.&lt;br /&gt;
The following illustrates a sample event for this previous article&lt;br /&gt;
(http://cgi.cnet.com.au/link/?id=21893).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;vevent&amp;quot; id=&amp;quot;hcalendar-Web-Development&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;a class=&amp;quot;url&amp;quot;&lt;br /&gt;
href=&amp;quot;http://blogs.techrepublic.com.com/programming-and-development/?p=541&amp;amp;tag=nl.e055&amp;quot;&lt;br /&gt;
mce_href=&amp;quot;http://blogs.techrepublic.com.com/programming-and-development/?p=541&amp;amp;tag=nl.e055&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;abbr class=&amp;quot;dtstart&amp;quot; title=&amp;quot;20071106&amp;quot;&amp;gt;November 6th&amp;lt;/abbr&amp;gt;,&lt;br /&gt;
 &amp;lt;abbr class=&amp;quot;dtend&amp;quot; title=&amp;quot;20071107&amp;quot;&amp;gt; 2007&amp;lt;/abbr&amp;gt;&lt;br /&gt;
 &amp;lt;span class=&amp;quot;summary&amp;quot;&amp;gt;Web Development&amp;lt;/span&amp;gt;&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;div class=&amp;quot;description&amp;quot;&amp;gt;Weekly Web Development column.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The hCalendar Creator is available for marking up your own calendar&lt;br /&gt;
entries. (Note: I could not get it to work in Internet Explorer 7, but it&lt;br /&gt;
worked fine in Firefox.) Like hCard data, you can easily present the data&lt;br /&gt;
on a Web page and style it with CSS â€” while the data is still available&lt;br /&gt;
in the hCalendar format for use by other applications.&lt;br /&gt;
&lt;br /&gt;
=Industry support=&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;m happy to say that the IT industry is finally starting to embrace&lt;br /&gt;
microformats. Yahoo! has been a big proponent of microformats from its&lt;br /&gt;
inception. In addition, the Eventful site uses them, as does the&lt;br /&gt;
photo-sharing site Flickr. Even Microsoft recognizes the technology, as&lt;br /&gt;
proven in this blog post about using microformats with SharePoint. The&lt;br /&gt;
Twitter site also embraces the hCard standard. Firefox offers the Operator&lt;br /&gt;
add-on to provide microformats support within the browser.&lt;br /&gt;
&lt;br /&gt;
There are various tools for working with microformats in numerous&lt;br /&gt;
development languages. A good example is Sumo, which offers a microformats&lt;br /&gt;
parser for the JavaScript language. A Perl module is available with the&lt;br /&gt;
Text::Microformat, which offers a microformat parser for Perl.&lt;br /&gt;
&lt;br /&gt;
=Adding context=&lt;br /&gt;
&lt;br /&gt;
A key concept of the microformats technology is that they are designed for&lt;br /&gt;
humans first and machines second. The sole purpose of microformats is to&lt;br /&gt;
create larger, more reliable webs of data, published by more people. The&lt;br /&gt;
microformats approach is the low-cost, efficient way to build a web of&lt;br /&gt;
data. Learn more about the various microformats currently available on&lt;br /&gt;
the microformats site as well as those covered in this article.&lt;br /&gt;
&lt;br /&gt;
[[Category:Articles]]&lt;br /&gt;
[[Category:Technet]]&lt;br /&gt;
[[Category:Whitepapers]]&lt;/div&gt;</summary>
		<author><name>PeterHarding</name></author>
	</entry>
</feed>