Reply
Thread Tools
Posts: 25 | Thanked: 1 time | Joined on Feb 2006
#1
Ok... So ive been hacking away at this 770 since i bought it a few weeks ago, and I've got it to dance, sing, and grab me a beer (Ok... not really). But after all that i now want to add Vcard support to the 770. Ive been trying to dump my contacts from Kontact to the 770, but Kontact's CVS list isnt recognized... Now after playing around, I have found a few ways that *might* help accomplish one of two things.
1: Add vcard support to the build in mail client or
2: Add support for CVS files from other apps.

If I cd into "/etc/osso/email" i see two files... config.xml (Which looks like all the settings for outlook, eudora, etc...) and vcard.xml
It seems like the easiest way would be to add Kontact to the config list... But any idea where to start this?

-Zach

EDIT:

Solved this... Best way seems to be to add Kontact into the config file... Almost done... just a few kinks now... Ill put the xml up as soon as I get it ironed out.

Last edited by Solace; 2006-02-06 at 05:10.
 
Posts: 25 | Thanked: 1 time | Joined on Feb 2006
#2
Wow...That was faster than i Expected...

So here we go... Just save this as config.xml into your /etc/osso/email/ folder and you now have the ability to both import CSV from Kontact and output To Kontact.
<Applications>
<Application Name="Netscape Messenger">
<Version ver="7.0.2">
<Header>No</Header>
<SEPARATOR>,</SEPARATOR>
<Field_Index>1,2,26,24,5,-1,6,-1,12+13+14+15+16+17,18+19+20+21+22+23,36,-1</Field_Index>
<No_Fields>36</No_Fields>
<HEADERS>"First Name","Last Name","Display Name","Nick Name","Primary Email","Secondary Email","Work Phone","Home Phone","Fax Number","Pager Number","Cellular Number","Home Address","Home Address 2","Home City","Home State","Home Zip Code","Home Country","Work Address","Work Address 2","Work City","Work State","Work Zip Code","Work Country","Job Title","Department","Company","Web Page 1","Web Page 2","Birth Year","Birth Month","Birth Day","Custom 1","Custom 2","Custom 3","Custom 4","Notes"</HEADERS>
</Version>
<Version ver="6.2.2">
<Header>No</Header>
<SEPARATOR>,</SEPARATOR>
<Field_Index>1,2,26,-1,5,-1,6,24,12+13+14+15+16+17,18+19+20+21+22+23,36,-1</Field_Index>
<No_Fields>36</No_Fields>
<HEADERS>"First Name","Last Name","Display Name","Nick Name","Primary Email","Secondary Email","Work Phone","Home Phone","Fax Number","Pager Number","Cellular Number","Home Address","Home Address 2","Home City","Home State","Home Zip Code","Home Country","Work Address","Work Address 2","Work City","Work State","Work Zip Code","Work Country","Job Title","Department","Company","Webpage 1","Web Page 2","Birth Year","Birth Month","Birth Day","Custom 1","Custom 2","Custom 3","Custom 4","Notes"</HEADERS>
</Version>
<Version ver="4.7.4">
<Header>No</Header>
<SEPARATOR>,</SEPARATOR>
<No_Fields>19</No_Fields>
<Field_Index>1,2,6,5,3,-1,-1,10,16,15,8,-1</Field_Index>
<HEADERS>"First Name","Last Name","Email","Nick Name","Title","Company","Department","Notes","Pref ers html mail","Address","City","State","Zip","Country","Wo rk Phone","Home Phone","Fax","Pager","Cell Phone"</HEADERS>
</Version>
</Application>
<Application Name="Microsoft Outlook Express">
<Version ver="6">
<Header>Yes</Header>
<SEPARATOR>,</SEPARATOR>
<No_Fields>29</No_Fields>
<Field_Index>1,2,25,26,6,-1,-1,-1,7+8+9+10+11,16+17+18+19+20,29,-1</Field_Index>
<HEADERS>"First Name","Last Name","Middle Name","Name","Nickname","E-mail Address","Home Street","Home City","Home Postal Code","Home State","Home Country","Home Phone","Home Fax","Mobile Phone","Personal Web Page","Business Street","Business City","Business Postal Code","Business State","Business Country","Business Web Page","Business Phone","Business Fax","Pager","Company","Job Title","Department","Office Location","Notes"</HEADERS>
</Version>
</Application>
<Application Name="Microsoft Outlook">
<Version ver="2002">
<Header>Yes</Header>
<SEPARATOR>,</SEPARATOR>
<Field_Index>2,4,6,8,58,61,64,26,16+17+18+19+20+21 +22,9+10+11+12+13+14+15,78,-1</Field_Index>
<No_Fields>91</No_Fields>
<HEADERS>"Title","First Name","Middle Name","Last Name","Suffix","Company","Department","Job Title","Business Street","Business Street 2","Business Street 3","Business City","Business State","Business Postal Code","Business Country","Home Street","Home Street 2","Home Street 3","Home City","Home State","Home Postal Code","Home Country","Other Street","Other Street 2","Other Street 3","Other City","Other State","Other Postal Code","Other Country","Assistant's Phone","Business Fax","Business Phone","Business Phone 2","Callback","Car Phone","Company Main Phone","Home Fax","Home Phone","Home Phone 2","ISDN","Mobile Phone","Other Fax","Other Phone","Pager","Primary Phone","Radio Phone","TTY/TDD Phone","Telex","Account","Anniversary","Assistant' s Name","Billing Information","Birthday","Business Address PO Box","Categories","Children","Directory Server","E-mail Address","E-mail Type","E-mail Display Name","E-mail 2 Address","E-mail 2 Type","E-mail 2 Display Name","E-mail 3 Address","E-mail 3 Type","E-mail 3 Display Name","Gender","Government ID Number","Hobby","Home Address PO Box","Initials","Internet Free Busy","Keywords","Language","Location","Manager's Name","Mileage","Notes","Office Location","Organizational ID Number","Other Address PO Box","Priority","Private","Profession","Referred By","Sensitivity","Spouse","User 1","User 2","User 3","User 4","Web Page"</HEADERS>
</Version>
<Version ver="2000">
<Header>Yes</Header>
<SEPARATOR>,</SEPARATOR>
<Field_Index>2,4,6,8,58,61,64,-1,16+17+18+19+20+21+22,9+10+11+12+13+14+15,78,-1</Field_Index>
<No_Fields>91</No_Fields>
<HEADERS>"Title","First Name","Middle Name","Last Name","Suffix","Company","Department","Job Title","Business Street","Business Street2","Business Street3","Business City","Business State","Business Postal Code","Business Country","Home Street","Home Street2","Home Street3","Home City","Home State","Home Postal Code","Home Country","Other Street","Other Street2","Other Street3","Other city","Other State","Other Postal Code","Other Country","Other Country1","Assistant's Phone","Business Fax","Business Phone","Business Phone 2","Callback","Company Main Phone","Home Fax","Home Phone","Home Phone 2","ISDN","Mobile Phone","Other Fax","Other Phone","Pager","Primary Phone","Radio Phone","TTY/TDD Phone","Telex","Account","Anniversary","Assistant' s Name","Billing Information","Birthday","Business Address PO Box","Categories","Children","Directory Server","E-mail Address","E-mail Type","E-mail Display Name","E-mail 2 Address","E-mail 2 Type","E-mail 2 Display Name","E-mail 3 Address","E-mail 3 Type","E-mail 3 Display Name","Gender","Government ID Number","Hobby","Home Address PO Box","Initials","Internet Free Busy","Keywords","Language","Location","Manager's Name","Mileage","Notes","Office Location","Organizational ID Number","Other Address PO Box","Priority","Private","Profession","Referred By","Sensitivity","Spouse","User 1","User 2","User 3","User 4","Web Page"</HEADERS>
</Version>
</Application>


