Jump to content

xml feed


JanaMala

Recommended Posts

Dobrý den, zkousela jsem generovat xml feed s následující stukturou:

'.str_replace("&", "&", $row['name']).'
'.str_replace("&", "&",strip_tags($row['description_short'])).'
'.$shopUrl.''.$row['link'].'
'.$shopUrl.'/img/p/'.$row['id_product'].'-'.$img['id_image'].'.jpg
'.($row['price']*1).'
0
';
}
echo '';
?>



ale vyazuje mi to nesmyslnou adresu v elementu místo http://domena.cz/kategorie/zbozi to generuje http://domena.czhttp://domena.cz/kategorie/zbozi nevíte prosim nekdo kde delam chybu?

adresa feedu je feed

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...