-
Re: RSS2 Feed Contribution
Hmm, when I put in:
Code:
<?php echo rss_feed_link_alternate(); // RSS Feed ?
in the html_header.php it crashes the site, it just pulls up a blank age. I've also tried closing it out with:
Code:
<?php echo rss_feed_link_alternate(); // RSS Feed ? />
but it still crashes the site.
-
Re: RSS2 Feed Contribution
Never mind, I figured it out (and kicking myself for being an idiot) :oops: . Thanks for everyone's help!
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
countrycharm
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.
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.
Hi, countrycharm
I have installed rss feed on my local test site. It works ok under IE7, but in FF3.5, when I click on the rss icon inside address bar and select a rss feed from dropdown, nothing happen. But, when I click on the footer rss button, I would be led to the all products rss feeds page, it is ok. The problem looks weird! I have tried to visit your site via FF3.5, it all works fine.
Another question is how to make the site logo appear in the rss feed page just as your site. What format would be used? I used "http://www.example.com/nikeshoes/includes/templates/pure_orange/images/logo.png" on my local testing site.
I confirmed I have followed everything in the readme file.
Thanks in advance,
-
Re: RSS2 Feed Contribution
Im getting duplicates for the rss feed.
It will list items 2 or 3 times,
Is there a way to stop this. or to specify unique items.
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
ShoesBuyOnline
Hi, countrycharm
I have installed rss feed on my local test site. It works ok under IE7, but in FF3.5, when I click on the rss icon inside address bar and select a rss feed from dropdown, nothing happen. But, when I click on the footer rss button, I would be led to the all products rss feeds page, it is ok. The problem looks weird! I have tried to visit your site via FF3.5, it all works fine.
Another question is how to make the site logo appear in the rss feed page just as your site. What format would be used? I used "http://www.example.com/nikeshoes/includes/templates/pure_orange/images/logo.png" on my local testing site.
I confirmed I have followed everything in the readme file.
Thanks in advance,
Are you using a custom folder for your template or the default of zen cart? I use a logo.gif. Yours should work if it is in the right folder, and it seems to be.
/includes/templates/Your_Template/images logo.png
Under your store/configuration/RSS_FEED/ put this in were it says
RSS Image: logo.png
Should work, if not let me know.
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
countrycharm
Are you using a custom folder for your template or the default of zen cart? I use a logo.gif. Yours should work if it is in the right folder, and it seems to be.
/includes/templates/Your_Template/images logo.png
Under your store/configuration/RSS_FEED/ put this in were it says
RSS Image: logo.png
Should work, if not let me know.
Hi, countrycharm
Thanks for your help. Right, it works. No path needed for logo.png, only putting the filename at the rss image configuration.
Best regards,
-
Re: RSS2 Feed Contribution
Is there anyway to show RSS2 feed in Russian.
Right now it doesn't matter in what language you are, the feed will be always showing english.
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
alyona
Is there anyway to show RSS2 feed in Russian.
Right now it doesn't matter in what language you are, the feed will be always showing english.
It is suppose to work with either one Russian or English.
-
Re: RSS2 Feed Contribution
Hi!
I have a small problem with the rss contribution - the feeds are all working except the "products feed"
i get this error:
can anyone help me figure this out? Would be so nice!
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
zvenson
Hi!
I have a small problem with the rss contribution - the feeds are all working except the "products feed"
i get this error:
can anyone help me figure this out? Would be so nice!
You wouldn't happen to have the wordpress module installed, would you? I have seen this error on the wordpress on zen thread, somehow the feed is being embedded into a regular zen cart page and not on it's own page.
-
Re: RSS2 Feed Contribution
oh well - good point - i installed the wordpress thing but "disabled" it because i'm not using it - maybe i forgot to disable it entirely - hmmmm - well if you know how to solve this then let me know! thank you very much!
-
Re: RSS2 Feed Contribution
strange - the files from the wp-contrib and the database entries were already deleted - but i had to delete the sidebox things in TOOLS->LAYOUT BOX CONTROLLER -> WP_.... manually - now everything is working.
Thanks lankeeyankee for pointing me to the right direction! :bigups:
zvenson
UUPS: SORRY the problem is still there - i was happy to early :(.
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
asauterChicago
Hmm, when I put in:
Code:
<?php echo rss_feed_link_alternate(); // RSS Feed ?
in the html_header.php it crashes the site, it just pulls up a blank age. I've also tried closing it out with:
Code:
<?php echo rss_feed_link_alternate(); // RSS Feed ? />
but it still crashes the site.
Do you mind sharing ho you fixed the problem? Thanks!
-
Re: RSS2 Feed Contribution
hi
My RSS feed works fine, but the little RSS icon only appears in my browser and when I click on an image (at the top of the image)
This little icon does not appear on my webshop in the header or footer.
How do I get it there?
www.afro-masks.com
-
Re: RSS2 Feed Contribution
Hey every one
What happend it always disply"invalid xml announce.
line: 2 character: 3
<?xml version="1.0" encoding="UTF-8"?>"
after i installed it
My site":http://gueston.com
Thanks any replys
-
Re: RSS2 Feed Contribution
Hi BlessIsaacola,
Quote:
Originally Posted by
BlessIsaacola
Do you mind sharing ho you fixed the problem? Thanks!
You have really a problem with that?
Code:
<?php echo rss_feed_link_alternate(); // RSS Feed ?>
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
lankeeyankee
You wouldn't happen to have the wordpress module installed, would you? I have seen this error on the wordpress on zen thread, somehow the feed is being embedded into a regular zen cart page and not on it's own page.
Edit your wordpress-config.php
Find
Code:
if(isset($_GET['feed'])){
and replace by
Code:
if (isset($_GET['feed']) && ($_GET['feed'] == 'rss2' || $_GET['feed'] == 'comments-rss2')) {
-
Re: RSS2 Feed Contribution
I have only an image of Rss in my footer ,but when I click it nothing happens. It does not act as a link.
Can anyone tell me what it means?
www.afro-masks.com
-
Re: RSS2 Feed Contribution
lieven23,
First you need to correct the html-errors - http://validator.w3.org/check?uri=ht...idator%2F1.654
-
Re: RSS2 Feed Contribution
Andrew,
I solved the problems, errors and now my page is:
This document was successfully checked as XHTML 1.0 Transitional!
-
Re: RSS2 Feed Contribution
Hi
I downloaded and installed rss_feed_2-1-4.zip
It worked fine until I installed a different template. I re-uploaded the feed files making sure the appropriate file went into my new template folder, which didn't get it working.
I removed all installation files and uninstalled the sql.
Next I uploaded the files and then installed the install.sql. The feed icon is in the footer and generates the feed but I don't know what I'm missing to get it up in the address bar.
The feed icon image is uploaded and in the includes/templates/mytemplate/images folder.
This code
Code:
<?php echo rss_feed_link_alternate(); // RSS Feed ?>
has been placed in /includes/templates/mytemplate/common/html_header.php
The rss image is named in configuration.
Any ideas what I may be missing? :frusty:
-
Re: RSS2 Feed Contribution
Ok, so in the meantime I went back and re-re-read the directions and this is step 2
2. Go to Admin->Tools->Install SQL Patches and install install.sql (don't use upload - use copy/paste to install sql).
Now, the first time I had rss mod working I can't remember if I had installed the patches along with the install.sql or not.
So I gave that a try to see it that was what I was missing.
Doing that took me a step backward. I get this error now when I try to do the install.sql
in part (cause it's humongous):
1062 Duplicate entry 'RSS_HOMEPAGE_FEED' for key 'unq_config_key_zen' in: [INSERT INTO zen_configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added, use_function, set_function)
The uninstall.sql isn't removing the patches I guess.
What is to be done now?
Please help. :(
-
Re: RSS2 Feed Contribution
Hi lieven23,
Quote:
Originally Posted by
lieven23
Andrew,
I solved the problems, errors and now my page is:
This document was successfully checked as XHTML 1.0 Transitional!
I see this code in the page bottom:
Code:
<!--bof RSS Feed -->
<div id="RSSFeedLink"></div>
<!--eof RSS Feed -->"
Strange extra quote.
Can you show me this php-code?
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
buildingblocks
1062 Duplicate entry 'RSS_HOMEPAGE_FEED' for key 'unq_config_key_zen' in: [INSERT INTO zen_configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added, use_function, set_function)
The uninstall.sql isn't removing the patches I guess.
Very strange. Show me uninstall.sql that you use. How do you run it?
-
Re: RSS2 Feed Contribution
I fixed the problem in my tpl_footer.php file. there was an " too much at the end.
But unfortunatly the rss image still does not act as a link .
http://www.afro-masks.com/african-tribal-masks-c-1.html
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
a_berezin
Very strange. Show me uninstall.sql that you use. How do you run it?
Hi Andrew
I paste the code into the input box and send it.
This is the uninstall sql found in the package
Code:
SET @configuration_group_id=0;
SELECT (@configuration_group_id:=configuration_group_id) FROM configuration_group WHERE configuration_group_title= 'RSS Feed' LIMIT 1;
DELETE FROM configuration WHERE configuration_group_id = @configuration_group_id AND configuration_group_id != 0;
DELETE FROM configuration_group WHERE configuration_group_id = @configuration_group_id AND configuration_group_id != 0;
DELETE FROM configuration WHERE configuration_key = 'RSS_FEED_VERSION';
Thanks
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
lieven23
Some errors in your template - if you disable the css, then the link works fine.
-
Re: RSS2 Feed Contribution
Is there really no solution to my problem from posts #621, #622, #626? I would really like to get this mod working again.
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
buildingblocks
Is there really no solution to my problem from posts #621, #622, #626? I would really like to get this mod working again.
Well hoooray
I managed to figure out how to manually delete the duplicate statements from phpmyadmin.
I got the rss sql added back to my database and the rss mod is finally working.
-
Re: RSS2 Feed Contribution
Hi Andrew I have a little problem for some reason. When my rss feed is set to products, and When I click the Rss Feed icon at the bottom of my page it just brings up the subscribe page with no content beside that. I don't know whats going on. It use to work. I haven't added any new modules. Thanks in advance.
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
countrycharm
Hi Andrew I have a little problem for some reason. When my rss feed is set to products, and When I click the Rss Feed icon at the bottom of my page it just brings up the subscribe page with no content beside that. I don't know whats going on. It use to work. I haven't added any new modules. Thanks in advance.
Never mind I just re-uploaded all file and everything is working again.
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
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.
this fixed extra spaces in language file :)
thanks
-
Re: RSS2 Feed Contribution
I apologize if the answer is in the thread - I just could not find it. I installed the mod. Did the sql update. And added the lines in step 4 and 5 of instruction. Easy process, no problem. Where is my feed? I do not have an icon, url or etc to find it. the web address is www.g-trains.com Thanks in advance for your help
-
Re: RSS2 Feed Contribution
Please excuse my last post - what a stupid rule (ha, ha) - you have to load the files to the template you are using. Sorry for the previous post
-
Re: RSS2 Feed Contribution
Hello , i got a special trouble :blink: , Very headache.
my site is http://www.screambuy.com
RSS2 generate all links like this : <link>http://www.screambuy.com/for-dell-de2200-148v-4400mah-laptop-battery-p-989.html&language=en</link>
But when clicked , my site have no such page .
I notice it should be "&language=en" cause such trouble .
So , how can i remove it ?
I suppose to edit RSS2.PHP : <link><![CDATA[<?php echo HTTP_SERVER . DIR_WS_CATALOG; ?>]]></link>
But it seems that impossible .
At present , have to use Robot.txt to prevent bots to visit such wrong link .
Hope that some one can teach me how to solve , MANY THANKS !
-
Re: RSS2 Feed Contribution
Hello, it's me again. I installed this superb looking Mod a few months back, but have never managed to get it to work.
The error I get is the following:
Invalid xml declaration.
Line: 1 Character: 4
<?xml version="1.0" encoding="iso-8859-1"?>
I have read through each and every page of this thread. I understand that I need to look for spaces and extra lines in the language and other files. I have done so manually, but cannot find what is wrong. I see from looking at the source code of my RSS feed - http://www.cadwyngifts.com/rss_feed.html - that there is a space right at the begining. The problem is I do not know what I need to change and in which file to get rid of this space.
The script that is refered to here - http://ecommerce-service.com/downloa...xtra_space.zip - does not seem to be available...
Thanks a_berezin for this mod! :smile:
-
Re: RSS2 Feed Contribution - FILE NOT FOUND
Andrew hello:
rss2.php,v 1.5.7 15.12.2006
Zen Cart 1.3.5
PHP Version 4.4.9
Database: MySQL 5.0.81-community
HTTP Server: Apache/1.3.41
http://www.hardwaredirect.net.au/rss2.php
generates FILE NOT FOUND error/page
had been working fine for a long time... did not change anything
thanks
GSH:cry:
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
bonheddwr
Hello, it's me again. I installed this superb looking Mod a few months back, but have never managed to get it to work.
The error I get is the following:
Invalid xml declaration.
Line: 1 Character: 4
<?xml version="1.0" encoding="iso-8859-1"?>
I have read through each and every page of this thread. I understand that I need to look for spaces and extra lines in the language and other files. I have done so manually, but cannot find what is wrong. I see from looking at the source code of my RSS feed -
http://www.cadwyngifts.com/rss_feed.html - that there is a space right at the begining. The problem is I do not know what I need to change and in which file to get rid of this space.
The script that is refered to here -
http://ecommerce-service.com/downloa...xtra_space.zip - does not seem to be available...
Thanks
a_berezin for this mod! :smile:
Hmm ?? does any one meet same trouble as mine ? Thanks
-
Re: RSS2 Feed Contribution
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:
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
bonheddwr
Hello, it's me again. I installed this superb looking Mod a few months back, but have never managed to get it to work.
The error I get is the following:
Invalid xml declaration.
Line: 1 Character: 4
<?xml version="1.0" encoding="iso-8859-1"?>
I have read through each and every page of this thread. I understand that I need to look for spaces and extra lines in the language and other files. I have done so manually, but cannot find what is wrong. I see from looking at the source code of my RSS feed -
http://www.cadwyngifts.com/rss_feed.html - that there is a space right at the begining. The problem is I do not know what I need to change and in which file to get rid of this space.
The script that is refered to here -
http://ecommerce-service.com/downloa...xtra_space.zip - does not seem to be available...
Thanks
a_berezin for this mod! :smile:
Still trying to figure out how to get rid of that blasted 'space' at the begining of the source code for the page - http://www.cadwyngifts.com/rss_feed.html - it seems to work fine if that gap isn't there!! :wacko:
-
Re: RSS2 Feed Contribution
I installed this nice RSS Feed just a few days ago and I would like to post the RSS icon in the header but I don't know how to do this? I have the latest Zen-cart version and patched I also install the apple zen template. Can any one could let me know how I could add it so it show up in my header and stay the icon click there all the time?
Thank you very much
-
rss2.php : FILE NOT FOUND error/page
hello:
no replies... ? trying again....
rss2.php,v 1.5.7 15.12.2006
Zen Cart 1.3.5
PHP Version 4.4.9
Database: MySQL 5.0.81-community
HTTP Server: Apache/1.3.41
SEO URL's Module - default param's
http://www.hardwaredirect.net.au/rss2.php
generates FILE NOT FOUND error/page
had been working fine for a long time... did not change anything
thanks
GSH:cry:
-
Re: RSS2 Feed Contribution
Hi, can somebodu help with RSS?
I install RSS Feed Version Date v 2.1.4
When I clik on icon RSS in toolbar I geting message:
...............................
Error!
XML parsing failed
XML parsing failed: syntax error (Line: 1, Character: 0)
Reparse document as HTML
Error:unexpected text (non-whitespace text outside root element)
Specification:http://www.w3.org/TR/REC-xml/
="2.0"
..........................
I install a sitemap XLM end I don't knew hat to setup RSS Feed!!!
www.kavanali.com
-
Re: RSS2 Feed Contribution
Hi
Installed the feed fine all working but when i validate i get this error:
guid values must not be duplicated within a feed
This is the line of code that is erroring:
<guid isPermaLink="true">http://www.mysite.co.uk/my-product-p-305.html</guid>
Any ideas?
thank you
Suekay
-
Don't need BUY NOW link. How do I remove it?
This contribution is really going to help me, except my site's a catalogue or directory where nothing is sold.
I had no trouble removing the Buy Now button in Admin and I thought this would also remove the Buy Now link.
Not so!
A text link with the words Buy Now still appears in the feed. This link takes my users to the checkout which under normal circumstances is inaccessible on my site.
Being not too PHP savvy, can some kind person tell me how I can remove the Buy Now link please.
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
countrycharm
Everything else you need to keep. Just delete the rss feed files thats all and your feed will be up to date from now own until you add more products or delete them then you will have to do the same thing to keep your store RSS up to date.
Hi, countrycharm
If there is any script like cron job in cpanel to automate such routine? :smile:
Regards,
-
Re: RSS2 Feed Contribution
Hello all,
I have just finished the RSS install. It's fantastic!.
However I need to remove the 'Date Added' from each product.
I tried a_berezin's method on page 50 of this thread (post #500)
But unfortunately this didn't work for me?? :lamo:
I contaced a_berezin via PM and he said it should work. But it didn't.
I added a new test product and checked to see if the date added was removed from the RSS but it wasn't :(
Does anyone know why this doesn't work? Can anyone confirm that this does work? Anyone have any more suggestions?
Regards :smile:
-
Re: RSS2 Feed Contribution
Hi, can somebodu help with RSS?
I install RSS Feed Version Date v 2.1.4
When I clik on icon RSS in toolbar I geting message:
...............................
Error!
XML parsing failed
XML parsing failed: syntax error (Line: 1, Character: 0)
Reparse document as HTML
Error:unexpected text (non-whitespace text outside root element)
Specification:http://www.w3.org/TR/REC-xml/
="2.0"
..........................
I install a sitemap XLM end I don't knew hat to setup RSS Feed!!!
www.kavanali.com
:no:
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
ShoesBuyOnline
Hi, countrycharm
If there is any script like cron job in cpanel to automate such routine? :smile:
Regards,
Paste this script in your admin/tools/install sql patches and it will take care of it for you. Andrew gave this code a while back. Make sure you delete your cache again if their is a Rss feed there. It will not cache anymore of your RSS Feeds and will stay up to date from now own.
PHP Code:
UPDATE configuration SET set_function=NULL WHERE configuration_key = 'RSS_CACHE_TIME';
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
gaffettape
Hello all,
I have just finished the RSS install. It's fantastic!.
However I need to remove the 'Date Added' from each product.
I tried a_berezin's method on page 50 of this thread (post #500)
But unfortunately this didn't work for me?? :lamo:
I contaced a_berezin via PM and he said it should work. But it didn't.
I added a new test product and checked to see if the date added was removed from the RSS but it wasn't :(
Does anyone know why this doesn't work? Can anyone confirm that this does work? Anyone have any more suggestions?
Regards :smile:
Do you want the date to be removed all together, or do you just want the date to be today's date on every product?
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
kobra8
Hi, can somebodu help with RSS?
I install RSS Feed Version Date v 2.1.4
When I clik on icon RSS in toolbar I geting message:
...............................
Error!
XML parsing failed
XML parsing failed: syntax error (Line: 1, Character: 0)
Reparse document as HTML
Error:unexpected text (non-whitespace text outside root element)
Specification:
http://www.w3.org/TR/REC-xml/
="2.0"
..........................
I install a sitemap XLM end I don't knew hat to setup RSS Feed!!!
www.kavanali.com
:no:
When I clik on icon RSS in toolbar I geting message:
What are you talking about? Are you talking about in admin of your store, if so their is no rss feed under tools. It is under configurations.
Make sure you uploaded all files to there correct location. If you have a override system in place, make sure you have renamed templates/ YOUR_TEMPLATE folder to the name you are using.
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
countrycharm
Paste this script in your admin/tools/install sql patches and it will take care of it for you. Andrew gave this code a while back. Make sure you delete your cache again if their is a Rss feed there. It will not cache anymore of your RSS Feeds and will stay up to date from now own.
PHP Code:
UPDATE configuration SET set_function=NULL WHERE configuration_key = 'RSS_CACHE_TIME';
Hi, countrycharm
You are really helpful. With the sql you offer above and setting 'feed cache time' to 0 in rss feed admin interface, it really doesn't cache anymore. :smile:
Best regards,
-
Re: RSS2 Feed Contribution
Hi Countrycharm,
Maybe you have the answer to my question which has gone unanswered. The option to remove the Buy Now button in the Admin section only removes the button, not the link. Do you know where I should go to remove the link? I'm amazed that the option doesn't do both.
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by bonheddwr http://www.zen-cart.com/forum/images...s/viewpost.gif
Hello, it's me again. I installed this superb looking Mod a few months back, but have never managed to get it to work.
The error I get is the following:
Invalid xml declaration.
Line: 1 Character: 4
<?xml version="1.0" encoding="iso-8859-1"?>
I have read through each and every page of this thread. I understand that I need to look for spaces and extra lines in the language and other files. I have done so manually, but cannot find what is wrong. I see from looking at the source code of my RSS feed - http://www.cadwyngifts.com/rss_feed.html - that there is a space right at the begining. The problem is I do not know what I need to change and in which file to get rid of this space.
The script that is refered to here - http://ecommerce-service.com/downloa...xtra_space.zip - does not seem to be available...
Thanks a_berezin for this mod! :smile:
Still trying to figure out how to get rid of that blasted 'space' at the begining of the source code for the page - http://www.cadwyngifts.com/rss_feed.html - it seems to work fine if that gap isn't there!! :wacko:
Any ideas guys? I would really like to get this working. :no:
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
countrycharm
Do you want the date to be removed all together, or do you just want the date to be today's date on every product?
Hello Countrycharm,
Thanks for your response.
I would like the date added to be removed from the feed.
Regards,
-
Re: RSS2 Feed Contribution
Quote:
What are you talking about? Are you talking about in admin of your store, if so their is no rss feed under tools. It is under configurations.
Make sure you uploaded all files to there correct location. If you have a override system in place, make sure you have renamed templates/ YOUR_TEMPLATE folder to the name you are using.
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:
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
johnk
Hi Countrycharm,
Maybe you have the answer to my question which has gone unanswered. The option to remove the Buy Now button in the Admin section only removes the button, not the link. Do you know where I should go to remove the link? I'm amazed that the option doesn't do both.
I will answer you in a little while. Maybe I can help.
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
bonheddwr
Quote:
Originally Posted by
bonheddwr http://www.zen-cart.com/forum/images...s/viewpost.gif
Hello, it's me again. I installed this superb looking Mod a few months back, but have never managed to get it to work.
The error I get is the following:
Invalid xml declaration.
Line: 1 Character: 4
<?xml version="1.0" encoding="iso-8859-1"?>
I have read through each and every page of this thread. I understand that I need to look for spaces and extra lines in the language and other files. I have done so manually, but cannot find what is wrong. I see from looking at the source code of my RSS feed - http://www.cadwyngifts.com/rss_feed.html - that there is a space right at the begining. The problem is I do not know what I need to change and in which file to get rid of this space.
The script that is refered to here - http://ecommerce-service.com/downloa...xtra_space.zip - does not seem to be available...
Thanks a_berezin for this mod! :smile:
Still trying to figure out how to get rid of that blasted 'space' at the begining of the source code for the page -
http://www.cadwyngifts.com/rss_feed.html - it seems to work fine if that gap isn't there!! :wacko:
Any ideas guys? I would really like to get this working. :no:
Download this this script and run it to check for extra white spaces.
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
johnk
Hi Countrycharm,
Maybe you have the answer to my question which has gone unanswered. The option to remove the Buy Now button in the Admin section only removes the button, not the link. Do you know where I should go to remove the link? I'm amazed that the option doesn't do both.
So what you want to do is have no link to your site at all, or am I miss understanding you. Are you saying that when you tick off the buy now button in admin/configuration that their is still a link were the buy now button was.
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
gaffettape
Hello Countrycharm,
Thanks for your response.
I would like the date added to be removed from the feed.
Regards,
Open up /includes/modules/pages/rss_feed an go down to line 515 and change this
PHP Code:
date('r', strtotime($products->fields['products_date'])),
to this that should do it for you.
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
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.
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
countrycharm
Open up /includes/modules/pages/rss_feed an go down to line 515 and change this
PHP Code:
date('r', strtotime($products->fields['products_date'])),
to this
that should do it for you.
Spot on pal, worked a treat. Thanks :smile:
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
gaffettape
Spot on pal, worked a treat. Thanks :smile:
I'm glad I could help.
-
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
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
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
PHP Code:
UPDATE configuration SET set_function=NULL WHERE configuration_key = 'RSS_CACHE_TIME';
-
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
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
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.
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
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:
-
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/elect...ducts_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 ...
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
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
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
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
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
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
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
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.
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
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
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
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.
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
icecold
This is the error I am getting in ALL my feeds!
XML Parsing Error: junk after document element
Location:
http://www.theoutletseason.com/elect...ducts_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 ...
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
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.
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
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
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.
-
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
-
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; ?>" />
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
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
-
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:
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
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.
-
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
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
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 www.burnerbooks.com has rss feed icon in bottom
left corner. Fee link is http://www.burnerbooks.com/index.php...d=new_products. Not sure what you mean by icon with choice of new products fee, featured fee or all products...?
Thanks, Kim
-
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.
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
kburner
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.
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
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???
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
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.
-
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.
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
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.
-
Re: RSS2 Feed Contribution
I really want to try to use this script to sort out the error message that I get:
http://ecommerce-service.com/downloa...xtra_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
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
countrycharm
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.
-
Re: RSS2 Feed Contribution
Sorry, the .exe file extracts the php file to the chosen location. Have done so now. Many Thanks.
-
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:
-
Re: RSS2 Feed Contribution
For everyone who received an error
Quote:
Invalid xml declaration.
This version does not support gzip compression! Turn it off in the admin.
Pro version works with the enabled gzip.
-
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
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.
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
bonheddwr
I really want to try to use this script to sort out the error message that I get:
http://ecommerce-service.com/downloa...xtra_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.
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
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
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.
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
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