Forums / All Other Contributions/Addons / RSS2 Feed Contribution

RSS2 Feed Contribution

Views: 202,797

Results 681 to 700 of 955
2 Nov 2009, 4:24 AM
#681
countrycharm avatar

countrycharm

Totally Zenned

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

RSS2 Feed Contribution

HappyMom:

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; ?>" />

Try this script and see if it helps remove the white space.
Download it unzip it upload it to your server root and run it.
http://www.your.com/found_extra_space.php

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

2 Nov 2009, 5:16 AM
#682
happymom avatar

happymom

New Zenner

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

Re: RSS2 Feed Contribution

OK.

I tried the script, run it and update all of the files with the //EOF....

but that didn't worked. :unsure:

2 Nov 2009, 6:07 AM
#683
countrycharm avatar

countrycharm

Totally Zenned

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

Re: RSS2 Feed Contribution

HappyMom:

OK.

I tried the script, run it and update all of the files with the //EOF....

but that didn't worked. :unsure:
Check and make sure if you use a folder override that the templates/your_template folder was uploaded correct.

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

2 Nov 2009, 7:08 AM
#684
johnk avatar

johnk

New Zenner

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

Re: RSS2 Feed Contribution

Hi Countrycharm,

Just a quick update on my site. I just uploaded a heap of new content. For a while there it didn't look like Google's RSS module was working, because the old content stayed there for an hour or so. Then 'Bingo', out of the blue, the new content appeared with no buy now button just as I wanted.

Fantastic stuff, and please let me thank you again for all the support you are offering everyone here.

I only struck one problem installing the module on what I consider to be a complex Zen cart site. Firstly I'm running the site in Showcase mode (like a catalogue without prices or shopping cart). Secondly, I have a dozen other mods installed including "Product Book", numerous empty side boxes, Adsense etc.

The problem I had was in the installation package. There was an SQL patch and two update patches. Not knowing what they were for, I installed the main patch, then the updates. Nothing worked. I reinstalled the module without the updates and it worked fine. There's nothing in the docs as far as I can see that tell what the update patches are actually for.

Thanks again. Your help was invaluable.

John

2 Nov 2009, 1:48 PM
#685
kburner avatar

kburner

Totally Zenned

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

Re: RSS2 Feed Contribution

countrycharm:

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.

Hi countrycharm,

My website https://www.burnerbooks.com has rss feed icon in bottom
left corner. Fee link is http://www.burnerbooks.com/index.php?main_page=rss_feed&feed=new_products. Not sure what you mean by icon with choice of new products fee, featured fee or all products...?

Thanks, Kim

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

2 Nov 2009, 6:06 PM
#686
johnk avatar

johnk

New Zenner

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

Re: RSS2 Feed Contribution

*Snippet: Not sure what you mean by icon with choice of new products fee, featured fee or all products...?

Me neither, but it doesn't matter on my site.
*

3 Nov 2009, 1:58 AM
#687
countrycharm avatar

countrycharm

Totally Zenned

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

Re: RSS2 Feed Contribution

kburner:

Hi countrycharm,

My website www.burnerbooks.com has rss feed icon in bottom
left corner. Fee link is http://www.burnerbooks.com/index.php?main_page=rss_feed&feed=new_products. Not sure what you mean by icon with choice of new products fee, featured fee or all products...?

Thanks, Kim

Look at my site here, you will see an orange icon at the top where my web address is on the right. I don't see it on neither one of your sites.

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

3 Nov 2009, 2:07 AM
#688
kburner avatar

kburner

Totally Zenned

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

Re: RSS2 Feed Contribution

countrycharm:

Look at my site here, you will see an orange icon at the top where my web address is on the right. I don't see it on neither one of your sites.

Yes, now I see it! I do not have that...wonder what happened???

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

3 Nov 2009, 2:01 PM
#689
countrycharm avatar

countrycharm

Totally Zenned

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

Re: RSS2 Feed Contribution

kburner:

Yes, now I see it! I do not have that...wonder what happened???
Just make sure your override system for includes > templates/your_template is named correct. If that not it I'm not sure why it is not showing on your site. includes > functions > extra_functions > rss_feed.php is the file that controls what you want to show though.

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

3 Nov 2009, 3:18 PM
#690
johnk avatar

johnk

New Zenner

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

Re: RSS2 Feed Contribution

Countrycharm, although it's not really important for my site, i'd still like to get it right.

  • The templates directory is named correctly. I have heaps of stuff in there and everything else is working fine.
  • I'm a bit confused about the SQL files. Update 2.0.2 has an older date than install.sql so I didn't run it. I did on the first attempt to get the script to work and ran into trouble. Without it, the script works fine.
  • Update 2.1.3 has the same date as install,sql so I didn't run it either, thinking that it may be updating an earlier version.
  • As far as I can see, there's nothing in the docs about either update.
  • The rest of the modules files are all in the right place.
  • There's no gif or png file for the little icon. How is it generated?
    I can't offer any more info I'm sorry.
4 Nov 2009, 2:16 AM
#691
countrycharm avatar

countrycharm

Totally Zenned

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

Re: RSS2 Feed Contribution

johnk:

