Interesting, I'm getting the error at line 3 column one. I wonder if there is a method to the madness?
Printable View
Also, are we looking for spaces at the end of any line, or just the last line in the file?
Actually, it seems my error is slightly different as the word external isn't included.
XML Parsing Error: XML or text declaration not at start of entity
Location: http://doubledogdeal.com/index.php?m...&products_id=2
Line Number 3, Column 1:
After checking all of my add-on files, I finally traced my carriage returns down to where I edited the header to allow transparent pngs that work with IE 5&6. Also, the line number thing is just in relation to how many carriage returns you have to hunt down.
This is a great add-on and worth the hunt!
Hello. I am sure I had this working at one point, not after changing servers it is not working any longer in IE.
In Firefox, all looks perfect. Styling is right on, images etc included.
In IE 6 and IE 7 there is no styling applied. I just see what looks like code.
Firefox:
http://www.firstgiftbasket.com/firefox_rss2.jpg
IE 6 or IE 7:
http://www.firstgiftbasket.com/ie6_rss2.jpg
Any help is greatly appreciated.
Hi,
Sounds like a great mod but I've got a problem when I install it. I get the following error message when viewing my store:
Any idea what's causing this?Quote:
Warning: Variable passed to each() is not an array or object in public_html/includes/classes/db/mysql/query_factory.php on line 114
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at
public_html/includes/classes/db/mysql/query_factory.php:114) in public_html/includes/functions/sessions.php on line 102
Warning: Cannot modify header information - headers already sent by (output started at public_html/includes/classes/db/mysql/query_factory.php:114) in public_html/includes/init_includes/init_templates.php on line 78
Thanks,
Gary :smile:
How can I choose not to display the image file (link) in the feed?
I'm running into problems with this installation. Hopefully somebody that has experienced this could help.
I have wordpress on zencart installed. When I click on any of the RSS feed, the URL displayed is for example:
index.php?main_page=rss_feed&feed=specials
The title bar displays: Wordpress > error
and the page displays: ERROR: specials is not a valid feed template
however if I change the URL form the above to:
index.php?main_page=rss_feed&feed=specials
everything works properly.
My other problem is that regardless of the feed I choose, featured, special, news etc... the information in the feed remains the same.
Thanks for any help...
Hi,
Does anyone know how to make the RSS feed display in two columns per row instead of just one? Please advise. Thank you.
hi, any idea how to get Ultimate SEO URLs 2.105 to product url in feed?
ncludes > functions > extra_functions > rss_feed.php
i rewrite zen_href_link whit zen_seo_href_link but not working :/
How do you get your feed to show the price of the product? I read a quite a few of the posts but didn't find the answer.
Thanks,
Kelly
Hi, I can't get my feed to show or do anything:
http://www.ashbysonline.com/index.ph...d=new_products
In IE, it just says, can't show feed, in Firefox, I get this error:
Any ideas?Quote:
XML Parsing Error: xml declaration not at start of external entity
Location: http://www.ashbysonline.com/index.ph...d=new_products
Line Number 2, Column 1:<?xml version="1.0" encoding="iso-8859-1"?>
^
After posting this error, I decided to search this thread, post by post. I saw where this issue has been addressed more than ANY other issue concerning this mod.
The so called answer has been that there are blank spaces, or rogue carraige returns, or empty expansive sub-space in the delta quadrant.
Looking at all of the files in the MOST RECENTLY available release, every one has been updated within order to eleviate the extra empty space problem. All of the other answers have been ambigous at best.PHP Code:
// EOF
However, non of this has yet to solve the issue for a lot of us, (me,me,me:frusty: ). I have not seen where one single person that posted this problem has posted that it was resolved.
Someone out there has had this problem and MUST have fixed it. Someone out there MUST know the answer. Could that someone Please post the Real answer here?
Andrew, I love all the mods of yours that I use, and I wan't to use this one very much. I know I'll love it too, once I can get it working. So please, I am asking you, Please help us fix this problem once and for all, completely, and clearly, so no one else will ever have to go through this again.
Thanks,
Tom
Hi Tom,
I can not help you because I can not reproduce the error. At all stores, which I serve, no such problems.
If you give me access to ftp, only then can I help you.
Now, there is one more slight problem. I am having trouble getting third party readers to read my feed url, such as Yahoo, or http://www.feedreader.net/.
My feed url looks like this:
It works great when you click the RSS button at the bottom of my site, or paste that url directly into a browser, but, if you try to put it into another reader, or into a blog, like on MyYahoo, well, it just won't work.Code:http://www.ashbysonline.com/index.php?main_page=rss_feed&feed=new_products
Most RSS feed url's I've seen end in XML, php or something other than a dynamicly generated url like the one above.
Any suggestions?
Hello Andrew,
I saw that you helped Wtashby. I too have this problem with the RSS feed suddenly not showing up. I believe I have the spaces in a file, but have had no such look in finding it. I switched between the Classic template, and my cusomised template. And the error is still there, so it must be a file not in an override folder somewhere - no luck so far LOL.
Is there a way of searching for space at the end of a file, such as a php script or similar? Any help is much appreciated.
Heathenmagic
Heathenmagic,
Try this one:
File /includes/classes/rss_feed.php
Find
Add afterCode:function rss_feed_out() {
if($this->rssFeedCahcheFrom == false) {
$this->rssFeedContent = $this->rss_feed_content();
$this->rssFeedTimeCreated = time();
if($this->rssFeedCahcheFlag == true) {
if (($f = fopen($this->rssFeedCahcheFileName, 'w'))) {
fwrite($f, $this->rssFeedContent, strlen($this->rssFeedContent));
fclose($f);
}
}
}
Code:@flush();
@ob_clean();
Hello Andrew,
Thanks so much for replying. I have tried the code, but sadly it produces the declaration error. I appreciate your help. Its a mystery why it suddenly stopped working, and it seems impossible to locate the file with spaces.
I tried your RSS Feed module on a fresh install on another website, and it works. So it is definitely a clash with some module file somewhere on the other website I referred to. I will keep searching. lol
Sincerely,
Heathenmagic
<link rel="alternate" type="application/rss+xml" title="RSS Specials Feed" href="http://www.m.com/newstore/rss_feed/feed/specials" />
<link rel="alternate" type="application/rss+xml" title="RSS New Products Feed" href="http://www.m.com/newstore/rss_feed/feed/new_products" />
<link rel="alternate" type="application/rss+xml" title="RSS Upcoming Feed" href="http://www.m.com/newstore/rss_feed/feed/upcoming" />
<link rel="alternate" type="application/rss+xml" title="RSS Featured Feed" href="http://www.m.com/newstore/rss_feed/feed/featured" />
<link rel="alternate" type="application/rss+xml" title="RSS Best Sellers Feed" href="http://www.m.com/newstore/rss_feed/feed/best_sellers" />
<link rel="alternate" type="application/rss+xml" title="RSS Products Feed ::
How can i remove all the rest besides the new products feed?!?!?!?
In this version only manualy editing file /includes/functions/extra_functions/rss_feed.php
Find
Replace byCode:$feed_array = array('specials', 'new_products', 'upcoming', 'featured', 'best_sellers');
Code:$feed_array = array('new_products');
/includes/templates/YOUR_TEMPLATE/common/html_header.php
/includes/templates/YOUR_TEMPLATE/common/tpl_footer.php
I am using the classic template by the way...the two files that u said to edit in the install instructions do not exist in my common folder
the only two files that are listed under my common folder are
tpl_header.php and tpl_drop_menu what am i missing?
is there a previous version of something that has to be installed first?
please help me i cannot get this contribution to work because those files do not exist in my common folder
here is my website
http://www.rickiesdiscountelectronics.com
0. Copy
/includes/templates/template_default/common/html_header.php to /includes/templates/classic/common/html_header.php
/includes/templates/template_default/common/tpl_footer.php to /includes/templates/classic/common/tpl_footer.php
1. Edit
/includes/templates/classic/common/html_header.php
/includes/templates/classic/common/tpl_footer.php
HI GUYS, anyone know whats going on here?
Warning: require(includes/templates/template_default/templates/tpl_rss_feed_default.php) [function.require]: failed to open stream: No such file or directory in /home/canvouk1/public_html/includes/templates/template_default/common/tpl_main_page.php on line 122
Warning: require(includes/templates/template_default/templates/tpl_rss_feed_default.php) [function.require]: failed to open stream: No such file or directory in /home/canvouk1/public_html/includes/templates/template_default/common/tpl_main_page.php on line 122
Fatal error: require() [function.require]: Failed opening required 'includes/templates/template_default/templates/tpl_rss_feed_default.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/canvouk1/public_html/includes/templates/template_default/common/tpl_main_page.php on line 122
:bigups:
yep, it cant find tpl_rss_feed_default.php
Thanks Andrew for this cool contri!
sorry that I am kinda new to RSS
I have installed the contri and seems working fine. However I have 1 question about it.
When I click the RSS button, it directs me to a page that I can choose to add this feed to my browser bookmark(FF3), google reader or My Yahoo. It works fine with fire fox bookmark. However it doesn't work with google reader and My Yahoo. It is normal? or it is just my problem? Thanks in advance!
My site: http://www.locomolife.com/store/
I think I've sussed this. I added the following code to my .htaccess file:
And this allowed me to access my new products feed by using the url: http://www.eggsandantlers.co.uk/rss/new_products.xml . This allowed me to import the feed into Facebook. :DCode:# RSS feeds
RewriteRule ^rss/(.*).xml$ index\.php?main_page=rss_feed&feed=$1
Hi everyone,
I installed this mod and I love it! everything seem to be working fine except when I click "Subrcribe to "Domain Name"", I get a DNS error and see a bad URL is causing this:
http://www.xxxxxxxxxxx.comdir_ws_htt...hp/?export=rss
I've looked everywhere but can't find the solution. Please help!
Thank you!
Hi, a_berezin
thank you for developing such a good marketing tool and now i got some questions:
i have set 'Generate Products Price' function via admin->configuration->RSS FEED to 'true', but i've not got to see it appears in the result FEED pages, neither in FF3 nor IE7.
i do notice the 'extended tag <g:price>' after the function. but how and where can i add it?
would you pls tell me how to deal with this problem.
all the best for you,
david
I installed this module recently and find it works with some feeds, but not with others.
When I select "Specials" I get all products instead of special priced items. I experimented with the code a bit and find that the SQL query for returning Specials is fine, but only if I set the case statement to 'new_products' instead of 'specials' and select 'New Products' as the feed I want.
If I revert to the original code, 'New Products' returns new products, as it should, but 'Specials' returns all products again.
The only other thing I have done was to change the extra_functions code to change 'feed=' to 'amp;feed=' in a couple of the functions where the url is built in order to allow the RSS Feed to work when I have the Wordpress module installed. (Not having the 'amp;' returns invalid feed or invalid page errors.)
Any suggestions? Besides uninstalling Wordpress...
OK - I got this working the way it's supposed to.
Caveat: The changes I made pertain only to my system. The suggestions may lead others to solve some relatively obscure problems, though.
The root of my problem seemed to be that I have Wordpress integrated into my zen cart, causing me to need 'amp;' prepended to the 'feed=' part of the URL, or else I get invalid page errors. This makes my feed URL look something like:
"?main_page=rss_feed&feed=featured" instead of the stock "?main_page=rss_feed&feed=featured". (Many thanks to bigjoeed, who posted this discovery on this thread several months ago.)
The biggest hint that the $feed variable was not populated correctly was that the title of the various feeds that did appear always had mystoredomain:RSS Feed, the generic title. Other stores with feeds had the type of feed included in the title, like mystoredomain:RSS Featured Feed. As this value is loaded based on the feed value, I decided the feed value was not being loaded correctly.
So I had to change $feed = $_GET['feed']; to $feed = $_GET['amp;feed']; and change $feed_args = substr($feed, $i+1); to $feed_args = substr($feed, $i+5); near the top of extra_functions/rss_feed.php.
Then I had to change switch($_GET["feed"]) to switch($_GET["amp;feed"]) (about line 128) of pages/rss_feed/header_php.php.
These changes got the $feed variable capturing the right values.
But I still could not get 'specials' to process the correct items. What I found was that the program could recognize 'special' but not 'specials' for some reason. So I had to change any place that $feed='specials' occurred to $feed='special' in pages/rss_feed/header_php.php. And add case='special' to the switch statement just below case='specials' in extra_functions/rss_feed.php. (This allows both 'special' and 'specials' to remain in the code).
Your mileage may vary...
Hello Chain_man,
Glad you got it working. I am really interested in the changes you made. I am thinking, it might solve the problem that many of us have, whereby the module doesn't work because of a XML declaration error. This is due to it picking up an extra space in a file somewhere in the zencart installation. Its proving pretty elusive, but the file changes you stated might help with this. I will have a look and try this and let everyone know. If anyone has already tried making chain_man's changes, it'd be great to hear from you.
Heathenmagic :smile:
I'm not sure how my changes would fix the problems you have been describing. As I mentioned, they are a work-around for a specific condition where I had to add 'amp;' to the link. At no time did I have the error messages that you have had. The mod always displayed something, it was just the wrong something. Be careful.
Hello everyone,
I managed to fix the error I have, and am posting in case it helps somebody out.
In this thread:-
http://www.zen-cart.com/forum/showth...055#post613055
I was trying to fix an unrelated bug, and I am sure this is what did it for me. Ultimately, it is a file from a mod I installed.
This is for the xml declaration error, which prevents you seeing the feed at all. Something to do with line spaces at the end of a file can cause it too.
:smile:
I've installed the latest version, but my feeds don't update. it's updated at the day of installation. why?
work well!!! I've made modify on page 32
UPDATE configuration SET set_function=NULL WHERE configuration_key = 'RSS_CACHE_TIME';
all work fine!
already work fine with
UPDATE configuration SET set_function=NULL WHERE configuration_key = 'RSS_CACHE_TIME';
however I've update as you say. Thanks
one question: I've addedd this rss
http://www.100asa.it/rss_feed.html?feed=new_products
to Google sitemap, but Google, after verify link, say me: "xml not valid - too many tags"
As far as i can tell i have done everything correctly, and as far as i can tell everything works great, with one exception.
When you go to my site:
http://www.collectiblefinewine.com
my browser does not detect that i have an rss feed on my site, but when you go to another forum contributors site:
http://www.locomolife.com/store/
my browser does detect that an rss feed is installed on their site.
As far as i can tell we have the rss installed the same way.
Any thoughts?
chaddb,
Check html_header.php on http://www.collectiblefinewine.com/.
Readme.txt:
Quote:
4. You can add to html_header.php somewhere beetwen <head> and </head> tags:
<?php echo rss_feed_link_alternate(); // RSS Feed ?>
Hi, this RSS2 Feed Contribution itīs incredible. Iīm trying installing but I have this errors in the Install SQL Patches
1.- install.sql
Exitoso 9 statements processed.
Error ERROR: No se puede introducir configuration_key "" porque ya existe
Advertencia Note: 1 statements ignored. See "upgrade_exceptions" table for additional details.
2.- update_2_0_2.sql
Exitoso 4 statements processed.
Error ERROR: No se puede introducir configuration_key "" porque ya existe
Error ERROR: No se puede introducir configuration_key "" porque ya existe
Advertencia Note: 1 statements ignored. See "upgrade_exceptions" table for additional details.
3.- update_2_1_3.sql
Exitoso 4 statements processed.
Error ERROR: No se puede introducir configuration_key "" porque ya existe
Error ERROR: No se puede introducir configuration_key "" porque ya existe
Advertencia Note: 1 statements ignored. See "upgrade_exceptions" table for additional details.
When I go to Admin->Configuration->RSS FEED only show the title bar
My version of zen-cart itīs 1.3.7.
Can you help me please?
My website itīs www.todoenguate.com
Thanks
Rolando Maldonado
I don't understand error 1.
But I also do not understand - if you perform install.sql, why then are you trying to fulfill update*.sql?
Thanks for your answer
I proceded as in the readme.txt in the procedure to install say
Install:
========
0. BACKUP! BACKUP! BACKUP! BACKUP! BACKUP! BACKUP!
1. Unzip and upload all new files to your store directory;
2. 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);
3. Go to Admin>Configuration>RSS Feed and setting up your RSS Feed configuration;
...
...
I follow the 0 to 2 steps but when i do the install sql patches (step 2) the system say in left corner 3 lines.
Line 1: Success 9 statements processed.
Line 2: Error ERROR: Can not enter configuration_key "" because it already exists
Line 3: Note: 1 statements ignored. See "upgrade_exceptions" table for additional details.
In the step 3 of readme.txt of install procedure i go to admin->configuration->RSS Feed and not showing anything (attach a file)
The steps 4 to 6 are pending.
Thanks
Rolando Maldonado.
I do not know what was going on. Apparently some problems specific to your version of zen-cart. Which version of zen-cart you are using?
I am using ZC v1.3.8
Had some help with and successfully installed the feeds mod.
They were updating fine but now have stopped.
Where do I start and or what information can I find prior to asking for help figuring out why they have stopped updating?
There is one thing that I have added recently that I don't know how to tell if it is causing the problem.
It is RSS Feed Processing Using CaRP.
You can see the various feeds that I added at the very bottom of my cart.
They are feeds from my forum, and WP blog posts.
Any way.... any place I can look, or information you guys and gals might use to help figure out whats up ?
Thanks
taogem,
Read this post http://www.zen-cart.com/forum/showpo...&postcount=441
Thank you very much Andrew. That did the trick.
Ya know.... I saw that post but went right on by it.
Thanks for responding. Greatly appreciated!
Hey Andrew, thanks for the follow-up to the problem. Effectively use the copy-paste option in the installation of patches sql. But when you put the script in the index.php, is the symbol of the RSS on a par with the URL, try putting it in the tpl_footer.php but does not work. The problem still persists in the setting of RSS FEED where they do not see any option.
I can send mail to your personal user name so you can enter the management options and can revise this happening.
Thank you.
Rolando Maldonado
www.todoenguate.com
OK im stumped. I've used this wonderful addon for about 6-7 months. On about 9/17 the feeds stopped working. All I seem to get is blank pages in FF and a
XML document must have a top level element.
Line: 0 Character: 0
in IE8. On my iGoogle homepage the feed does show the headlines up to the 9/27 date. I do have a large amount of items that have been throu the store. it stopped showing on item 943 and im up to 960 now.
I have read this entire thread and updated to the latest version and add the 2 hot fixes. Ive been throu every /language/ file and removed all extra spaces and returns.
What is seems like to me is that it is sending a cached file like was mentione in a few posts. However I didn't have file cacheing turn on in the config files. I did search the server for rss_* files but didnt find any that had a bunch of numbers behind it. I do have root access to the server. I did turn on the file cacheing since I started trouble shooting.
My question is, could these be cached somewhere else? maybe in the DB or under a different filename?
Thanks
Andrew,
You commented that follow step 4 to place the script <? Rss_feed_link_alternate php echo (); / / RSS Feed?> In html_header.php
Cargo fine, but do not know where I can change to display RSS_TITLE in place, the name of the store.
Thank you
I would like to working with you in translating the document into Spanish so others can use this excellent module.
Thank you.
Rolando Maldonado
Thanks parous,
The trouble its that i cant configurate the RSS feed because the option show empty (show a jpg file)
I follow the instruction steps but in the step 3 with sql patch dont work good the system show a few messages. Show in before messages.
thanks if you can helpme
Rolando Maldonado
www.todoenguate.com
Thanks for Great mod!
It works. But in validation page I have 2 recommendations:
line 4, column 0: Use of unknown namespace: http://base.google.com/cns/1.0
<rss version="2.0"
line 12, column 85: Self reference doesn't match document location
<atom:link href="http://bestfashion.me/" rel="self" type="application/rss+xml" />
How I can fix it?
Thanks
I just install this on my test site and I'm getting error
error on line 15 at column 57: xmlParseEntityRef: no name
how do i fix this
thanks in advance
Thank you pointed out an error
What validator you use? I checked my RSS feeds to http://validator.w3.org/feed/ and never received such a message/
Thanks. I fix it.
Hi Andrew,
I use that was in instruction: http://feedvalidator.org/
Please tell how you fix it?
nevermind... i can reporduce it.
change the owner name to "Jenny & Phil"
i had to "uninstall" sql and "install" the rss2 feed again from sql panel.
if you want to see the error
here is my test site:
http://www.goodthingscostume.com/store
you can enter it on feedvalidator
and i also have some errors on my main store, maybe you can help me out since i have no knowledge on coding.
when i check with http://feedvalidator.org, i see
thank you in advanceQuote:
This feed is valid, but interoperability with the widest range of feed readers could be improved by implementing the following recommendations.
line 4, column 0: Use of unknown namespace: http://base.google.com/cns/1.0 [help]
<rss version="2.0" line 12, column 100: Self reference doesn't match document location [help]
... rel="self" type="application/rss+xml" />
Any ideas on my issue posted here?
http://www.zen-cart.com/forum/showpo...&postcount=458
I'm getting desprate.
Thanks
Thanks Andrew
I fixed the problem with this steps (my english not itīs good)
1.- I go to php admin
2.- I change the value NULL with 'NULL' and the value of date NOW() for the date that I run the sql instructions. @configuration_group_id for the number that obtain in the table.
3.- I go to insert in sql instruccion for instruccion and all are ok.
4.- Now itīs work, only I need change to spanish, but in the configuration options RSS FEED show all the options.
I dont now whats was the problem, but width this steps i make to work.:clap::clap::clap::flex::flex:
Thanks
Rolando Maldonado
www.todoenguate.com
I found it!
class rss_feed.php
Found
Replace byCode:function _clear_email($str) {
$out = str_replace(array('<', '>'), array('(', ')'), $str);
return $out;
}
I use http://validator.w3.org/feed/Code:function _clear_email($str) {
$out = str_replace(array('<', '>'), array('(', ')'), $str);
$out = htmlspecialchars($str, ENT_QUOTES);
return $out;
}
I installed this mod a while back, Now i have the button for it in the footer. If I click the button the window will open and it will generate the feed. The problem I noticed on my site thought. The IE7 doesn't recognize that there is a feed on my site when I open the site in IE7.
For example when Iam on this forum the feed is led orange in the navigation, but on mu site it stays dim. Any idea where the problem might be.
Reread readme.txt and try to install the module again, step by step.
a_berezin I have a question for you. Do I have to keep my Cache clean out. I have 34MB of Cache for the rss feed there. I change the store description but it does not the changes when you click on the feed. If so how often do I need to do this. Thank You for great Module.
I installed this Module a while back and have not being keeping up with the thread since I have had no problems with it until today. Sorry about being lazy. Thank you for the fix.
[Sorry if this is a dumb question, but the only feeds I am familiar with are breakfast, lunch and dinner. :blush:]
I have an affiliate program and today an affiliate asked me to supply him a datafeed. Is this the mod that I need in order to do that?
Hi Andrew and Tom, and others who like to help :) Please guide me, i am facing the same problem as Tom mentioned above. I also tried to find centercolumn_footer_defines.php but i failed.
Please get me out of this hell, thanks in advance :hug:
Regards,
In FF3 I am facing following Error.
XML Parsing Error: XML or text declaration not at start of entity
Location: http://www.buy92.com/index.php?main_...&feed=products
Line Number 3, Column 1:<?xml version="1.0" encoding="iso-8859-1"?>
^
Please help
Sorry, but I can not ever find and correct other people's errors.
Thank you, Doug, for figuring this out. I am also having an issue with this mod conflicting with WordPress. When I click on the RSS button in my footer it pulls up the feed to my blog instead of my products. [I know you said this only pertained to your system, but I tried everything else with no luck so I decided to try your suggestions.]
I've got a working feed (http://www.queerrepublictees.com/ind...;feed=products) but the problem is I can't get the RSS button to point to it.
I've done exactly what you did:
- changed $feed = $_GET['feed'] to $feed = $_GET['amp;feed']
- changed $feed_args = substr($feed, $i+1) to $feed_args = substr($feed, $i+5)
- changed switch($_GET["feed"]) to switch($_GET["amp;feed"])
... but it's still bringing up the blog instead of the products.
The confusing part is when I hover over the RSS button, in the bottom of my browser I can see:
http://www.queerrepublictees.com/index.php?main_page=rss_feed&feed=products
but if I select the button and look at the source code it points to the correct URL:
http://www.queerrepublictees.com/index.php?main_page=rss_feed&feed=products
There's got to be something really simple that I am overlooking. If anybody can help I'd be most grateful.
Hello mnaeemsattar
The following fixed it for me. You might have a similar thing going on, but with a different file. Or it could be a different issue altogether. But I had the same error message as you for sure.
http://www.zen-cart.com/forum/showth...055#post613055
:smile:
I missed a step or two in my explanation...
In the includes/functions/extra_functions/rss_feed.php file for the functions rss_feed_link_alternate and rss_feed_link, change the "'feed=' . $feed" to "'amp;feed=' . $feed" there. There are 2 lines in the function rss_feed_link_alternate and 1 line in the function rss_feed_link.
I have searched every where to find the answer, but I keep reading the same thing, and they either get resolved by the the person asking, but don't explain how it was fixed, or it has been missed by people who know the answer.
In the admin> RSS FEED> area, it asks for an image, do I put a path or just type in the input box jpeg, gif etc.
In the Readme file it says to
"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 -->"
Ok I did this in a few different places of the file and got this on the bottom of my site....
"Fatal error: Call to undefined function rss_feed_link() in /home/xxxx/public_html/includes/templates/template_default/common/tpl_footer.php on line 66"
When I tried number 4 "4. You can add to html_header.php somewhere beetwen <head> and </head> tags:
<?php echo rss_feed_link_alternate(); // RSS Feed ?>"
my whole site disappears and get a fatal error message on the top of a blank page.
I'm very sorry about rehashing old questions, but I can't seem to find an answer to the stuff I know very little about.
Thanks for any help.
Chris.
You just put the name of the image like logo.gifQuote:
In the admin> RSS FEED> area, it asks for an image, do I put a path or just type in the input box jpeg, gif etc.
Put it all the way at the bottom of your footer /includes/templates/your_template/common/tpl_footerQuote:
In the Readme file it says to
"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 -->"
I had it working, everything was fine. But when I checked on it lately, I got this error:
XML Parsing Error: XML or text declaration not at start of entity Location: http://majortek.com/index.php?main_p...d=new_products Line Number 2, Column 1:
<?xml version="1.0" encoding="iso-8859-1"?>
^
help? Please?
Could you elaborate on which files it may be?
Apparently you did not understand me. How can I know what your files contain an error?
View all files are edited and added. Replace ended
?>
by
// EOF
I have a script that checks php-files on the extra symbols. Try to find it.
Hello Everyone!:smile:
Worderful Mod, Andrew!:hug:
Regarding Post 463.
You reply that you fix it in Post 468. How did you fix it?
I did a search and I found this: http://feedvalidator.org/docs/warnin...mSelfLink.html
I used validator: http://feedvalidator.org and http://validator.w3.org/feed/
Can you help me correct it.
Thank you in advance!:smile:
This was nice and easy to install and works just great.
One thing though which i am having a problem with.
How do i remove the date a product was added to my shop from the RSS feed - I would rather the date a product was added is not visible.
Is this possible to remove ?
Grace38,
/includes/pages/rss_feed/header_php.php
line ~516
Replace
byPHP Code:
date('r', strtotime($products->fields['products_date'])),
So, code must be:PHP Code:
false,
PHP Code:
$rss->rss_feed_item($products->fields['products_name'],
$link,
array('url' => $link, 'PermaLink' => true),
false,
$products_description,
$rss->_clear_url($products->fields['products_image']),
zen_href_link(FILENAME_PRODUCT_REVIEWS,'products_id=' . $products->fields['products_id'] . $additionalURL, 'NONSSL', false),
(RSS_AUTHOR == ''? STORE_OWNER_EMAIL_ADDRESS . " <" . STORE_OWNER . ">" : RSS_AUTHOR),
false,
false,
$xtags
);