Author Topic: Gmail contacts or PhoneBook  (Read 6662 times)

0 Members and 1 Guest are viewing this topic.

mparks

  • $upporter
  • Contributor
  • *****
  • Posts: 93
  • Karma: 0
    • View Profile
Gmail contacts or PhoneBook
« on: May 08, 2012, 02:52:26 PM »
Is there a way to interact with google contacts, kind of like how the Google Calendar plugin works. I would like to be able to pull contact information out of google contacts, it does not need to be bidirectional, I can add contact info manually. Currently I have exported my contact's name and numbers to xml and created a payload for vox, this is working perfectly  :D.

My goal now is to find a more centralized way to interact with my contacts. It does not have to be gmail contacts it could be any contact database or CSV. I find google contacts interface easy to use but it could be any other phonebook.

The point of this is to be able to have all my contacts in one place so that I can ask Vox for John's address or birthday or pass John's phone number to my VoIP phone. I already having the last part of that working. Vox currently pulls John's mobile or business number from the xml and passes it to the VoIP phone just fine. But this means I will need to maintain two sets of contact list, one for vox and the other in CSV or google contacts which holds all the rest of John's information.

Any ideas?

PS: Thanks guys for helping me with dialing my contacts it's working perfect, loving it.  ;)

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Gmail contacts or PhoneBook
« Reply #1 on: May 08, 2012, 05:15:16 PM »
I'm sure that sounded better in your head too.  It seems to be like you are saying two different things.

Quote
I would like to be able to pull contact information out of google contacts

Quote
Currently I have exported my contact's name and numbers to xml and created a payload for vox

It sounds like you are asking if you can do something and then saying that you did it.  ???  Maybe I am too literal but at the end of the day I don't really know what you are asking for.

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Gmail contacts or PhoneBook
« Reply #2 on: May 08, 2012, 05:15:57 PM »
do you mean you exported from another program, like Bria?

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Gmail contacts or PhoneBook
« Reply #3 on: May 08, 2012, 05:17:49 PM »
it's easy to export contact info from google...

Kalle

  • $upporter
  • Hero Member
  • *****
  • Posts: 2320
  • Karma: 47
    • View Profile
Re: Gmail contacts or PhoneBook
« Reply #4 on: May 08, 2012, 05:24:53 PM »
it's easy to export contact info from google...
Yes, I think he mean google is the database for all (contacts, phone number, birthdays ...) and VC can pick all this data with a big plugin.

Kalle
***********  get excited and make things  **********

mparks

  • $upporter
  • Contributor
  • *****
  • Posts: 93
  • Karma: 0
    • View Profile
Re: Gmail contacts or PhoneBook
« Reply #5 on: May 08, 2012, 07:39:29 PM »
Oh, I see where the confusion is, sorry about that.

let me try and clear this up...

Firstly, yes I can export my contact's name and number to an xml file and use that as a payload for voc...

but I don't want to generate a new xml file every time I modify/add/remove a contact. I would like to be able to have voc get the info directly from gmail contact, that way I have one central place my add or modify contact info.

I would like to do it this way is because I want to also get other useful information out of gmail contacts, such as birthdays and address

Does that make a little bit more sense

mparks

  • $upporter
  • Contributor
  • *****
  • Posts: 93
  • Karma: 0
    • View Profile
Re: Gmail contacts or PhoneBook
« Reply #6 on: May 08, 2012, 07:53:52 PM »
If there is no way to do this, I can live with that but can you suggest a cleaner way for me to organize my xml file. I have about 200 contacts.

