<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -5,40 +5,32 @@
 &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=iso-8859-1&quot;&gt;
 &lt;script src=&quot;lib/jquery.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
 &lt;script src=&quot;lib/jquery.microformats.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
-
 &lt;script type=&quot;text/javascript&quot;&gt;
 $(document).ready(function() {
 	$.microformats.parseLocal();
-	console.log($.microformats.hCards);
+	console.log($.microformats.hEvents);
 });
 
 &lt;/script&gt;
 &lt;/head&gt;
-
 &lt;body&gt;
-&lt;div class=&quot;vcard&quot;&gt;
-  &lt;a class=&quot;fn org url&quot; href=&quot;http://www.commerce.net/&quot;&gt;CommerceNet&lt;/a&gt;
-  &lt;div class=&quot;adr&quot;&gt;
-    &lt;span class=&quot;type&quot;&gt;Work&lt;/span&gt;:
+&lt;div class=&quot;vcard&quot;&gt; &lt;a class=&quot;fn org url&quot; href=&quot;http://www.commerce.net/&quot;&gt;CommerceNet&lt;/a&gt;
+  &lt;div class=&quot;adr&quot;&gt; &lt;span class=&quot;type&quot;&gt;Work&lt;/span&gt;:
     &lt;div class=&quot;street-address&quot;&gt;169 University Avenue&lt;/div&gt;
-    &lt;span class=&quot;locality&quot;&gt;Palo Alto&lt;/span&gt;,  
-    &lt;abbr class=&quot;region&quot; title=&quot;California&quot;&gt;CA&lt;/abbr&gt;  
-    &lt;span class=&quot;postal-code&quot;&gt;94301&lt;/span&gt;
+    &lt;span class=&quot;locality&quot;&gt;Palo Alto&lt;/span&gt;, &lt;abbr class=&quot;region&quot; title=&quot;California&quot;&gt;CA&lt;/abbr&gt; &lt;span class=&quot;postal-code&quot;&gt;94301&lt;/span&gt;
     &lt;div class=&quot;country-name&quot;&gt;USA&lt;/div&gt;
   &lt;/div&gt;
