Forums / All Other Contributions/Addons / RSS2 Feed Contribution

RSS2 Feed Contribution

Views: 202,797

Results 581 to 600 of 955
11 May 2009, 7:44 PM
#581
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

RSS2 Feed Contribution

a_berezin:

Hi,

Blank page? No, this should not be. :no:
I think this is strange. It will run on a site I am setting up but not my main site.
Thank you anyway

Is your site Upgraded to the current version 1.5.4 Yet?
zencart-upgrades-website-installation

20 May 2009, 12:19 PM
#582
kookiewookies avatar

kookiewookies

New Zenner

Join Date:
May 2009
Posts:
2
Plugin Contributions:
0

Re: RSS2 Feed Contribution

Using a fresh zencart 1.3.8 and installed this great RSS feed system.
ALL feeds are working except one: the one used on a individual product page.

Already checked for emtpy lines.

Still the error when I click the RSS button on a individual product info page is still there:

This page contains the following errors:

error on line 3 at column 6: XML declaration allowed only at the start of the document
Below is a rendering of the page up to the first error.

SOURCE:
line 1 =emptyline
<br class="clearBoth" />

<!-- generator="Zen-Cart RSS Feed/"v 2.1.4 14.02.2008 15:26 -->

<rss version="2.0" xmlns:g="http://base.google.com/ns/1.0" xmlns:c="http://base.google.com/cns/1.0" xmlns:atom="http://www.w3.org/2005/Atom">

Obviously this <br class="clearBoth" />
is causing it.
SO I tested and removed ALL <br ...../>
that are used in a product info page.
Result is still the same.

Any thoughts/ideas?

20 May 2009, 2:56 PM
#583
kookiewookies avatar

kookiewookies

New Zenner

Join Date:
May 2009
Posts:
2
Plugin Contributions:
0

Re: RSS2 Feed Contribution

kookiewookies:

Using a fresh zencart 1.3.8 and installed this great RSS feed system.
ALL feeds are working except one: the one used on a individual product page.

Already checked for emtpy lines.

Still the error when I click the RSS button on a individual product info page is still there:

This page contains the following errors:

error on line 3 at column 6: XML declaration allowed only at the start of the document
Below is a rendering of the page up to the first error.

SOURCE:
line 1 =emptyline
<br class="clearBoth" />

<!-- generator="Zen-Cart RSS Feed/"v 2.1.4 14.02.2008 15:26 -->

<rss version="2.0" xmlns:g="http://base.google.com/ns/1.0" xmlns:c="http://base.google.com/cns/1.0" xmlns:atom="http://www.w3.org/2005/Atom">

Obviously this <br class="clearBoth" />
is causing it.
SO I tested and removed ALL <br ...../>
that are used in a product info page.
Result is still the same.

Any thoughts/ideas?

I used the script in this thread to remove possible empty lines in the php files. Found some, removed them but still habve the same error somehow ONLY on this individual product page feed.

26 May 2009, 11:19 AM
#584
leet8845 avatar

leet8845

New Zenner

Join Date:
Apr 2009
Posts:
3
Plugin Contributions:
0

Re: RSS2 Feed Contribution

does anyone know how to get the feed to update??? i have added new products days ago but the thing hasn't updated?do i have to it manually?

27 May 2009, 7:30 PM
#586
commerce_fun avatar

commerce_fun

New Zenner

Join Date:
Jul 2007
Posts:
18
Plugin Contributions:
0

Re: RSS2 Feed Contribution

Thanks a lot works fine
Zen Cart 1.3.8 version :smile:

30 May 2009, 2:45 AM
#587
sweetikins avatar

sweetikins

New Zenner

Join Date:
Feb 2009
Location:
Melbourne, Australia
Posts:
85
Plugin Contributions:
0

Re: RSS2 Feed Contribution

Hiya thanks for this, is there anyway to update the feed without having to delete cache files each time? I have people adding products daily.

7 Jun 2009, 3:54 PM
#590
turtle avatar

turtle

New Zenner

Join Date:
Jun 2009
Posts:
1
Plugin Contributions:
0

Re: RSS2 Feed Contribution

Hello,

I have installed the Rss software and can not get the price to show up. Does anybody have any idea how to do this? I have been searching for about 4 hours now and can not find any comments. Your help would be much appreciated.

Thank you!

PS> Great add-on Andrew!

7 Jun 2009, 6:29 PM
#591
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: RSS2 Feed Contribution

leet8845:

does anyone know how to get the feed to update??? i have added new products days ago but the thing hasn't updated?do i have to it manually?

I left out something when I told you guys how to update your feed so here it is. Sorry about that. Run this scrip also

UPDATE configuration SET set_function=NULL WHERE configuration_key = 'RSS_CACHE_TIME';

Is your site Upgraded to the current version 1.5.4 Yet?
zencart-upgrades-website-installation

22 Jun 2009, 6:19 AM
#592
fu210kp avatar