<?xml version="1.0" encoding="utf-8"?>
<!--A VoxCommando Payload file-->
<PayloadsRoot>
    <payload>
        <value>*123</value>
        <phrase>mail box, messages, voice mail</phrase>
    </payload>
    <payload>
        <value>8005551234</value>
        <phrase>Anthony's cell, Anthony's mobile</phrase>
    </payload>
    <payload>
        <value>8005551235</value>
        <phrase>Anthony's business line</phrase>
    </payload>
    <payload>
        <value>8005551255</value>
        <phrase>Anthony's home number</phrase>
    </payload>
    <payload>
        <value>555 Notmystreet Av West</value>
        <phrase>Anthony's street address</phrase>
    </payload>
    <payload>
        <value>Toronto</value>
        <phrase>Anthony's city</phrase>
    </payload>
    <payload>
        <value>Ontario</value>
        <phrase>Anthony's Province</phrase>
    </payload>
    <payload>
        <value>Canada</value>
        <phrase>Anthony's Country</phrase>
    </payload>
    <payload>
        <value>T5H1N7</value>
        <phrase>Anthony's Postal Code</phrase>
    </payload>
</PayloadsRoot>

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Gmail contacts or PhoneBook
« Reply #7 on: May 08, 2012, 07:59:53 PM »
Oh, I see where the confusion is, sorry about that.

let me try and clear this up...

Firstly, yes I can export my contact's name and number to an xml file and use that as a payload for voc...

but I don't want to generate a new xml file every time I modify/add/remove a contact. I would like to be able to have voc get the info directly from gmail contact, that way I have one central place my add or modify contact info.

I would like to do it this way is because I want to also get other useful information out of gmail contacts, such as birthdays and address

Does that make a little bit more sense

I'm not sure exactly what would be involved or if it is possible but it would require me to write a special plugin.

mparks

  • $upporter
  • Contributor
  • *****
  • Posts: 93
  • Karma: 0
    • View Profile
Re: Gmail contacts or PhoneBook
« Reply #8 on: May 08, 2012, 08:03:27 PM »
Ok, not a problem, maybe far down the road then.
For now, do you have any ideas of how to stream line my xml?

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Gmail contacts or PhoneBook
« Reply #9 on: May 08, 2012, 08:29:45 PM »
not really, except to suggest that maybe you are trying to do too much with it.  There is nothing wrong with your xml per se, but what are you going to do with it?  Your action would need to be able to figure out what to do with the result, and right now I don't think there is an obvious way for it to know what kind of data will be returned.  Maybe it would be better to have separate files; one for phone numbers, one for email, etc.

mparks

  • $upporter
  • Contributor
  • *****
  • Posts: 93
  • Karma: 0
    • View Profile
Re: Gmail contacts or PhoneBook
« Reply #10 on: May 08, 2012, 09:25:58 PM »
I spend a lot of time on the phone, ordering parts and other things. Using vox is a god send. I can now place a call to my suppliers by name, call my clients, even put the call on hold with my voice while still in the call. I can do all this while walking around the house or from my couch........

Off topic: sorry for posting this here....
How do I add a space between two payloads. {1}{2}   I am sending a request https://duckduckgo.com/?q={1}{2}
I have two payloads but I need to add a space between them for it to work how I want it to

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Gmail contacts or PhoneBook
« Reply #11 on: May 08, 2012, 09:33:53 PM »
you should just be able to put a space between them literally.  like this:

{1} {2}

sorry if I'm not understanding, but maybe you can provide more info if that's the case.

mparks

  • $upporter
  • Contributor
  • *****
  • Posts: 93
  • Karma: 0
    • View Profile
Re: Gmail contacts or PhoneBook
« Reply #12 on: May 08, 2012, 09:47:20 PM »
lol  :bonk
That was too funny, how easy was that. :biglaugh

I am using DuckDuckGo !bang commands to search anything and everything. I have an xml of the !bangs which loads into my first payload then I use payloadDictation to send my search quarry
https://duckduckgo.com/bang.html

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Gmail contacts or PhoneBook
« Reply #13 on: May 08, 2012, 10:25:02 PM »
Hey that looks pretty cool. 8)  If you don't mind could you start a group topic under tips n tricks or xml exchange and upload your groups/payloadXml files when you are done?  I'm sure there are others that would find that useful.
« Last Edit: May 09, 2012, 09:12:58 AM by jitterjames »

mparks

  • $upporter
  • Contributor
  • *****
  • Posts: 93
  • Karma: 0
    • View Profile
Re: Gmail contacts or PhoneBook
« Reply #14 on: May 08, 2012, 10:30:11 PM »
not a problem, glad to.