<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://microformats.org/wiki/index.php?action=history&amp;feed=atom&amp;title=hkit-issues</id>
	<title>hkit-issues - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://microformats.org/wiki/index.php?action=history&amp;feed=atom&amp;title=hkit-issues"/>
	<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=hkit-issues&amp;action=history"/>
	<updated>2026-04-15T03:15:20Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.38.4</generator>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=hkit-issues&amp;diff=39991&amp;oldid=prev</id>
		<title>Beaulebens: create page, add 2 new issues.</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=hkit-issues&amp;diff=39991&amp;oldid=prev"/>
		<updated>2009-07-27T00:39:56Z</updated>

		<summary type="html">&lt;p&gt;create page, add 2 new issues.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== hKit Issues ==&lt;br /&gt;
* [http://getsatisfaction.com/satisfaction/topics/hcard_profile_import_is_erratic hCard profile import is erratic]&lt;br /&gt;
* If your hCard contains multiple emails or phone numbers, it will drop all of them from the output (e.g. you will have no emails/phone numbers in your output)&lt;br /&gt;
* The scheme-detection in $hKit::resolvePath() cause non-http URIs to be resolved as absolute paths. That can be fixed by replacing that method with this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
		private function resolvePath($filepath)&lt;br /&gt;
		{	// ugly code ahoy: needs a serious tidy up&lt;br /&gt;
					&lt;br /&gt;
			$filepath	= $filepath[0];&lt;br /&gt;
			&lt;br /&gt;
			$bits = parse_url( $filepath );&lt;br /&gt;
			if ( !empty( $bits['scheme'] ) ) {&lt;br /&gt;
				return $filepath;&lt;br /&gt;
			}&lt;br /&gt;
			&lt;br /&gt;
			$base 	= $this-&amp;gt;base;&lt;br /&gt;
			$url	= $this-&amp;gt;url;&lt;br /&gt;
			&lt;br /&gt;
			$bits = parse_url( $base );&lt;br /&gt;
			if ( !empty( $bits['scheme'] ) )&lt;br /&gt;
				$url = $base;&lt;br /&gt;
			&lt;br /&gt;
			$r		= parse_url($url);&lt;br /&gt;
			$domain	= $r['scheme'] . '://' . $r['host'];&lt;br /&gt;
&lt;br /&gt;
			if (!isset($r['path'])) $r['path'] = '/';&lt;br /&gt;
			$path	= explode('/', $r['path']);&lt;br /&gt;
			$file	= explode('/', $filepath);&lt;br /&gt;
			$new	= array('');&lt;br /&gt;
&lt;br /&gt;
			if ($file[0] == ''){&lt;br /&gt;
				// absolute path&lt;br /&gt;
				return ''.$domain . implode('/', $file);&lt;br /&gt;
			}else{&lt;br /&gt;
				// relative path&lt;br /&gt;
				if ($path[sizeof($path)-1] == '') array_pop($path);&lt;br /&gt;
				if (strpos($path[sizeof($path)-1], '.') !== false) array_pop($path);&lt;br /&gt;
&lt;br /&gt;
				foreach ($file as $segment){&lt;br /&gt;
					if ($segment == '..'){&lt;br /&gt;
						array_pop($path);&lt;br /&gt;
					}else{&lt;br /&gt;
						$new[]	= $segment;&lt;br /&gt;
					}&lt;br /&gt;
				}&lt;br /&gt;
				return ''.$domain . implode('/', $path) . implode('/', $new);&lt;br /&gt;
			}	&lt;br /&gt;
		}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Beaulebens</name></author>
	</entry>
</feed>