Kaspi88 Posted April 22, 2009 Share Posted April 22, 2009 Nemáte někdo udělanej feed pro hyperzbozi.cz?Specifikace má býti taková http://www.hyperzbozi.cz/specifikace-xml.htmlJestli budu mít čas tak se na to podívám a pošlu poté hotový výstup ;-) Link to comment Share on other sites More sharing options...
haVaj Posted April 22, 2009 Share Posted April 22, 2009 je stejny jako zbozi.cz Link to comment Share on other sites More sharing options...
noneofnone Posted May 3, 2009 Share Posted May 3, 2009 Super, krasne to bezi, thanx Vam Link to comment Share on other sites More sharing options...
Kaspi88 Posted May 10, 2009 Author Share Posted May 10, 2009 Pro monitor.cz máte někdo xml výstup?Specifikace viz http://www.monitor.cz/datovy-soubor-xml-feed.html Link to comment Share on other sites More sharing options...
lubomat Posted November 3, 2009 Share Posted November 3, 2009 Caute, prosim o radu!Neviete mi poradit export tovaru do XML feed-u pre http://www.najnakup.skMaju na stranke nejaky navod ale kedze ja som uplny amater absolutne neviem ako na to.Poradite? Dikes!!!Specifikacia XML feed-u:http://www.najnakup.sk/about.aspx?a=2Priklad XML:http://www.najnakup.sk/Data/xml_priklad.xmlEste raz diky!! Link to comment Share on other sites More sharing options...
Caleydon Posted November 4, 2009 Share Posted November 4, 2009 @lubomat:Nieco podobne som prave riesil pre rozne slovenske porovnavace cien. Ak chces skripty, pis mi na PM. Link to comment Share on other sites More sharing options...
armur Posted November 4, 2009 Share Posted November 4, 2009 Co kdyby jis zkusil si ho poskládat sám? <?php $shopUrl = 'http://www...........cz'; include(dirname(__FILE__).'/config/config.inc.php'); include(dirname(__FILE__).'/init.php'); error_reporting(0); $p=Product::getProducts(3, 0, 0, 'id_product', 'desc', false); $products=Product::getProductsProperties(3, $p); header("Content-Type: text/xml"); echo '<?xml version="1.0" encoding="utf-8"?> Název vašeho obchodu www........cz/'; foreach ($products as $row) { $kategorie=array(); $category = new Category(intval($row['id_category_default']), intval(3)); while ($category->id <> 1) { $kategorie[]=$category->hideCategoryPosition($category->name); $category = new Category(intval($category->id_parent), intval(3)); } $img=Product::getCover($row['id_product']); echo ' '.str_replace("&", "&", $row['supplier_name']).' '.str_replace("&", "&", $row['manufacturer_name']).' '.str_replace("&", "and", strip_tags($row['name'])).' '.str_replace("&", "and", strip_tags($row['description_short'])).' '.str_replace("&", "and", strip_tags($row['description'])).' '.implode('>',array_reverse($kategorie)).' '.$row['link'].' http://www.......com/img/p/'.$row['id_product'].'-'.$img['id_image'].'-home.jpg '.$row['tax_rate'].' '.($row['price']*1).' '.($row['reduction_price']*1).' '.($row['wholesale_price']*1).' '.($row['quantity']*1).' '.$row['reduction_percent'].' '.$row['reduction_from'].' '.$row['reduction_to'].' '.$row['on_sale'].' '.$row['available_now'].' '.$row['available_later'].' '.$row['supplier_reference'].' '.$row['reference'].' '. round($row['ean13']) .' '; } echo ''; ?> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now