Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

rss.php fixes to get a valid feed


ztrek

Recommended Posts

I get this too, only the products on your index page are shown, not the rest in your databse. Since I've got 3,000 items NOT showing in m RSS feed I'd be very greatful if someon could tell me what to do about this.

 

Mikey

 

I installed the latest version of RSS Feed Contrib. Never had any problems with installation. However, I noticed that the RSS file pulled only 9 products out of 800.

 

Any suggestions on how to fix this?

 

Thanks

Link to comment
Share on other sites

This will get your product image in the feed....

 

Find this code at or near line 166 or 167 in rss.php

 

  echo $desc . "\n";

 

and replace with this...

 

  echo '<img src="' . $image_url . '" border="0" align="right" alt="' . $name . '">' . $desc . "\n";

 

See it at http://www.faceplantwatertoys.com/rss.php.

Brian Christensen

Link to comment
Share on other sites

This will get your product image in the feed....

 

Find this code at or near line 166 or 167 in rss.php

 

echo $desc . "\n";

 

and replace with this...

 

echo '<img src="' . $image_url . '" border="0" align="right" alt="' . $name . '">' . $desc . "\n";

 

See it at http://www.faceplantwatertoys.com/rss.php.

 

Dang forum, keeps changing my html entities in the post. The < above should be & lt ;, without the spaces. And the > above should be & gt ;, without the spaces.

Edited by Brian_C

Brian Christensen

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...