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.