Countrycharm, although it's not really important for my site, i'd still like to get it right.

  • The templates directory is named correctly. I have heaps of stuff in there and everything else is working fine.
  • I'm a bit confused about the SQL files. Update 2.0.2 has an older date than install.sql so I didn't run it. I did on the first attempt to get the script to work and ran into trouble. Without it, the script works fine.
  • Update 2.1.3 has the same date as install,sql so I didn't run it either, thinking that it may be updating an earlier version.
  • As far as I can see, there's nothing in the docs about either update.
  • The rest of the modules files are all in the right place.
  • There's no gif or png file for the little icon. How is it generated?

I can't offer any more info I'm sorry.

First of all anytime you do a clean install the install.sql has all the update their are needed. The other 2 are just updates if you are running and older version ad need to update to the current version. Now why you 2 are not showing the icon in the web address I'm not sure why as of yet. If everything is installed correctly it should show up. Maybe this is a question that Andrew should answer.

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

4 Nov 2009, 10:01 AM
#693
bonheddwr avatar

bonheddwr

Zen Follower

Join Date:
Jun 2007
Location:
Cymru
Posts:
124
Plugin Contributions:
0

Re: RSS2 Feed Contribution

countrycharm:

Try this script and see if it helps remove the white space.
Download it unzip it upload it to your server root and run it.
http://www.your.com/found_extra_space.php

From clicking on the above link, I simply get taken to another Zen Cart page, and then when I click again, it downloads a .exe file NOT a zip. Please let me know the correct location of the found_extra_space.php file so that I can download it.

4 Nov 2009, 10:04 AM
#694
bonheddwr avatar

bonheddwr

Zen Follower

Join Date:
Jun 2007
Location:
Cymru
Posts:
124
Plugin Contributions:
0

Re: RSS2 Feed Contribution

Sorry, the .exe file extracts the php file to the chosen location. Have done so now. Many Thanks.

4 Nov 2009, 10:12 AM
#695
bonheddwr avatar

bonheddwr

Zen Follower

Join Date:
Jun 2007
Location:
Cymru
Posts:
124
Plugin Contributions:
0

Re: RSS2 Feed Contribution

**countrycharm you are my saviour. It worked a treat and my RSS file shows up perfectly now :D - if anyone else is having the same problems, please use this download. It simple, and works perfectly. I had 21 bad files. 1 click fixed them all :smile:
**

4 Nov 2009, 10:20 AM
#696
a_berezin avatar

a_berezin

Deceased

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

Re: RSS2 Feed Contribution

For everyone who received an error

Invalid xml declaration.

This version does not support gzip compression! Turn it off in the admin.
Pro version works with the enabled gzip.

NOTE: We are sorry that Andrew is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

4 Nov 2009, 10:45 AM
#697
bonheddwr avatar

bonheddwr

Zen Follower

Join Date:
Jun 2007
Location:
Cymru
Posts:
124
Plugin Contributions:
0

Re: RSS2 Feed Contribution

One more quick question. I want to submit the file to Google's Product Search. The location of my feed is here - http://www.cadwyngifts.com/rss_feed.html - but google require me to specify a data feed file name in one of the following formats

  • txt
  • .xml
  • .gz
  • .zip
  • .Z
  • .bz2
    Is there any way of using this mod together with Google Product Search? The only way I can think of doing it is by saving the source code of http://www.cadwyngifts.com/rss_feed.html -and saving it as a .xml document and uploading manually via FTP to my server, and using that, but obviously this will not be updated when I add new products :huh:

If the above doesn't make a lot of sense, Sorry I am a beginner.

4 Nov 2009, 2:48 PM
#698
countrycharm avatar

countrycharm

Totally Zenned

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

Re: RSS2 Feed Contribution

bonheddwr:

I really want to try to use this script to sort out the error message that I get:

http://ecommerce-service.com/download/found_extra_space.zip

But it is not there. Site is down for maintanance. Anyone know where I can find a copy of this file to download please... :dontgetit

Glad I could help.

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

4 Nov 2009, 2:53 PM
#699
countrycharm avatar

countrycharm

Totally Zenned

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

Re: RSS2 Feed Contribution

bonheddwr:

One more quick question. I want to submit the file to Google's Product Search. The location of my feed is here - http://www.cadwyngifts.com/rss_feed.html - but google require me to specify a data feed file name in one of the following formats

  • txt
  • .xml
  • .gz
  • .zip
  • .Z
  • .bz2

Is there any way of using this mod together with Google Product Search? The only way I can think of doing it is by saving the source code of http://www.cadwyngifts.com/rss_feed.html -and saving it as a .xml document and uploading manually via FTP to my server, and using that, but obviously this will not be updated when I add new products :huh:

If the above doesn't make a lot of sense, Sorry I am a beginner.

Andrew will be able to tell you more on this.

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

4 Nov 2009, 3:25 PM
#700
kburner avatar

kburner

Totally Zenned

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

Re: RSS2 Feed Contribution

countrycharm:

Just make sure your override system for includes > templates/your_template is named correct. If that not it I'm not sure why it is not showing on your site. includes > functions > extra_functions > rss_feed.php is the file that controls what you want to show though.

Yes, I have the file includes/functions/extra_functions/rss.feed.php loaded. Where should I look within the file?

Thanks, Kim

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