fu210kp

New Zenner

Join Date:
Jan 2008
Posts:
3
Plugin Contributions:
3

Re: RSS2 Feed Contribution

countrycharm:

I left out something when I told you guys how to update your feed so here it is. Sorry about that. Run this scrip also

UPDATE configuration SET set_function=NULL WHERE configuration_key = 'RSS_CACHE_TIME';


where you entered the code? :blink:

	
unfortunately, I feed only generates product specials
most interest to me to have feed for new products :frusty:

Dan
TIBO Birotica
Zen cart version: 1.3.8a

24 Jun 2009, 5:56 PM
#593
activityshopper avatar

activityshopper

New Zenner

Join Date:
Feb 2008
Posts:
14
Plugin Contributions:
0

Re: RSS2 Feed Contribution

Hello. I am interested in displaying the price of the item within either the title or description. Just as other people have requested how to do this, I have searched the forums and still cannot find an answer. A simple post tutorial would be very valuable and I would make sure to put it up where people could find it.

Regards,

Matthew
ActivityShopper.com

6 Jul 2009, 8:50 PM
#594
asauterchicago avatar

asauterchicago

New Zenner

Join Date:
Sep 2008
Posts:
22
Plugin Contributions:
0

Re: RSS2 Feed Contribution

Alright, I'm totally confused. I've uploaded all the files to the / directory of my server, but I'm a little unclear about what I should do next. The documentation says:

Go to Admin->Tools->Install SQL Patches and install install.sql (don't use upload - use copy/paste to install sql).

Ok, so if I go to admin->tools-> install sql patches, what am I supposed to type? I tried: "install.sql ;" and I get this error:

1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'instal.sql' at line 1
in:
[instal.sql ;]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

I don't know anything about sql :/ ...

6 Jul 2009, 9:15 PM
#595
craftzombie avatar

craftzombie

Zen Follower

Join Date:
Jul 2006
Posts:
494
Plugin Contributions:
0

Re: RSS2 Feed Contribution

asauterChicago:

Alright, I'm totally confused. I've uploaded all the files to the / directory of my server, but I'm a little unclear about what I should do next. The documentation says:

Ok, so if I go to admin->tools-> install sql patches, what am I supposed to type? I tried: "install.sql ;" and I get this error:

I don't know anything about sql :/ ...

Open up install.sql in notepad, copy everything and then paste it into the section in admin>tools>install sql patches and click on send

6 Jul 2009, 10:43 PM
#596
asauterchicago avatar

asauterchicago

New Zenner

Join Date:
Sep 2008
Posts:
22
Plugin Contributions:
0

Re: RSS2 Feed Contribution

craftzombie:

Open up install.sql in notepad, copy everything and then paste it into the section in admin>tools>install sql patches and click on send

Ah, I feel like an idiot now :-). I thought install.sql was an actual file that could be run... Thank You!!

6 Jul 2009, 11:06 PM
#597
asauterchicago avatar

asauterchicago

New Zenner

Join Date:
Sep 2008
Posts:
22
Plugin Contributions:
0

Re: RSS2 Feed Contribution

Ok, one other question. How do I access it? Appending ?main_page=rss_feed to my index.php doesn't seem to work. Is there a new link for the rss feed? Or is there something else I'm missing?

7 Jul 2009, 2:17 PM
#598
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: RSS2 Feed Contribution

asauterChicago:

Ok, one other question. How do I access it? Appending ?main_page=rss_feed to my index.php doesn't seem to work. Is there a new link for the rss feed? Or is there something else I'm missing?

Affected files

/includes/templates/YOUR_TEMPLATE/common/html_header.php
/includes/templates/YOUR_TEMPLATE/common/tpl_footer.php