-  &lt;div class=&quot;geo&quot;&gt;
-  	&lt;span class=&quot;latitude&quot;&gt;0.3.4.8&lt;/span&gt; |
-    &lt;span class=&quot;longitude&quot;&gt;1.2.3.4&lt;/span&gt;
-  &lt;/div&gt;
-  &lt;div class=&quot;tel&quot;&gt;
-   &lt;span class=&quot;type&quot;&gt;Work&lt;/span&gt; +1-650-289-4040
-  &lt;/div&gt;
-  &lt;div class=&quot;tel&quot;&gt;
-    &lt;span class=&quot;type&quot;&gt;Fax&lt;/span&gt;&lt;abbr title=&quot;+1-650-289-4041&quot;&gt;+1-650-289-SOME&lt;/abbr&gt;
-  &lt;/div&gt;
-  &lt;div&gt;Email: 
-   &lt;span class=&quot;email&quot;&gt;info@commerce.net&lt;/span&gt;
-  &lt;/div&gt;
+  &lt;div class=&quot;geo&quot;&gt; &lt;span class=&quot;latitude&quot;&gt;0.3.4.8&lt;/span&gt; | &lt;span class=&quot;longitude&quot;&gt;1.2.3.4&lt;/span&gt; &lt;/div&gt;
+  &lt;div class=&quot;tel&quot;&gt; &lt;span class=&quot;type&quot;&gt;Work&lt;/span&gt; +1-650-289-4040 &lt;/div&gt;
+  &lt;div class=&quot;tel&quot;&gt; &lt;span class=&quot;type&quot;&gt;Fax&lt;/span&gt;&lt;abbr title=&quot;+1-650-289-4041&quot;&gt;+1-650-289-SOME&lt;/abbr&gt; &lt;/div&gt;
+  &lt;div&gt;Email: &lt;span class=&quot;email&quot;&gt;info@commerce.net&lt;/span&gt; &lt;/div&gt;
+&lt;/div&gt;
+
+
+&lt;div id=&quot;hcalendar-This-is-the-sumary&quot; class=&quot;vevent&quot;&gt;&lt;a href=&quot;http://www.google.com/&quot; class=&quot;url&quot;&gt;&lt;abbr title=&quot;2008-05-20T05:00-12:0000&quot; class=&quot;dtstart&quot;&gt;May 20, 2008  5am&lt;/abbr&gt; &#8211; &lt;abbr title=&quot;2008-05-20&quot; class=&quot;dtend&quot;&gt;&lt;/abbr&gt; &lt;span class=&quot;summary&quot;&gt;This is the sumary&lt;/span&gt; at &lt;span class=&quot;location&quot;&gt;Rustington&lt;/span&gt;&lt;/a&gt;
+  &lt;div class=&quot;description&quot;&gt;This is the description&lt;/div&gt;
+  &lt;div class=&quot;tags&quot;&gt;Tags: &lt;a href=&quot;http://eventful.com/events/tags/tag&quot; rel=&quot;tag&quot;&gt;tag&lt;/a&gt;&lt;a href=&quot;http://eventful.com/events/tags/la&quot; rel=&quot;tag&quot;&gt; la&lt;/a&gt;&lt;a href=&quot;http://eventful.com/events/tags/la&quot; rel=&quot;tag&quot;&gt; la&lt;/a&gt;&lt;/div&gt;
+  &lt;p&gt;This &lt;a href=&quot;http://microformats.org/wiki/hcalendar&quot;&gt;hCalendar event&lt;/a&gt; brought to you by the &lt;a href=&quot;http://microformats.org/code/hcalendar/creator&quot;&gt;hCalendar Creator&lt;/a&gt;.&lt;/p&gt;
 &lt;/div&gt;
 &lt;/body&gt;
 &lt;/html&gt;</diff>
      <filename>hcard.htm</filename>
    </modified>
    <modified>
      <diff>@@ -6,9 +6,9 @@ jQuery.fn.parseMicroformatAttribute = function() {
 	}
 };
 jQuery.microformats = { 
-	availableFormats: ['hCard', 'hCalendar', 'hReview', 'XFN'],
+	availableFormats: ['hCard', 'hEvent', 'hReview', 'XFN'],
 	hCards: [],
-	hCalendars: [],
+	hEvents: [],
 	hReviews: [],
 	XF: [],
 	lastRemote: false,
@@ -19,8 +19,6 @@ jQuery.microformats = {
 		XFN			: false	
 	},
 	hCard: function(target, settings){
-		//console.log(settings);
-		//console.log(target);
 		var foundHCards = [];
 		var standardAttributes = [
 				{name: 'fn', class: '.fn'},
@@ -54,11 +52,7 @@ jQuery.microformats = {
 					]
 				}
 			];
-		//console.log(target);
-		console.log(target);
-		console.log(typeof(target));
 		jQuery(target).find('.vcard').each(function() {
-			alert('anything');
 			var vCardObject = {};
 			var current = this;
 			jQuery.each(standardAttributes, function() {
@@ -107,8 +101,34 @@ jQuery.microformats = {
 		this.documentParsed.hCard = true;
 		return this.hCards;		
 	},
-	hCalendar : function(settings) {
-		
+	hEvent : function(target, settings) {
+		var foundHEvents = [];
+		var standardAttributes = [
+				{name: 'summary', class: '.summary'},
+				{name: 'location', class: '.location'},
+				{name: 'description', class: '.description'},
+				{name: 'dtstart', class: '.dtstart'},
+				{name: 'dtend', class: '.dtend'}
+			];
+		jQuery(target).find('.vevent').each(function() {
+			var vEventObject = {};
+			var tags = [];
+			var current = this;
+			jQuery.each(standardAttributes, function() {
+				vEventObject[this.name] = $(current).find(this.class).parseMicroformatAttribute();
+			});
+			vEventObject.url = $(this).find('a.url').attr('href');
+			jQuery(current).find(&quot;a[rel='tag']&quot;).each(function() {
+				tags.push(jQuery(this).text());
+			});
+			vEventObject.tags = tags;
+			if(settings.appendToLocal == true) {
+				jQuery.microformats.hEvents.push(vEventObject);
+			}
+			foundHEvents.push(vEventObject);
+		});	
+		this.documentParsed.hEvent = true;
+		return this.hEvents;
 	},
 	hReview : function(settings) {
 		</diff>
      <filename>lib/jquery.microformats.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>05f7adc918b641095bbe32ecbe26066d0cc13f52</id>
    </parent>
  </parents>
  <author>
    <name>stuartloxton</name>
    <email>stuart.loxton@googlemail.com</email>
  </author>
  <url>http://github.com/stuartloxton/jquery-microformats/commit/b1980a9c5e28cdda30fc736a43eae5cc4d54099a</url>
  <id>b1980a9c5e28cdda30fc736a43eae5cc4d54099a</id>
  <committed-date>2008-05-20T14:49:58-07:00</committed-date>
  <authored-date>2008-05-20T14:49:58-07:00</authored-date>
  <message>Added example hCalendar to hcard.html + implemented basic hEvent parser</message>
  <tree>636b7f45093ab4e06ed76e110e1d66a9100aa15a</tree>
  <committer>
    <name>stuartloxton</name>
    <email>stuart.loxton@googlemail.com</email>
  </committer>
</commit>
