<?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>Paroli &#8211; FU-BAR</title>
	<atom:link href="/tag/paroli/feed/" rel="self" type="application/rss+xml" />
	<link>/</link>
	<description>Fucked Up Beyond All Recognition</description>
	<lastBuildDate>Sun, 12 Dec 2010 00:08:02 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>/wp-content/uploads/2020/07/cropped-eu-header-20200715-2-32x32.png</url>
	<title>Paroli &#8211; FU-BAR</title>
	<link>/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Import VCF contacts into Paroli</title>
		<link>/2009/06/11/import-vcf-contacts-into-paroli/</link>
					<comments>/2009/06/11/import-vcf-contacts-into-paroli/#comments</comments>
		
		<dc:creator><![CDATA[Rui Seabra]]></dc:creator>
		<pubDate>Thu, 11 Jun 2009 18:40:45 +0000</pubDate>
				<category><![CDATA[Free Software]]></category>
		<category><![CDATA[OpenMoko]]></category>
		<category><![CDATA[Paroli]]></category>
		<guid isPermaLink="false">/?p=511</guid>

					<description><![CDATA[Om2009&#8217;s telephony application is Paroli, and it uses it&#8217;s own contacts database. Ingvaldur Sigurjonsson made a script to import VCF contacts but it wouldn&#8217;t work on most of my contacts, which were imported via Bluetooth about two years ago. Since some had CRLF and others had LF as line terminators (ok, some VCF contacts were &#8230; <p class="link-more"><a href="/2009/06/11/import-vcf-contacts-into-paroli/" class="more-link">Continue reading<span class="screen-reader-text"> "Import VCF contacts into Paroli"</span></a></p>]]></description>
										<content:encoded><![CDATA[<p>Om2009&#8217;s telephony application is Paroli, and it uses it&#8217;s own contacts database. <a href="http://www.mail-archive.com/support@lists.openmoko.org/msg04770.html">Ingvaldur Sigurjonsson made a script to import VCF contacts</a> but it wouldn&#8217;t work on most of my contacts, which were imported via Bluetooth about two years ago.</p>
<p>Since some had CRLF and others had LF as line terminators (ok, some VCF contacts were hand-made, as it&#8217;s a very nice contacts backup format which you can grep, etc&#8230;), I hacked the script to handle both cases, but mostly, to handle the case when the phone_info list had only one element, which the script wouldn&#8217;t take in account resuling in about 150 contacts lost from 270.</p>
<p>It also doesn&#8217;t take in account <strong>PREF</strong>erred phone numbers, so I removed then with the following command:</p>
<pre>sed -i -e 's,;PREF,,' *.vcf</pre>
<p>As it is likely helpful to others, here it is under a title which will surely be picked up by search engines for this issue: <a href="http://files.1407.org/openmoko/contacts/vcf2paroli">vcf2paroli</a></p>
<p>Do you enjoy the results?</p>
<figure id="attachment_512" aria-describedby="caption-attachment-512" style="width: 274px" class="wp-caption aligncenter"><a href="/wp-content/uploads/2009/06/screenshot-1.png"><img class="size-full wp-image-512" title="Successfully imported 270 contacts!" src="/wp-content/uploads/2009/06/screenshot-1.png" alt="Successfully imported 270 contacts!" width="274" height="366" /></a><figcaption id="caption-attachment-512" class="wp-caption-text">Successfully imported 270 contacts!</figcaption></figure>
<p>There two things I didn&#8217;t like:</p>
<ol>
<li>it imported multiple times the same contact if it has more than one phone number</li>
<li>clicking on the die produced the expected result but with a bug: some buttons are hidden (so I registered <a href="http://www.paroli-project.org/trac/ticket/180">bug #180</a>)</li>
</ol>
<figure id="attachment_513" aria-describedby="caption-attachment-513" style="width: 274px" class="wp-caption aligncenter"><a href="/wp-content/uploads/2009/06/screenshot-2.png"><img loading="lazy" class="size-full wp-image-513" title="Oops! They don't fit at all! #180" src="/wp-content/uploads/2009/06/screenshot-2.png" alt="Oops! They don't fit at all! #180" width="274" height="366" /></a><figcaption id="caption-attachment-513" class="wp-caption-text">Oops! They don&#39;t fit at all! #180</figcaption></figure>
]]></content:encoded>
					
					<wfw:commentRss>/2009/06/11/import-vcf-contacts-into-paroli/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
			</item>
	</channel>
</rss>
