Search the web
Sign In
New User? Sign Up
xml-objtree · XML.ObjTree Group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Can I read remote XML files?   Message List  
Reply | Forward Message #7 of 8 |
Re: [xml-objtree] Re: Can I read remote XML files?

Kawasaki,

So funny - I was just going thru the JSON mod when this email came in.  :-) I will take a look further into using the combination you describe below. So I can access a remote file using JSON?

My Zillow.com XML parser and Google API map implementation in development...(very rough).

http://www.michaelekberg.com/dev/ 

'Live' example: http://brycofunding.com/retail/home_valuation.php

Thanks for your quick response by the way - much appreciated!

Thanks,

Michael

Kawasaki Yusuke <u-suke@...> wrote:
Hi Michael,

Talking about Perl modules, I think JSON.pm would be good choice.
This is a pure Perl implemented module which doesn't require compiling
to use it.
For more better performance, JSON::Syck module is alternative.

On 11/27/06, mjekberg <mjekberg@yahoo.com> wrote:
> Never mind - duh - I actually read the details on the code. Not gonna
> work calling data from remote server. Back to CGI or PHP. Anyone know
> an easy non-50 million module way to convert a PERL array to a
> javascritp array? :-)

And I'd like to introduce XML::TreePP module which parses/writes
an XML file like XML.ObjTree JS-library did.

use XML::TreePP;
use JSON;
my $tpp = XML::TreePP->new();
my $tree = $tpp->parsefile( $xml );
my $json = JSON->new()->objToJson($tree);

The combinatoin of XML::TreePP and JSON.pm/JSON::Syck is quite
easy to read XML file and write JavaScript object.

--
Kawasaki Yusuke
http://www.kawa.net/


Check out the all-new Yahoo! Mail beta - Fire up a more powerful email and get things done faster.

Mon Nov 27, 2006 8:04 am

mjekberg
Online Now Online Now
Send Email Send Email

Forward
Message #7 of 8 |
Expand Messages Author Sort by Date

To all, I only seem to be able to read a file (via http) from the calling server. I can't call http://remote_domain.com/anyxmlfile.xml from ...
mjekberg
Online Now Send Email
Nov 27, 2006
2:06 am

Never mind - duh - I actually read the details on the code. Not gonna work calling data from remote server. Back to CGI or PHP. Anyone know an easy non-50...
mjekberg
Online Now Send Email
Nov 27, 2006
5:41 am

Hi Michael, Talking about Perl modules, I think JSON.pm would be good choice. This is a pure Perl implemented module which doesn't require compiling to use it....
Kawasaki Yusuke
kawa.kawa
Offline Send Email
Nov 27, 2006
7:41 am

Kawasaki, So funny - I was just going thru the JSON mod when this email came in. :-) I will take a look further into using the combination you describe below....
Michael Ekberg
mjekberg
Online Now Send Email
Nov 27, 2006
8:15 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help