how to generate rss feed for yandex

Phoca Cart - complex e-commerce extension
User avatar
vodka
Phoca Enthusiast
Phoca Enthusiast
Posts: 53
Joined: 06 Apr 2022, 21:57

Re: how to generate rss feed for yandex

Post by vodka »

footer: <?xml version="1.0" encoding="utf-8" ?>
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: how to generate rss feed for yandex

Post by Jan »

Hi, for me it is really hard to give some clue advice as when the feed output was changed, hard to say which changes were made there :idea:

Jan
If you find Phoca extensions useful, please support the project
User avatar
vodka
Phoca Enthusiast
Phoca Enthusiast
Posts: 53
Joined: 06 Apr 2022, 21:57

Re: how to generate rss feed for yandex

Post by vodka »

$oI['item_id'] = $l.$this->p['item_id'].$r.$v->id.$e.$this->p['item_id'].$r; -work
$oI['item_id'] = $l.$this->p['item_id'].$v->id.$r.$e.$this->p['item_id'].$r; swears at the -Opening and ending tag mismatch...

YML format requires ID and parameters to be placed inside the opening tag
example:
<offer id="2716933893" ></offer>
who checks the xml output, can such format be allowed?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: how to generate rss feed for yandex

Post by Jan »

Hi, what do you mean with "who checks the XML"?
If you find Phoca extensions useful, please support the project
User avatar
vodka
Phoca Enthusiast
Phoca Enthusiast
Posts: 53
Joined: 06 Apr 2022, 21:57

Re: how to generate rss feed for yandex

Post by vodka »

render or who gives me a message go to the feed link:

"This page contains the following errors:
error on line 5 at column 24: Opening and ending tag mismatch: offer_ID37 line 5 and offer_ID"
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: how to generate rss feed for yandex

Post by Jan »

Hi, you can set header and footer in the options - try to check if opening tag is the same like ending tag :idea:

Jan
If you find Phoca extensions useful, please support the project
User avatar
vodka
Phoca Enthusiast
Phoca Enthusiast
Posts: 53
Joined: 06 Apr 2022, 21:57

Re: how to generate rss feed for yandex

Post by vodka »

Hi, it turned out the whole thing in the browser - he tries to read it as a channel instead of displaying the code
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: how to generate rss feed for yandex

Post by Jan »

Hi, this is much more a question on browser developers. If your browser will display a channel you still have the option to see the source code of it, which will display the XML. But this has in fact nothing to do with Phoca Cart, this is how browsers differently read the XML they get. :idea:

Jan
If you find Phoca extensions useful, please support the project
Post Reply