count(result)__1

Verarbeitung XML von Google-Products

Array
(
    [0] => Array
        (
            [Id] => 1
            [Name] => Verarbeitung XML von Google-Products
            [Description] => 
            [temp] => 0
            [Active] => 1
            [data] => Array
                (
                    [0] => Array
                        (
                            [title] => Basis XML
                            [text] => 
                            [Lang] => XML
                            [code] => 


    Title
    Description
    https://google.ch
    Mon, 21 Jun 2021 12:09:26 -0000
    
        Description Item
        https://google.ch/img1.jpg
        https://google.ch/img2.jpg
        in stock
        Brand
        new
        0909090909
        WXCH39983
        https://google.ch/img3.jpg
        1345
        99.90 CHF
        Google  >  Produkt
        
        https://google.ch/link1.htm
        Title Item
    


                        )

                    [1] => Array
                        (
                            [title] => Aufruf Funktion
                            [text] => 
                            [Lang] => PHP
                            [code] => 
                        )

                    [2] => Array
                        (
                            [title] => Verarbeitung XML
                            [text] => 
                            [Lang] => PHP
                            [code] => open($url);
	$doc = new DOMDocument;
	$i = 0;
	while (($valid = $reader->read()) && $reader->name !== 'item') ;
	while ($valid) {
	    $default    = simplexml_import_dom($reader->expand($doc));
	    $googleBase = $default->children($scheme);
	    $xmlarr[$i]["id"] = htmlspecialchars($googleBase->id);
	    $xmlarr[$i]["title"] = htmlspecialchars($default->title);
	    $xmlarr[$i]["link"] = htmlspecialchars($default->link);
	    $xmlarr[$i]["image_link"] = htmlspecialchars($googleBase->image_link);
	    $xmlarr[$i]["availability"] = htmlspecialchars($googleBase->availability);
	    $xmlarr[$i]["condition"] = htmlspecialchars($googleBase->condition);
	    $xmlarr[$i]["product_type"] = str_replace("  >  ",": ",htmlspecialchars($googleBase->product_type));
	    $xmlarr[$i]["price"] = htmlspecialchars($googleBase->price);
	    $xmlarr[$i]["gtin"] = htmlspecialchars($googleBase->gtin);
	    $xmlarr[$i]["description"] = htmlspecialchars($default->description);
	    $i++;
	    $valid = $reader->next('item');
	};
	return $xmlarr;
}

?>
                        )

                    [3] => Array
                        (
                            [title] => Ausgabe
                            [text] => 
                            [Lang] => PHP
                            [code] => 

                

                    

                
                        )

                )

        )

)
216.73.216.106:::20.gif