Forums / All Other Contributions/Addons / RSS2 Feed Contribution

RSS2 Feed Contribution

Views: 202,797

Results 661 to 680 of 955
22 Oct 2009, 6:52 PM
#661
countrycharm avatar

countrycharm

Totally Zenned

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

RSS2 Feed Contribution

kobra8:

I'm talking about my shop, not admin of my store.
When I go in my shop like a user.
www.kavanali.com
end click on feed list I get mesage:
Error!
XML parsing failed
XML parsing failed: syntax error (Line: 1, Character: 0)

:blush:
Have you checked to make sure all the files are in their correct location? There is something not in the right place to be getting that error.

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

22 Oct 2009, 7:49 PM
#662
gaffettape avatar

gaffettape

Zen Follower

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

Re: RSS2 Feed Contribution

countrycharm:

Open up /includes/modules/pages/rss_feed an go down to line 515 and change this php date('r', strtotime($products->fields['products_date'])), to this ```php
none,



Spot on pal, worked a treat. Thanks :smile:
22 Oct 2009, 10:05 PM
#663
countrycharm avatar

countrycharm

Totally Zenned

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

Re: RSS2 Feed Contribution

gaffettape:

Spot on pal, worked a treat. Thanks :smile:
I'm glad I could help.

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

24 Oct 2009, 8:21 AM
#664
johnk avatar

johnk

New Zenner

Join Date:
Feb 2005
Posts:
56
Plugin Contributions:
0

Re: RSS2 Feed Contribution

Hi CountryCharm, Thanks for answering and I apologise for taking so long to get back to you. For some reason the email notification found its way to my trash bin.

I have the Show Buy Now Button option set to false in RSS admin.

For a while my feeds continued to show a text link with "Buy Now" where the button was.

I just rechecked my feeds and they are now showing the Buy Now button again, even though it's still set to False in admin.

I just cleared the cache and it made no difference.

My site doesn't sell anything. When people view the site they can't access the checkout. However, if they click the Buy Back Button on my feeds they will be taken to the checkout. I don't want this to happen.

It seems that the Show Buy Back button option may be buggy and I'd like to hard code the button and text link out. I don't have a good grasp of PHP so I really don't know where to look.

You can see the feeds here: http://trainzresources.com

the RSS link is on the left hand side.

Other than that the module is working perfectly.

John

24 Oct 2009, 3:43 PM
#665
countrycharm avatar

countrycharm

Totally Zenned

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

Re: RSS2 Feed Contribution

johnk:

Hi CountryCharm, Thanks for answering and I apologise for taking so long to get back to you. For some reason the email notification found its way to my trash bin.

I have the Show Buy Now Button option set to false in RSS admin.

For a while my feeds continued to show a text link with "Buy Now" where the button was.

I just rechecked my feeds and they are now showing the Buy Now button again, even though it's still set to False in admin.

I just cleared the cache and it made no difference.

My site doesn't sell anything. When people view the site they can't access the checkout. However, if they click the Buy Back Button on my feeds they will be taken to the checkout. I don't want this to happen.

It seems that the Show Buy Back button option may be buggy and I'd like to hard code the button and text link out. I don't have a good grasp of PHP so I really don't know where to look.

You can see the feeds here: http://trainzresources.com

the RSS link is on the left hand side.

Other than that the module is working perfectly.

John

Looks like their is something not exactly right. When I ticking off the buy now button in admin it does not show up on my feed at all. If you have applied the patch you would not have to clear your cache anymore. Try installing this patch here and make sure you delete your cache RSS Feed again. Go to admin/configuration/rss_feed and tick off the buy now button if it on and let see if it show anymore, if it does we will have to check something else.
When you install this patch make sure you tick the box true in admin/configuration/rss_feed for Feed Cache Time

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

24 Oct 2009, 4:11 PM
#666
johnk avatar

johnk

New Zenner

Join Date:
Feb 2005
Posts:
56
Plugin Contributions:
0

Re: RSS2 Feed Contribution

Hi CountryCharm,

Thanks for responding so quickly. I applied the patch and set the cache time to Zero. the button was still set to false.

The fed on my site is perfect. No Buy Now Button and no link.

I can't check the feeds on my home page because Google's feed thingy is playing up. I'm sure everything will be okay however.

Thanks for your time and help. Greatly appreciated.

John

24 Oct 2009, 5:54 PM
#667
countrycharm avatar

countrycharm

Totally Zenned

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

Re: RSS2 Feed Contribution

johnk:

Hi CountryCharm,

Thanks for responding so quickly. I applied the patch and set the cache time to Zero. the button was still set to false.

The fed on my site is perfect. No Buy Now Button and no link.

I can't check the feeds on my home page because Google's feed thingy is playing up. I'm sure everything will be okay however.

Thanks for your time and help. Greatly appreciated.

John
Your feed looks right now, no buy now button. Glade I could be of help.

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

28 Oct 2009, 3:23 AM
#668
winsion avatar

winsion

New Zenner

Join Date:
Nov 2008
Posts:
6
Plugin Contributions:
0

Re: RSS2 Feed Contribution

winsion:

Hello , after LONG TIME checked ,
I notice it is because of RSS2 generate the link "......html&language=en" , It is wrong link
Correct one should be "......html?language=en",
Then my screambuy don't know the difference of "&" and "?" , provide "page not found , 404 Error" message .
Is it a bug ?
I suppose there are some such situations , but look through whole interenet and no answers .

It must be solved because Google Bot always regard it as a new link but in fact it is not work , cause a lot of trouble during SEO .

Hope that it can solve fast .:shocking:

change "html&language=en" as "html?language=en" issues .
I think this trouble is common , but no one reply ? Still waiting reply .Thanks :oops:

28 Oct 2009, 6:53 PM
#669
icecold avatar

icecold

Zen Follower

Join Date:
Jul 2008
Posts:
360
Plugin Contributions:
0

Re: RSS2 Feed Contribution

This is the error I am getting in ALL my feeds!

XML Parsing Error: junk after document element
Location: http://www.theoutletseason.com/electronics/index.php?main_page=rss_feed&feed=products&products_id=26946
Line Number 2, Column 1:<link rel="alternate" type="application/rss+xml" title="RSS New Products Feed" href="http://www.theoutletseason.com/electronics/index.php?main_page=rss_feed&feed=new_products" />
^

Firefox 3.5.4 displays it and IE8 shows :

Only one top level element is allowed in an XML document.
Line: 2 Character: 2

<link rel="alternate" type="application/rss+xml" title="RSS New Products Feed" href="http://www.theoutletseason.com/electronics/index.php?main_page=rss_feed&feed=new_products" />

under Windows 7 Ultimate.
It worked differently before ...

31 Oct 2009, 12:58 PM
#670
kburner avatar

kburner

Totally Zenned

Join Date:
Apr 2008
Location:
Flint, Michigan
Posts:
684
Plugin Contributions:
0

Re: RSS2 Feed Contribution

a_berezin:

Check php-scripts in the presence of extra lines and spaces.
Take this script, unzip it, upload it to a root directory and running it.

I am having same problem with -
Feed Code Error

Invalid xml declaration.
Line: 1 Character: 4

<?xml version="1.0" encoding="iso-8859-1"?> Error

I tried to load your script. When I clicked link - took me to down for
maintenance page. Do you have a working script I can check my files with?

Thanks, Kim

kburner
Burner Christian Bookstore
https://www.burnerbooks.com

31 Oct 2009, 10:57 PM
#671
countrycharm avatar

countrycharm

Totally Zenned

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

Re: RSS2 Feed Contribution

kburner:

I am having same problem with -
Feed Code Error

Invalid xml declaration.
Line: 1 Character: 4

<?xml version="1.0" encoding="iso-8859-1"?> Error

I tried to load your script. When I clicked link - took me to down for
maintenance page. Do you have a working script I can check my files with?

Thanks, Kim
Did you run the script right? http://www your.com/found_extra_space.php

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

31 Oct 2009, 11:27 PM
#672
kburner avatar

kburner

Totally Zenned

Join Date:
Apr 2008
Location:
Flint, Michigan
Posts:
684
Plugin Contributions:
0

Re: RSS2 Feed Contribution

countrycharm:

Did you run the script right? http://www your.com/found_extra_space.php

Yes. That time it worked! Shows 12 files. Now, do I click on replace selected files? or do I go into each file?

Kim

kburner
Burner Christian Bookstore
https://www.burnerbooks.com

1 Nov 2009, 12:30 AM
#673
countrycharm avatar

countrycharm

Totally Zenned

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

Re: RSS2 Feed Contribution

kburner:

Yes. That time it worked! Shows 12 files. Now, do I click on replace selected files? or do I go into each file?

Kim
yes click on replace selected files, also I would check a file or 2 to see if it took care of it for you.

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

1 Nov 2009, 12:54 AM
#674
kburner avatar

kburner

Totally Zenned

Join Date:
Apr 2008
Location:
Flint, Michigan
Posts:
684
Plugin Contributions:
0

Re: RSS2 Feed Contribution

countrycharm:

yes click on replace selected files, also I would check a file or 2 to see if it took care of it for you.

yes, It worked perfect! Thank you. I really like this mod.

Another question....I have admin area set to true for show prices, but do not see when I run rss feed.

Also, if I run more than 500 products seems like takes forever to load...is that ok?

Thanks, Kim

kburner
Burner Christian Bookstore
https://www.burnerbooks.com

1 Nov 2009, 2:18 AM
#675
countrycharm avatar

countrycharm

Totally Zenned

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

Re: RSS2 Feed Contribution

kburner:

yes, It worked perfect! Thank you. I really like this mod.

Another question....I have admin area set to true for show prices, but do not see when I run rss feed.

Also, if I run more than 500 products seems like takes forever to load...is that ok?

Thanks, Kim
Would you give me a link to your site. The Default Products Limit is 100 as you know. You can increase it like you did but it will take a awful long time to load. Mine is set at 250 and it takes a while. This is completely up to you but if it take that long to load you know the customer is not going to stick a round long enough for it to load. I have found for a balance set it a 175 and it will load a lot faster.

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

1 Nov 2009, 3:08 AM
#676
icecold avatar

icecold

Zen Follower

Join Date:
Jul 2008
Posts:
360
Plugin Contributions:
0

Re: RSS2 Feed Contribution

icecold:

This is the error I am getting in ALL my feeds!

XML Parsing Error: junk after document element
Location: http://www.theoutletseason.com/electronics/index.php?main_page=rss_feed&feed=products&products_id=26946
Line Number 2, Column 1:<link rel="alternate" type="application/rss+xml" title="RSS New Products Feed" href="http://www.theoutletseason.com/electronics/index.php?main_page=rss_feed&feed=new_products" />
^

Firefox 3.5.4 displays it and IE8 shows :

Only one top level element is allowed in an XML document.
Line: 2 Character: 2

<link rel="alternate" type="application/rss+xml" title="RSS New Products Feed" href="http://www.theoutletseason.com/electronics/index.php?main_page=rss_feed&feed=new_products" />

under Windows 7 Ultimate.
It worked differently before ...

BTW I tested everything for spaces .... with the script ...
before and also did it manually. So ...

1 Nov 2009, 12:34 PM
#677
kburner avatar

kburner

Totally Zenned

Join Date:
Apr 2008
Location:
Flint, Michigan
Posts:
684
Plugin Contributions:
0

Re: RSS2 Feed Contribution

countrycharm:

Would you give me a link to your site. The Default Products Limit is 100 as you know. You can increase it like you did but it will take a awful long time to load. Mine is set at 250 and it takes a while. This is completely up to you but if it take that long to load you know the customer is not going to stick a round long enough for it to load. I have found for a balance set it a 175 and it will load a lot faster.

https://www.burnerbooks.com

I think I might change it back..maybe at 175 like you suggest....just that I have over 4,000 products.
Thanks, Kim

kburner
Burner Christian Bookstore
https://www.burnerbooks.com

2 Nov 2009, 12:58 AM
#678
countrycharm avatar

countrycharm

Totally Zenned

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

Re: RSS2 Feed Contribution

kburner:

www.burnerbooks.com

I think I might change it back..maybe at 175 like you suggest....just that I have over 4,000 products.
Thanks, Kim
I'm not sure why it is not showing the price. I just looked at mine and it is not showing the price either for some reason even though I have Generate Products Price set to true. I have to look into this a little deeper to see why. I just went to your site and the load time is 37 seconds for your feed. I think that is way to long. I see another problem also, or you may have did it on purpose. I don't see the feed icon in your browser when I go to your web site. That is where you have a choice on new products feed, featured feed, all products feed and so on.

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

2 Nov 2009, 2:46 AM
#679
happymom avatar

happymom

New Zenner

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

Re: RSS2 Feed Contribution

I see that other people had a similar problem like mine, but I don't see any solutions posted.

My problem is that I am getting the errors below. Can anyone help?

Thanks!

Warning: Cannot modify header information - headers already sent by (output started at /home/mxfimrk/public_html/includes/templates/barebones/common/html_header.php:22) in /home/mxfimrk/public_html/includes/classes/rss_feed.php on line 353

Warning: Cannot modify header information - headers already sent by (output started at /home/mxfimrk/public_html/includes/templates/barebones/common/html_header.php:22) in /home/mxfimrk/public_html/includes/classes/rss_feed.php on line 354

Warning: Cannot modify header information - headers already sent by (output started at /home/mxfimrk/public_html/includes/templates/barebones/common/html_header.php:22) in /home/mxfimrk/public_html/includes/classes/rss_feed.php on line 355

Warning: Cannot modify header information - headers already sent by (output started at /home/mxfimrk/public_html/includes/templates/barebones/common/html_header.php:22) in /home/mxfimrk/public_html/includes/classes/rss_feed.php on line 356

2 Nov 2009, 3:20 AM
#680
happymom avatar

happymom

New Zenner

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

Re: RSS2 Feed Contribution

Well, I read about this types of errors and it says that you get this error when you have a whitespace or blank line in the code.

Here is that post if anyone is interested:
http://www.geeklog.net/faqman/index.php?op=view&t=38

The problem is I do not see the blank line. My code is below. The section highlighted in red is supposed to be the offending line, but I do not see a blank space at the end.

Does anyone else see it?

Thanks,

<!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" <?php echo HTML_PARAMS; ?>>

<head> <title><?php echo META_TAG_TITLE; ?></title> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>" /> <meta name="keywords" content="<?php echo META_TAG_KEYWORDS; ?>" /> <meta name="description" content="<?php echo META_TAG_DESCRIPTION; ?>" />