Morten Nilsen ha scritto:
> Dave wrote:
>   
>> From: "Morten Nilsen" <[EMAIL PROTECTED]>
>>     
>>> On 24/7/2007, "Dave" <[EMAIL PROTECTED]> wrote:
>>>       
>>>> If someone would like to do a page somewere, where user can
>>>> insert his data (at  least name and coord) that will be stored on
>>>> a file, I can do a new map (the Enlightenment User Map) that read
>>>> the GeoData from that file.
>>>> Maybe showing also the total user number.
>>>>         
>>> I can create that.. just share the internal structure you use
>>> (array/object) and I'll create something that spits out a serialized
>>> list on request..
>>>       
>> Wow, thanks! :)
>> the best way for me is if you write an xml file somewhere, I can then read
>> the data directly from there.
>>     
>
> I've just tossed together an extremely simple implementation..
>
> The user input page is at: http://e.runsafe.no/index.php
> And the xml output here..: http://e.runsafe.no/users.php
>
>   
and this a first impementation of the map that read your xml:
http://www.gurumeditation.it/eusermap.php

 From js I can't load the xml from a different domain that mine, so for now
I have done a local copy of the file. (surly they have to stay on the 
same machine( or
at least same domain).

I think it's better to place all the field in the xml file, and then 
aggregate the data
in the map script .An xml file should contain only the data and nothing 
about the visualization,
like the html tag.
Can you modify your script in this way?

Did you generate the xml on every page call? if so: isn't better to 
generate the
xml only when a user is added or mod?

another: did you store the data in another format than xml? if so 
probably it's better to
read directly from there instead of creating the xml file.

bye
Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to