Zen Cart Logo
Forums / All Other Contributions/Addons / RSS problem - No items in feed

RSS problem - No items in feed

Locked

Views: 3,582

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
09 Sep 2006, 20:05
#1
fricy avatar

fricy

New Zenner

Join Date:
May 2006
Posts:
17
Plugin Contributions:
0

RSS problem - No items in feed

Hello!

I installed the latest rss2.php I could get my hands on from a_berezin's server,
installed it, placed a link in index.php, so it shows up in feed reeders, and address line in Firefox, but then, it would not show any items (I have 2 test products right now). In netvibes, it tells me, the feed is empty. I tried it in 1.3.2, and now in 1.3.5.

Also by browsing the forums, i found this:

It allows you to pass in a cPath id to get category specific feeds, eg: http://www.yourstore.com/rss2.php?cPath=5, where cPath 5 is for example, the T-Shirts category. This feed will only list products in the T-Shirts category.

If no cPath ID is passed in, the regular old full feed (all products) will be sent.

allow category-specific feeds: add the RSS tag to html_header.php

<link href="<?php echo HTTP_SERVER . DIR_WS_CATALOG; ?>rss2.php<?php if $cPath { echo '?cPath=' . $cPath;} ?>" rel="alternate" type="application/rss+xml" title="rss" />

I added it to html_header.php found in /templates/.../common, but I just get a

Parse error: syntax error, unexpected T_VARIABLE, expecting '(' in ....

Anyone?
The site is: https://www.bestbrill.hu
Thanx for reading
f.

17 Dec 2006, 15:52
#3
a_berezin avatar

a_berezin

Deceased

Join Date:
Aug 2004
Location:
Saint Petersburg, Russia
Posts:
1,782
Plugin Contributions:
5

Re: RSS problem - No items in feed

Better use contribution support thread (Certainly if you want to get real help for this contrubution) - RSS2 feed contribution support.

17 Dec 2006, 16:21
#4
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: RSS problem - No items in feed

a_berezin:

Better use contribution support thread (Certainly if you want to get real help for this contrubution) - RSS2 feed contribution support.
Thanks for correct link.. rss getting quite popular now