Install:

  1. BACKUP! BACKUP! BACKUP! BACKUP! BACKUP! BACKUP!
  2. Unzip and upload all new files to your store directory;
  3. Go to Admin->Tools->Install SQL Patches and install install.sql (don't use upload - use copy/paste to install sql).
    (if you use Admin Profiles or Admin with Levels you must setting needed permission);
  4. Go to Admin>Configuration>RSS Feed and setting up your RSS Feed configuration;
    4. You can add to html_header.php somewhere beetwen <head> and </head> tags:
<?php echo rss_feed_link_alternate(); // RSS Feed ? 5. You can add to tpl_footer.php or where you want: <!--bof RSS Feed --> <div id="RSSFeedLink"><?php echo rss_feed_link(RSS_ICON); ?></div> <!--eof RSS Feed -->
  1. The CSS/XSL files are sent from /includes/templates/YOUR_TEMPLATE/css/ to the browser in this order:
    (and alphabetically within each case of more than one match):
    rss*.css // are always loaded and at least ONE should contain site-wide properties.
    rss*.xsl // are always loaded and at least ONE should contain site-wide properties.

Make sure you did what 4 and 5 says to do then make sure all your files uploaded to their correct folders. You should see the RSS Feed picture on your main page if everything is installed correct. Go to Admin>Configuration>RSS Feed and set up your RSS Feed configuration;

Is your site Upgraded to the current version 1.5.4 Yet?
zencart-upgrades-website-installation

7 Jul 2009, 4:23 PM
#599
asauterchicago avatar

asauterchicago

New Zenner

Join Date:
Sep 2008
Posts:
22
Plugin Contributions:
0

Re: RSS2 Feed Contribution

I did add it to my footer, but the feed doesn't show up. You can go here: http://www.sancoind.com/shop/ and you can see the new products feed at the bottom. Only it doesn't go anywhere, it just pulls up a blank page.

I've copied over all the files, ran the install and configured the feed in the admin panel. Am I missing something?

7 Jul 2009, 9:25 PM
#600
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: RSS2 Feed Contribution

asauterChicago:

I did add it to my footer, but the feed doesn't show up. You can go here: http://www.sancoind.com/shop/ and you can see the new products feed at the bottom. Only it doesn't go anywhere, it just pulls up a blank page.

I've copied over all the files, ran the install and configured the feed in the admin panel. Am I missing something?

Did you add this to your html_header.php somewhere beetwen <head> and </head> tags:
<?php echo rss_feed_link_alternate(); // RSS Feed ?
I don't see it showing up anywhere in you Source code. Here is part of your Source code.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en"> <head> <title>Sanco Industries, Sanco and Crystal Blue Online Store</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta name="keywords" content="pond colorant, crystal blue, pond shade, turf, pond cleaner bird bath cleaner, weed remover" /> <meta name="description" content="Buy Pond Colorand, Cleaner and Weed Products" /> <meta http-equiv="imagetoolbar" content="no" /> <meta name="author" content="The Zen Cart™ Team and others" /> <meta name="generator" content="shopping cart program by Zen Cart™, <http://www.zen-cart.com> eCommerce" /> <base href="http://www.sancoind.com/shop/" /> <link rel="stylesheet" type="text/css" href="includes/templates/classic/css/stylesheet.css" /> <link rel="stylesheet" type="text/css" href="includes/templates/classic/css/stylesheet_css_buttons.css" /> <link rel="stylesheet" type="text/css" media="print" href="includes/templates/classic/css/print_stylesheet.css" /> </head> <body id="indexHomeBody">

Here is mine. See the difference in the code that I highlighted. That part is suppose to be in yours also. So I am thinking maybe you didn't add that part of the code to your html_header.php.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en"><head> <title>Buy In Bulk At Wholesale - Save 50% - $3.00 Shipping</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta name="keywords" content="wholesale merchandise store,gifts,victoria jackson survival kit,musical wind chimes,toys and games,bath and body,candles and scents,unique bird feeders,birdhouses and Birdbaths,Shabby Elegance" /> <meta name="description" content="The Good Shepherd Store is a Professional and reliable wholesale merchandise store where you can buy in bulk at a low price" /> <meta http-equiv="imagetoolbar" content="no" /> <meta name="author" content="The Good Shepherd Store; Wholsale Merchandise" /> <meta name="generator" content="shopping cart program by Zen Cart™, <http://www.zen-cart.com> eCommerce" /> <base href="http://www.thegoodshepherdstore.com/" /> <link rel="stylesheet" type="text/css" href="includes/templates/luck_charm/css/style_imagehover.css" /> <link rel="stylesheet" type="text/css" href="includes/templates/luck_charm/css/style_jscroller.css" /> <link rel="stylesheet" type="text/css" href="includes/templates/luck_charm/css/stylesheet.css" /> <script type="text/javascript" src="includes/templates/luck_charm/jscript/jscript_imagehover.js"></script> <script type="text/javascript" src="includes/js/jscroller2-1.5.js"></script>

<link rel="alternate" type="application/rss+xml" title="RSS Specials Feed" href="http://www.thegoodshepherdstore.com/rss_feed/feed/specials" />

<link rel="alternate" type="application/rss+xml" title="RSS New Products Feed" href="http://www.thegoodshepherdstore.com/rss_feed/feed/new_products" /> <link rel="alternate" type="application/rss+xml" title="RSS Upcoming Feed" href="http://www.thegoodshepherdstore.com/rss_feed/feed/upcoming" /> <link rel="alternate" type="application/rss+xml" title="RSS Featured Feed" href="http://www.thegoodshepherdstore.com/rss_feed/feed/featured" /> <link rel="alternate" type="application/rss+xml" title="RSS Best Sellers Feed" href="http://www.thegoodshepherdstore.com/rss_feed/feed/best_sellers" /> <link rel="alternate" type="application/rss+xml" title="RSS All Products Feed" href="http://www.thegoodshepherdstore.com/rss_feed/feed/products" /> </head> <body id="indexHomeBody">

Is your site Upgraded to the current version 1.5.4 Yet?
zencart-upgrades-website-installation