The answer is that the parent element had the gd reference so i guess the child didn't need it.
Anyway, I've got a working copy of the code up here: http://code.google.com/p/bc-gdata-contacts/ Would appreciate comments! I haven't implemented all of the contact api extensions yet... just the ones that I would use. Brian On Wed, Feb 2, 2011 at 1:15 PM, till <[email protected]> wrote: > On Tue, Feb 1, 2011 at 10:39 PM, Brian Caspe <[email protected]> wrote: >> Ok, sounds fine. I want to finish the functionality that I need and >> then I'll upload it somewhere. The structure follows pretty closely to >> the existing gdata modules. >> >> I do have a question now about nested nodes... >> the contact api returns the xml: >> <gd:name> >> <gd:fullName>Full Name</gd:fullName> >> </gd:name> >> >> I have created an extension for name which will have the >> xmlns:gd="...." attribute but the extensions for fullName (givenName, >> etc) do not include the namespace information (they are still coded as >> <gd:fullName>, however). Is there an example of code in the Zend_Gdata >> codebase where you need to send nested or structured elements like >> that that I can follow? The other extensions that I've done work fine >> with updating to google... but they follow the more standard element >> attributes and text model. > > Just so you don't wait for an answer for forever, but I wouldn't know. :-) > > Till > >> >> Thanks, >> >> brian >> >> On Tue, Feb 1, 2011 at 2:36 PM, till <[email protected]> wrote: >>> I don't think new features will be accepted into ZF 1.x and I have no >>> idea if someone is rewriting Zend_Gdata for ZF 2.0. >>> >>> The easiest currently is to create a github repository and put your code up. >>> >>> As for the code being ghetto -- I checked out the old proposal and the >>> proposed structure looked pretty good to me. Maybe that's a start for >>> you to improve it further. >>> >>> Till >>> >>> On Tue, Feb 1, 2011 at 11:03 AM, Brian Caspe <[email protected]> wrote: >>>> I've gone ahead and extended Zend_Gdata to work with contacts... I >>>> haven't gotten all of the pieces working (not including all of the >>>> contact entry elements yet) but it will update to google just fine as >>>> well as work with contact groups... >>>> >>>> I've never contributed code or anything to zend, but if people want to >>>> use the code, then I'd be happy to share it. I have no idea if the >>>> functionality I've done is too much or not enough or what. The code is >>>> certainly more ghetto than the official zend_gdata classes. What are >>>> the next steps? >>>> >>>> thanks, >>>> brian >>>> >>>> On Sun, Jan 30, 2011 at 8:23 PM, Brian Caspe <[email protected]> wrote: >>>>> There was a proposal that I found but it was a little bit old... >>>>> >>>>> http://framework.zend.com/wiki/display/ZFPROP/Zend_Gdata_Contacts+-+Darien+Hager >>>>> >>>>> I wrote to the address listed there and there wasn't a response... >>>>> I'll try to create something but I've never contributed "actual" code >>>>> so I'm not sure exactly what the deal is there... Looking at the other >>>>> packages, it seems like extending it should follow pretty well, but >>>>> why hasn't it already happened? Some catch? >>>>> >>>>> Thanks, >>>>> >>>>> Brian >>>>> >>>>> On Sun, Jan 30, 2011 at 6:53 PM, till <[email protected]> wrote: >>>>>> I don't see anything: >>>>>> http://framework.zend.com/apidoc/core/Zend_Gdata/Gdata/Zend_Gdata.html >>>>>> >>>>>> You could probably contribute that piece. >>>>>> >>>>>> Till >>>>>> >>>>>> On Sun, Jan 30, 2011 at 3:51 PM, Brian Caspe <[email protected]> wrote: >>>>>>> Hi there! Is there anyone who knows of a good tutorial for interfacing >>>>>>> (retrieving & updating) google contacts through Zend_Gdata? >>>>>>> >>>>>>> I have done some searching and it seems like people are struggling for >>>>>>> a solution but no one has posted a tutorial or anything and I don't >>>>>>> think that anything exists officially in ZF yet... >>>>>>> >>>>>>> Thanks! >>>>>>> >>>>>>> brian >>>>>>> >>>>>>> -- >>>>>>> +420 608 577 012 >>>>>>> >>>>>>> Prague Playhouse >>>>>>> www.pragueplayhouse.com >>>>>>> >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> +420 608 577 012 >>>>> >>>>> Prague Playhouse >>>>> www.pragueplayhouse.com >>>>> >>>> >>>> >>>> >>>> -- >>>> +420 608 577 012 >>>> >>>> Prague Playhouse >>>> www.pragueplayhouse.com >>>> >>> >> >> >> >> -- >> +420 608 577 012 >> >> Prague Playhouse >> www.pragueplayhouse.com >> > -- +420 608 577 012 Prague Playhouse www.pragueplayhouse.com
