<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>The Open Sourcerer &#187; vcard</title>
	<atom:link href="http://www.theopensourcerer.com/tag/vcard/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.theopensourcerer.com</link>
	<description>The Magic of Open Source</description>
	<lastBuildDate>Tue, 24 Jan 2012 09:10:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
		<item>
		<title>S685IP and the VCard format</title>
		<link>http://www.theopensourcerer.com/2008/04/30/s685ip-and-the-vcard-format/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=s685ip-and-the-vcard-format</link>
		<comments>http://www.theopensourcerer.com/2008/04/30/s685ip-and-the-vcard-format/#comments</comments>
		<pubDate>Wed, 30 Apr 2008 11:09:51 +0000</pubDate>
		<dc:creator>Alan Lord</dc:creator>
				<category><![CDATA[Runes and tales]]></category>
		<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[S685]]></category>
		<category><![CDATA[vcard]]></category>
		<category><![CDATA[VOIP]]></category>

		<guid isPermaLink="false">http://www.theopensourcerer.com/?p=257</guid>
		<description><![CDATA[Last night my wife harangued me about not having her phone directory installed on our new handsets so she can see who is calling. She sent me a spreadsheet with all the contacts and their respective numbers. The manual for the S685IP is a little unintuitive regarding the formatting and options for the vcard format [...]]]></description>
			<content:encoded><![CDATA[<p>Last night my wife harangued me about not having her phone directory installed on our <a title="Review of Siemens Gigaset S685IP" href="http://www.theopensourcerer.com/2008/04/27/siemens-gigaset-685ip-phones/">new handsets</a> so she can see who is calling.</p>
<p>She sent me a spreadsheet with all the contacts and their respective numbers. The manual for the S685IP is a little unintuitive regarding the formatting and options for the vcard format so I started doing some digging about.</p>
<p>Firstly, I created a dummy entry in my handset using all the fields I could find. Then I turned on Bluetooth and transferred it to my laptop so I could see what it looked like. The Bluetooth link worked great. I could have got the vcard from the handset via the web interface, but I just wanted to test the Bluetooth functionality. Here it is:</p>
<p><code>BEGIN:VCARD<br />
VERSION:2.1<br />
N:Lord;Alan<br />
TEL;HOME:XXXX79XXXX<br />
TEL;WORK:XXXX27XXXX<br />
TEL;CELL:XXXX457XXXX<br />
EMAIL:test@testingcentre.com<br />
BDAY:1900-11-01T00:00<br />
END:VCARD</code></p>
<p>I didn&#8217;t find a perfect csv to vcard converter for this structure, although this <a title="CSV2VCARD" href="http://homepage.mac.com/phrogz/CSV2vCard_v2.html" target="_blank">online one</a> worked pretty well and only needed a bit of local massaging to import correctly. I also tried a rather old but still useful ruby project from <a title="CSV2VCARD" href="http://csv2vcard.sourceforge.net/" target="_blank">sourceforge here</a>, that also worked but left out the vital <code>VERSION:X.X</code> line altogether.</p>
<p>Anyway, as you should be able to see from above, the name field <code>N:</code> takes two parameters separated by a semicolon and does not use the discreet <code>FN:</code> and <code>LN:</code> format. <em>Note that it is last name first.</em></p>
<p>The rest should be obvious. If you don&#8217;t have data for a field, leave the entire field out. I didn&#8217;t try sending a blank field to the handset, but leaving the fields out entirely worked just fine.</p>
<p>The only other &#8220;gotcha&#8221; is that the file containing your vcard data needs to be DOS formatted and not Unix formatted: <code>CR+LF</code> vs <code>LF</code>. If you are on Windows then you won&#8217;t have a problem but Linux users will need to use the <a title="tofrodos" href="http://www.thefreecountry.com/tofrodos/" target="_blank">tofrodos</a> package (Ubuntu users just do <code>sudo apt-get install tofrodos</code>) and run the file through the <code>unix2dos</code> command before sending it to the handset. If you don&#8217;t, the transfer fails.</p>
<p>Once you have the format right, using the Web interface on the base station to upload the directory seemed to work absolutely fine. I was able to send a directory containing 70 entries to each handset. It isn&#8217;t blisteringly fast (I guess it took about 2 minutes/handset), but it&#8217;s a whole lot quicker than typing the entries in by hand!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theopensourcerer.com/2008/04/30/s685ip-and-the-vcard-format/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