<Application Name="Eudora Pro">
<Version ver="6.1.2">
<Header>Yes</Header>
<SEPARATOR>,</SEPARATOR>
<No_Fields>29</No_Fields>
<Field_Index>4,5,15,16,2,26,-1,-1,6+7+8+9+10+11+12+13+14,17+18+19+20+21+22+23+24,2 9, -1</Field_Index>
<HEADERS>"Personal Nick Name","Personal Email Address","Personal Full Name","Personal First Name","Personal Last Name","Home Street Address","Home City","Home State/Province","Home Country","Home Zip/Postal Code","Home Phone","Home Fax","Home Mobile","Home Web ","Work Organization","Work Title","Work Street Address","Work City","Work State/Province","Work Country","Work Zip/Postal Code","Work Phone","Work Fax","Work Mobile","Work Web","Other Email","Other Phone","Other Web Pages","Notes"</HEADERS>
</Version>
</Application>
<Application Name="Kontact">
<Version ver="3.4.2">
<Header>Yes</Header>
<SEPARATOR>,</SEPARATOR>
<No_Fields>44</No_Fields>
<Field_Index>3,2,33,31,29,23,-1,-1,9+10+11+12+35,44, -1</Field_Index>
<HEADERS>"Formatted Name","Family Name","Given Name","Additional Names","Honorific Prefixes","Honorific Suffixes","Nick Name","Birthday","Home Address Street","Home Address City","Home Address State","Home Address Zip Code","Home Address Country","Home Address Label","Business Address Street","Business Address City","Business Address State","Business Address Zip Code","Business Address Country","Business Address Label","Home Phone","Business Phone","Mobile Phone","Home Fax","Business Fax","Car Phone","ISDN","Pager","Email Address","Mail Client","Title","Role","Organization","Note","Home page","Department","Profession","Assistant's Name","Manager's Name","Spouse's Name","Office","IM Address","Anniversary","Blog"</HEADERS>
</Version>
</Application>
</Applications>

The last part there is the actual portion for Kontact (obviously). To modify it for another type of CSV list, You will have to change the "HEADERS" and the Field index to correspond with what you want to Import... Hope this helped a few of you out :-/
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 18:16.