Hello

Thanks for your reply

This is an example of the code that I used: http://jsfiddle.net/ffYxm/7/.
As I can't run PHP script in JsFiddle, I create a test environment on
http://rssnews.cumatrii.eu/testpopup.php.

And this is the code that work with sent data:
<?php
$rss = simplexml_load_file($_GET['url']);
if($rss)
        {
                if(!$timezone){
                        $timezone = explode(' 
',strval($rss->channel->item[0]->pubDate));
                        $timezone = $timezone[count($timezone)-1];
                }
                if(!$language)
                        $language = strval($rss->channel->language);
 $result = array('language'=>$language,'timezone'=>$timezone);
echo json_encode($result);}
else echo 0;
?>


I used mootools 1.2.5 (from the latest Joomla!1.5 version)

Ruslan.



On May 27, 12:13 am, Oskar Krawczyk <[email protected]> wrote:
> Please post your code to JsFiddle.net and paste back a link, so we can see a 
> test case.
>
> Best,
> Oskar
>
> On May 26, 2011, at 10:57 PM, Russellmd wrote:
>
>
>
>
>
>
>
> > Hello All
>
> > I have a problem with an Ajax request.
> > I have a "for" instruction, for each iteration is executin a request(I
> > used XHR). Each request access an external url, so execution time is
> > about 4-6 seconds, and I need to access at least 600 external links.
> > I would like to display result of each request, one by one. At the
> > moment my script is executing and show me all items when "for" is
> > finished. So, it is possible to display result of each iteration
> > immediatly , when iteration is finished?
>
> > Thanks and sorry for bad English

Reply via email to