Re: Announcing bbdb3-csv-import

2014-04-25 Thread Ian Kelling
i...@iankelling.org writes:

> It adds duplicates right now, but I will change that today to be
> conditioned on bbdb-allow-duplicates. 

Now done and documented:

;; Back up bbdb by copying `bbdb-file' in case things go wrong.

;; Duplicate contacts (according to email address) are skipped if
;; bbdb-allow-duplicates is nil (default). Any duplicates found are echoed at
;; the end of the import.


--
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: Announcing bbdb3-csv-import

2014-04-25 Thread ian
> Any plans to turn this into a full-blown sync?

Perhaps eventually an export facility which could be tied in with
external tools to do sync. ASynK looks promising for syncing
bbdb/google/outlook, I've been planning to try it.

bbdb-csv-import can compliment a sync program in the case where
you start with programX data, and it doesn't have quite
compatible fields to sync with bbdb, but you could make them
compatible enough by initially transforming the data.

For example, programX has fields name, first-name, middle-name,
last-name, while bbdb has name & custom fields. You would like to
move all programX's first/middle/last into just name so it can
simply sync with bbdb's name field, but your sync program is not
that clever. Easy solution: import with bbdb-csv-import which
which will smartly (and configurably) makes bbdb's name be "first
middle last" from programX's csv export. Then set your sync
program to prefer bbdb in conflicts (or just delete programX's
data) and then happily sync.

> What would happen if you import the same csv file twice?
> What if the file is slightly modified?

It adds duplicates right now, but I will change that today to be
conditioned on bbdb-allow-duplicates. As my documentation
says: "back up existing data in ~/.bbdb and ~/.emacs.d/bbdb in
case you don't like the newly imported data." This was a lower
priority feature that I forgot about since there are backups and
bbdb's duplication deletion functionality.

- Ian

--
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: Announcing bbdb3-csv-import

2014-04-25 Thread Sam Steingold
> * Ian Kelling  [2014-04-15 14:39:17 -0700]:
>
> This will mostly be useful for new users who will find this via a
> search engine.

Any plans to turn this into a full-blown sync?
What would happen if you import the same csv file twice?
What if the file is slightly modified?

-- 
Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1265
http://www.childpsy.net/ http://camera.org http://think-israel.org
http://jihadwatch.org http://thereligionofpeace.com
A man paints with his brains and not with his hands.


--
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: Announcing bbdb3-csv-import

2014-04-22 Thread Igor Sosa Mayor
Ian Kelling  writes:

> I ditched the 3 in the package name.
> The package is now in Melpa, and at
> https://gitlab.com/iankelling/bbdb-csv-import
>
> I've updated a lot of things. Biggest change is support for Gmail and
> outlook/hotmail, and a catch all default.

thnaks!


--
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: Announcing bbdb3-csv-import

2014-04-21 Thread Ian Kelling

I ditched the 3 in the package name.
The package is now in Melpa, and at
https://gitlab.com/iankelling/bbdb-csv-import

I've updated a lot of things. Biggest change is support for Gmail and
outlook/hotmail, and a catch all default.


--
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: Announcing bbdb3-csv-import

2014-04-21 Thread Eric S Fraga
On Tuesday, 15 Apr 2014 at 14:39, Ian Kelling wrote:
> Simple import of csv data into bbdb version 3.
>
> https://gitlab.com/iankelling/bbdb3-csv-import

Just a minor correction: it would appear that the URL should actually be

  https://gitlab.com/iankelling/bbdb-csv-import

(no "3")

I look forward to trying this out, especially for importing
gmail and linkedin contacts.

Thanks,
eric

-- 
: Eric S Fraga, GnuPG: 0xFFFCF67D
: in Emacs 24.4.50.2 + Ma Gnus v0.10 + evil evil-git-d4ffce0
: BBDB version 3.1.1 (2014-04-12 21:49:18 -0500)

--
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: Announcing bbdb3-csv-import

2014-04-16 Thread Ian Kelling
Gijs Hillenius  writes:

>
> Would you be interested to investigate importing LinkedIn data?

Ahh great idea. I've added and tested Linkedin data.

I've also realized I can get gmail and outlook.com data, and I will be
adding those today.

>
> Although there is/was a 2008 ch6-bbdb-import-csv-buffer.el from Sacha
> Chua
>
> http://sachachua.com/blog/2008/04/wicked-cool-emacs-bbdb-import-csv-and-vcard-files/

Yes, I looked at this initially and this code does a lot of wrapping of
lookout.el functions and thus inherits its problems.

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: Announcing bbdb3-csv-import

2014-04-15 Thread Gijs Hillenius
On 15 Apr 2014, Ian Kelling wrote:

> Simple import of csv data into bbdb version 3.
>
> https://gitlab.com/iankelling/bbdb3-csv-import
>
> It has csv field mapping only for Thunderbird data right now, but I
> expect that to change. It is designed to be trivial to add mapping
> given some sample data, and if anyone creates new data mapping, please
> send it to me. Or send me sample data and I will add a mapping.
>
> This will mostly be useful for new users who will find this via a
> search engine.

Would you be interested to investigate importing LinkedIn data?

Although there is/was a 2008 ch6-bbdb-import-csv-buffer.el from Sacha
Chua

http://sachachua.com/blog/2008/04/wicked-cool-emacs-bbdb-import-csv-and-vcard-files/


-- 
BOFH excuse #99:

SIMM crosstalk.


--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Announcing bbdb3-csv-import

2014-04-15 Thread Ian Kelling
Simple import of csv data into bbdb version 3.

https://gitlab.com/iankelling/bbdb3-csv-import

It has csv field mapping only for Thunderbird data right now, but I
expect that to change. It is designed to be trivial to add mapping given
some sample data, and if anyone creates new data mapping, please send it
to me. Or send me sample data and I will add a mapping.

This will mostly be useful for new users who will find this via a
search engine.

I initially found lookout.el, but it had numerous bugs and I decided it
would be easier to start over and target bbdb 3.


- Ian Kelling

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/