You can also just look at hurl.it if you want.

http://hurl.it/hurls/50c8e758399af60c22921621350a65ebb51c8d25/4b2d4befa66a70f61ea2b0f92ee806cb7c5d9705

Abraham

On Fri, Apr 16, 2010 at 18:40, Mark McBride <mmcbr...@twitter.com> wrote:

> My suggestion is to use curl, take a look at the output, and reverse
> engineer that.  If you want a more formal approach, you can look at the Atom
> RelaxNG specification here http://atompub.org/2005/08/17/atom.rnc, but
> search results will have some additional customization on top of that.
>
>   ---Mark
>
> http://twitter.com/mccv
>
>
> On Fri, Apr 16, 2010 at 11:29 AM, Dushyant <dushyantaror...@gmail.com>wrote:
>
>> How do I find the hierarchical structure of the search reply?
>>
>> On Apr 16, 8:55 pm, Mark McBride <mmcbr...@twitter.com> wrote:
>> > Atom is an XML dialect, so the approach you're using should work fine
>> >   ---Mark
>> >
>> > http://twitter.com/mccv
>> >
>> > On Fri, Apr 16, 2010 at 5:08 AM, Dushyant <dushyantaror...@gmail.com>
>> wrote:
>> > > I am using the following method
>> > >http://apiwiki.twitter.com/Twitter-Search-API-Method%3A-search
>> > > Now the output formats are json and atom. I want to parse the search
>> > > results using PHP.
>> > > Till now I have been following the following approach to parse xml
>> > > outputs.
>> >
>> > > $url = 'http://api.twitter.com/1/friendships/show.xml?
>> > > source_id=xxxxx&target_id=yyyyy';
>> > > $ch = $this->initialize_curl($url,'none',false);  // own function
>> > > $response = curl_exec($ch);
>> >
>> > > curl_close($ch);
>> >
>> > > $xml = simplexml_load_string($response);
>> >
>> > > Can I still use the same approach. Kindly guide me in the right
>> > > direction.
>> >
>> > > --
>> > > Subscription settings:
>> > >
>> http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
>>
>
>


-- 
Abraham Williams | Developer for hire | http://abrah.am
PoseurTech Labs | Projects | http://labs.poseurtech.com
This email is: [ ] shareable [x] ask first [ ] private.

Reply via email to