-
Nothing but default Feed showing properly?
Hello,
I have the plugin installed on our ZenCart site - it shows up properly on all of the pages but doesn't seem to generate the feed itself properly for anything except for the primary 'base' feed.
For example:
myzencart/index.php?main_page=rss_feed&feed=new_products
Shows a blank page, but the base rss_feed page shows the proper feed, ie:
myzencart/index.php?main_page=rss_feed
Any ideas why the feed wouldn't be working for any subcategories or other pages other than the base feed url?
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
craftzombie
look in includes/templates/template_default/common/html_header.php. Once you make the changes, save the file in includes/templates/your_template/common/html_header.php so that it won't be overridden during a zencart upgrade. (your_template = the name of the template you are using)
I did that, thanks. It is now set correctly, though I am not sure what exactly it is supposed to do. Thanks.
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
elishama3
I understand from reading the thread that this is due to spaces at the end of certain language files. I went through a whole bunch of them and deleted any spaces at the end, but there are so many I would love it if someone could narrow it down for me. Is it a space at the end of any language file, or certain types?
Thanks
I have taken out all the blank lines in all of my language files, all my sidebox files, and a few random others. Still getting the error message.
Any help here would be much appreciated.
Again, the error message is: XML Parsing Error: xml declaration not at start of external entity
Location: http://www.phoenixflightpublications...&feed=products
Line Number 2, Column 1:<?xml version="1.0" encoding="iso-8859-1"?>
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
elishama3
I did that, thanks. It is now set correctly, though I am not sure what exactly it is supposed to do. Thanks.
Now that it is installed correctly, in Firefox you should see the orange RSS icon in the address bar at the top of the browser. In IE, there should be an orange RSS icon next to your tabs on the right, underneath the address bar.
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
craftzombie
Now that it is installed correctly, in Firefox you should see the orange RSS icon in the address bar at the top of the browser. In IE, there should be an orange RSS icon next to your tabs on the right, underneath the address bar.
Nifty! It is there!
Is there a way I can configure which feeds I want/don't want? I really only want to have one, maybe two types of feeds for the site.
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
elishama3
Nifty! It is there!
Is there a way I can configure which feeds I want/don't want? I really only want to have one, maybe two types of feeds for the site.
When I first installed this mod, I figured out how to do that. I only wanted to use the New Products and Specials feeds and I was successful in removing the other ones. When I installed an updated version of the mod, I couldn't for the life of me remember where I made those changes. I haven't really had any time to look around in the files though. When I have time and figure it out, I'll let you know.
or if anyone else knows.....
-
Re: RSS2 Feed Contribution
BTW, I found two bugs in the includes/classes/rss_feed.php file:
lines 406-407 are:
#
$in[] = '@&(mdash);@i'; $out[] = '?;
#
$in[] = '@&(reg);@i'; $out[] = '?';
but they should be:
#
$in[] = '@&(mdash);@i'; $out[] = '?';
#
$in[] = '@&(reg);@i'; $out[] = '?';
and lines 429-430 are:
#
$st_in[] = '@<li>@i'; $st_out[] = "\n?.chr(160);
#
$st_in[] = '@<h\d>@i'; $st_out[] = "\n\n";
but they should be:
#
$st_in[] = '@<li>@i'; $st_out[] = "\n?.chr(160)";
#
$st_in[] = '@<h\d>@i'; $st_out[] = "\n\n";
hope this helps someone.
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
elishama3
BTW, I found two bugs in the includes/classes/rss_feed.php file:
lines 406-407 are:
#
$in[] = '@&(mdash);@i'; $out[] = '?;
#
$in[] = '@&(reg);@i'; $out[] = '?';
but they should be:
#
$in[] = '@&(mdash);@i'; $out[] = '?';
#
$in[] = '@&(reg);@i'; $out[] = '?';
and lines 429-430 are:
#
$st_in[] = '@<li>@i'; $st_out[] = "\n?.chr(160);
#
$st_in[] = '@<h\d>@i'; $st_out[] = "\n\n";
but they should be:
#
$st_in[] = '@<li>@i'; $st_out[] = "\n?.chr(160)";
#
$st_in[] = '@<h\d>@i'; $st_out[] = "\n\n";
hope this helps someone.
the code is my file is....
Code:
$in[] = '@&(mdash);@i'; $out[] = '—';
$in[] = '@&(reg);@i'; $out[] = '®';
Code:
$st_in[] = '@<li>@i'; $st_out[] = "\n•".chr(160);
$st_in[] = '@<h\d>@i'; $st_out[] = "\n\n";
-
Re: RSS2 Feed Contribution
Well...I added a bunch of products yesterday...and then I deleted the RSS file that showed up in my root.....
Now my new products feed doesn't work at all.
-
Re: RSS2 Feed Contribution
Okay...let me start from the beginning and go to the end of this issue...maybe someone can tell me where I screwed up.
I installed 2.1.3 and it worked fine except it filled my root folder with the RSS_(randomnumbers) files....
I saw that a_berezin created an upgrade. Colemanpa said that it fixed the issue for him....so I downloaded the upgrade...overwrote the files and ran the 2.1.3_upgrade file. I got an SQL error.
I ran the 2.1.4 Full install .sql file as Colemanpa said, it seemed to work fine, however I was wrong. It didn't update the new_products feed. I noticed that there were RSS_(randomnumbers) files back in my root directory. I deleted them and the new_products feed updated.
Last night I deleted them again to get the new_products feed to update again, however...instead it just deleted EVERYTHING from the new_products feed. I uninstalled 2.1.4 (deleted all the files and ran the uninstall.sql file)
I reinstalled 2.1.4 and it didn't fix it at all. So I decided to go back to 2.1.3 and that's not even working now. So now I've uninstalled 2.1.3 and I've reinstalled 2.1.4....
I'm not a coder whatsoever, but I'm assuming there is something that got screwed up when I tried to upgrade the first time. I backed my database up back then...but since then I've added a bunch of new products and some new customers....I don't want to lose all of that work. What can I do to fix this?
-
Re: RSS2 Feed Contribution
For now I've changed the default feed to Specials because any feed with the word products in it (new_products, products) will not work.
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
NFM
For now I've changed the default feed to Specials because any feed with the word products in it (new_products, products) will not work.
This is the link to my New Products feed. Take a look at the source code...I think there's something wrong in there.
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
NFM
I just tested your New Products feed in Google Reader and it works for me....
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
craftzombie
I just tested your New Products feed in Google Reader and it works for me....
I'm getting a blank page. It's also not updating at any of the sites that I send the feed to.
I just tested it in Google Reader too...and oddly...it IS working there. But nowhere else that I want it to work...lol
-
Re: RSS2 Feed Contribution
Got it! Thanks to Microsoft...lol...Internet Explorer told me what the problem was...and as I figured it was my fault. One of my products had an invalid character that was screwing up the xml....apparently Google Reader was the only thing having no issues with it.
-
Re: RSS2 Feed Contribution
Hi,
Really grateful for this contribution, thank you.
I do have a few validation errors I need help with:
####################___
Line 111, Column 151: document type does not allow element "link" here .
…in_page=rss_feed&feed=specials" />✉
The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).
One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
Line 112, Column 159: document type does not allow element "link" here .
…age=rss_feed&feed=new_products" />✉
The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).
One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
Line 113, Column 151: document type does not allow element "link" here .
…in_page=rss_feed&feed=upcoming" />✉
The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).
One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
Line 114, Column 151: document type does not allow element "link" here .
…in_page=rss_feed&feed=featured" />✉
The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).
One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
Line 115, Column 155: document type does not allow element "link" here .
…age=rss_feed&feed=best_sellers" />✉
The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).
One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
####################____
Thanks in advance..
Line 111, Column 151: document type does not allow element "link" here .
…in_page=rss_feed&feed=specials" />✉
The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).
One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
Line 112, Column 159: document type does not allow element "link" here .
…age=rss_feed&feed=new_products" />✉
The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).
One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
Line 113, Column 151: document type does not allow element "link" here .
…in_page=rss_feed&feed=upcoming" />✉
The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).
One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
Line 114, Column 151: document type does not allow element "link" here .
…in_page=rss_feed&feed=featured" />✉
The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).
One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
Line 115, Column 155: document type does not allow element "link" here .
…age=rss_feed&feed=best_sellers" />✉
The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).
One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
-
Re: RSS2 Feed Contribution
I am still fruitlessly trying to track down the source of the xml parsing error. I am not sure if this is related or not, but in the rss.css and rss.xls files are the following wording:
The CSS/XLS files are sent to the browser in this order: (and alphabetically within each case of more than one match):
rss*.css // are always loaded and at least ONE should contain site-wide properties.
rss*.xls // are always loaded and at least ONE should contain site-wide properties.
Do I need to input something here to make it work, and if so, what? I am not sure what site-wide properties would be appropriate for an rss feed.
Please help.
-
Re: RSS2 Feed Contribution
Quick bugfix! Run this sql
Code:
UPDATE configuration SET set_function=NULL WHERE configuration_key = 'RSS_CACHE_TIME';
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
vitalwares
I do have a few validation errors I need help with:
Use last version Google Analitics Integration module.
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
a_berezin
Use last version Google Analitics Integration module.
Hi Andrew,
Not sure what this has to do with Google analytics, these are errors related to the RSS feed contribution but I I have installed the latest google analytics and
now I have new errors :(
Please look at this post in the analytics forum (also still have a few validation errors with the RSS code):
http://www.zen-cart.com/forum/showpo...&postcount=379
Regards,
Prashant.
-
Re: RSS2 Feed Contribution
Hello Andrew,
Just updated to latest release. I have a few validation errors, but I remember they disappeared in a previous release, but in feed validator they show up again. Here are the first ones anyhow:-
Quote:
line 4, column 0: Use of unknown namespace:
http://base.google.com/cns/1.0 [help]
<rss version="2.0" line 12, column 89: Self reference doesn't match document location [help]
... rel="self" type="application/rss+xml" /> ^line 17, column 50: Implausible date: Mon, 01 Dec 2008 17:17:00 +1100 [help]
<lastBuildDate>Mon, 01 Dec 2008 17:17:00 +1100</lastBuildDate>
Many thanks in advance,
Heathenmagic
-
Re: RSS2 Feed Contribution
Hello Andrew,
I have updated the software that uses the rss, and all works fine now, so you can ignore my post.
All the best,
Heathenmagic :smile:
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
vitalwares
these are errors related to the RSS feed contribution
Are you sure?
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
elishama3
I am still fruitlessly trying to track down the source of the xml parsing error. I am not sure if this is related or not, but in the rss.css and rss.xls files are the following wording:
The CSS/XLS files are sent to the browser in this order: (and alphabetically within each case of more than one match):
rss*.css // are always loaded and at least ONE should contain site-wide properties.
rss*.xls // are always loaded and at least ONE should contain site-wide properties.
Do I need to input something here to make it work, and if so, what? I am not sure what site-wide properties would be appropriate for an rss feed.
Please help.
Anyone? Thank you in advance.
-
Re: RSS2 Feed Contribution
Anyone have trouble with their feeds updating after installing the latest version (2.1.4)? I installed it a few days ago and everything seemed okay, but I added new products and some new specials last night. Nothing is updating in the feed.
This is why I loathe upgrading something that I had working fine. :frusty:
-
Re: RSS2 Feed Contribution
Hi,
******** Issue: Getting price to show up in the feed
Thanks Andrew for a great contribution. Have got it working great with everything except: Price. Have read all 33 pages of the forum and found a lot of posts on here about getting the price field to show up, but can't work out from these about how to actually make prices show up.
Can anyone who has got the price to show up in their RSS feed to PLEASE help by explaining how they got it to work?
Using Google Reader as the preferred RSS reader and the latest version of the contribution (11 March 2008). Zen cart 1.37.
Thanks so much in advance!
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
brianosc
Hi,
******** Issue: Getting price to show up in the feed
Can anyone who has got the price to show up in their RSS feed to PLEASE help by explaining how they got it to work?
Using Google Reader as the preferred RSS reader and the latest version of the contribution (11 March 2008). Zen cart 1.37.
Same here... can't get price or images to show up in Google Reader either. Images show up in Yahoo's reader, but no prices.
-
Re: RSS2 Feed Contribution
Forgot about price, images and any other additional tags if you use Google Reader or any another reader, that don't support it!!! RTFM!!!!!!!!!!!!!!!!!!!!!!!!!!!
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
a_berezin
Are you sure?
No Andrew I am not sure (it did seem like it thought!), I have already insalled the latest google analytics you see and I am getting new validation errors with that.
Please help...
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
a_berezin
Forgot about price, images and any other additional tags if you use Google Reader or any another reader, that don't support it!!! RTFM!!!!!!!!!!!!!!!!!!!!!!!!!!!
Andrew, can you recommend a reader then that does support price, images etc et?
:smile:
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
a_berezin
RTFM!!!!!!!!!!!!!!!!!!!!!!!!!!!
Which one? If you are referring to your readme, I didn't see anything about those things not working with Google Reader, etc.
And you don't need to be rude. If you are getting that frustrated with our questions, maybe contributing things isn't for you.
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
craftzombie
Which one? If you are referring to your readme, I didn't see anything about those things not working with Google Reader, etc.
I suspect that Andrew may be referring to the Google Reader, etc. documentation. Although his readme can realistically be expected to cover the major points of this mod, it wouldn't be reasonable to expect him to document its impact on every conceivable reader in use now and in the future that people might use. So rather like for browsers, you need to work out what your visitors might use and familiarise yourself with them and their limitations and likely interactions with this mod.
Quote:
Originally Posted by
craftzombie
And you don't need to be rude. If you are getting that frustrated with our questions, maybe contributing things isn't for you.
Andrew can sometimes get a bit hot under the collar. But hey, so do many of us who contribute regularly and feel that we're taking flack for users own installation mistakes, misunderstandings about what mods are supposed to do, or other things that are obviously out of our control, or just being asked the same question for the umpteenth time by somebody who clearly hasn't searched the thread.
I stress, craftzombie, that I'm not saying that this is the case here, just that this frustration tends to build up, and needs to be released from time-to-time. I guess you were in the wrong place when Andrew needed to release his.
Stepping back from that, Andrew has made a huge contribution to the mods available for Zen Cart - not only those with his name on, but also several that have been taken forward by other people building on his foundations. So even if he sometimes gets a tetchy at times, were to take your advice this community would be impoverished by his absence.
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
kuroi
Although his readme can realistically be expected to cover the major points of this mod, it wouldn't be reasonable to expect him to document its impact on every conceivable reader in use now and in the future that people might use.
It also wouldn't be reasonable for me to be expected to read the manuals of every reader available to see if this mod is compatible with them. Instead of the whole RTFM statement, he could have just said that they weren't compatible. Its that kind of attitude that I'm sick of around here. We aren't all programmers. We don't know, so we come here to ask. The people who do know don't need to be so damn condescending.
Quote:
Originally Posted by
kuroi
Andrew can sometimes get a bit hot under the collar. But hey, so do many of us who contribute regularly and feel that we're taking flack for users own installation mistakes, misunderstandings about what mods are supposed to do, or other things that are obviously out of our control, or just being asked the same question for the umpteenth time by somebody who clearly hasn't searched the thread.
As someone who answers questions all the time, many of them the same questions over and over, I've never once felt the need to act like a jerk. Maybe its just me, but I understand that most of the people here are not programmers or even that proficient with HTML & CSS. My point in making that statement is that if you are even thinking about contributing something here, you should know that you ARE going to be asked questions. Its like the guy with the bad attitude working the drive-thru at McDonalds.... no one is forcing you to work there. If you are that unhappy to the point where you have to be a jerk to everyone, THEN DON'T WORK THERE. If you aren't ready for answering the same questions over and over, etc. then why bother? Do you really think people are going to read through pages and pages of forum posts? (I'm sure posts like this, clogging up the threads, doesn't help either, but you know.... I just HAD to reply.)
Quote:
Originally Posted by
kuroi
Stepping back from that, Andrew has made a huge contribution to the mods available for Zen Cart - not only those with his name on, but also several that have been taken forward by other people building on his foundations. So even if he sometimes gets a tetchy at times, were to take your advice this community would be impoverished by his absence.
Although I appreciate his work and the work of others, which I have stated many times and I have also donated, that doesn't give any mod contributor the right to take out frustrations on us. Buy a punching bag or go scream in your pillow. If thats the price I have to pay for a free mod, well... I'd rather pay money for real support without attitude problems and insults.
You know, I really really love Zen Cart. Even out of all of the paid carts I've seen, it is the best. Its just a shame that I have to be treated like the biggest moron on earth every time I come here to ask a question. (okay, not EVERY time, but many times.)
-
Re: RSS2 Feed Contribution
Hi,
Can someone help me with these...
Line 49, Column 31: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified.
document.write("<script id=__ie_onload defer><\/script>");✉
Line 49, Column 48: the name and VI delimiter can be omitted from an attribute specification only if SHORTTAG YES is specified.
document.write("<script id=__ie_onload defer><\/script>");✉
"VI delimiter" is a technical term for the equal sign. This error message means that the name of an attribute and the equal sign cannot be omitted when specifying an attribute. A common cause for this error message is the use of "Attribute Minimization" in document types where it is not allowed, in XHTML for instance.
How to fix: For attributes such as compact, checked or selected, do not write e.g <option selected ... but rather <option selected="selected" ...
Line 49, Column 48: required attribute "type" not specified.
document.write("<script id=__ie_onload defer><\/script>");✉
The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.
Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.
Line 49, Column 48: document type does not allow element "script" here.
document.write("<script id=__ie_onload defer><\/script>");✉
The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).
One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
Line 49, Column 49: character "<" is the first character of a delimiter but occurred as data.
document.write("<script id=__ie_onload defer><\/script>");✉
This message may appear in several cases:
You tried to include the "<" character in your page: you should escape it as "<"
You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&", which is always safe.
Another possibility is that you forgot to close quotes in a previous tag.
Line 103, Column 151: document type does not allow element "link" here.
…in_page=rss_feed&feed=specials" />✉
The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).
One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
Line 104, Column 159: document type does not allow element "link" here.
…age=rss_feed&feed=new_products" />✉
The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).
One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
Line 105, Column 151: document type does not allow element "link" here.
…in_page=rss_feed&feed=upcoming" />✉
The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).
One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
Line 106, Column 151: document type does not allow element "link" here.
…in_page=rss_feed&feed=featured" />✉
The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).
One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
Line 107, Column 155: document type does not allow element "link" here.
…age=rss_feed&feed=best_sellers" />✉
The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).
One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
craftzombie
If thats the price I have to pay for a free mod, well... I'd rather pay money for real support without attitude problems and insults.
Just in my own experience, I have gotten insults, condescention, and exasperation from plenty of paid support over the years. I think this is a condition of working with humans, not a condition of whether you pay the humans.
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
vitalwares
Hi,
Can someone help me with these...
Line 49, Column 31: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified.
document.write("<script id=__ie_onload defer><\/script>");✉
Line 49, Column 48: the name and VI delimiter can be omitted from an attribute specification only if SHORTTAG YES is specified.
document.write("<script id=__ie_onload defer><\/script>");✉
"VI delimiter" is a technical term for the equal sign. This error message means that the name of an attribute and the equal sign cannot be omitted when specifying an attribute. A common cause for this error message is the use of "Attribute Minimization" in document types where it is not allowed, in XHTML for instance.
How to fix: For attributes such as compact, checked or selected, do not write e.g <option selected ... but rather <option selected="selected" ...
Line 49, Column 48: required attribute "type" not specified.
document.write("<script id=__ie_onload defer><\/script>");✉
The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.
Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.
Line 49, Column 48: document type does not allow element "script" here.
document.write("<script id=__ie_onload defer><\/script>");✉
The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).
One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
Line 49, Column 49: character "<" is the first character of a delimiter but occurred as data.
document.write("<script id=__ie_onload defer><\/script>");✉
This message may appear in several cases:
You tried to include the "<" character in your page: you should escape it as "<"
You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&", which is always safe.
Another possibility is that you forgot to close quotes in a previous tag.
Line 103, Column 151: document type does not allow element "link" here.
…in_page=rss_feed&feed=specials" />✉
The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).
One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
Line 104, Column 159: document type does not allow element "link" here.
…age=rss_feed&feed=new_products" />✉
The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).
One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
Line 105, Column 151: document type does not allow element "link" here.
…in_page=rss_feed&feed=upcoming" />✉
The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).
One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
Line 106, Column 151: document type does not allow element "link" here.
…in_page=rss_feed&feed=featured" />✉
The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).
One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
Line 107, Column 155: document type does not allow element "link" here.
…age=rss_feed&feed=best_sellers" />✉
The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).
One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
Andrew or others please help...
-
Re: RSS2 Feed Contribution
After upgrading to the latest version, I could not get my feeds to update. After taking a closer look, I noticed that the new products feed is main_page=rss_feed&feed=new_products. The problem is that the actual new products page is not new_products, but rather products_new. When I made this change in my browser, the feed updated. I have changed the link on my EZ-Page which lists all of my feeds, but.... what about the RSS icon in the address bar in Firefox (or in IE)? Are there other files that need to be changed? For instance, in includes\functions\extra_functions\rss_feed.php, there are many references to "new_products". Do they all need to be changed to "products_new"? What about the SQL? I don't know if I am barking up the wrong tree and these things don't matter, but I could not get my feed to update without changing it. Any thoughts?
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
craftzombie
For instance, in includes\functions\extra_functions\rss_feed.php, there are many references to "new_products". Do they all need to be changed to "products_new"?
For anyone who is having the same trouble... not sure if this is what is supposed to be done, but I did it and it is working.... I went ahead and changed every instance of "new_products" to "products_new" in includes\functions\extra_functions\rss_feed.php and it corrects the problem with the RSS icon in the address bar.
But please, don't take my word for it. I am not an RSS expert and I'd rather have Andrew approve/disapprove of everything I am saying here before you go and mess anything up.
(there are also instances of it in includes\modules\pages\rss_feed\header_php.php, but I was reluctant to mess with it since the changes to the other file are working.)
-
Re: RSS2 Feed Contribution
craftzombie,
I'm not going to make the changes yet...but I did look to see if my products were updated on the products_new and "some" of the new ones are there....but not all of them....and they are taking a lot longer to update I noticed. So....I'm not quite sure it's an actual fix. For now I just delete the cache files that keep appearing in my root folder and it automatically updates my new_products feed
-
Re: RSS2 Feed Contribution
craft,
Just a quick glance.....look at the differences
new_products
products_new
It's actually skipped a few products in the products_new link
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
NFM
craft,
Just a quick glance.....look at the differences
new_products
products_new
It's actually skipped a few products in the products_new link
Hmm, strange. I added some new products last week and also a few minutes ago. My subscriptions in Google and Yahoo never updated. After the changes I just made, if I re-subscribe to the new feed, everything is updated, and it shows all of the past updated products as well (I have it set to show 100).
The reason I stumbled onto this is because I have Ultimate SEO Urls installed and since nothing was updating, I thought maybe that had something to do with it. When I went into the admin seo config. to remove changes made to the new products page, I noticed the difference in spelling and one thing led to another....
Hopefully we can find out what is going on soon. I have subscribers that it looks like may be subscribed to the wrong feed (????).
-
Re: RSS2 Feed Contribution
See, if you take a look in that functions file I mentioned above, here is what looks like contradictory code:
case ($feed == 'new_products_random'):
case ($feed == 'new_products'):
$title = TEXT_RSS_PRODUCTS_NEW;
Some of it is new_products, some of it is products_new. Since I am not a programmer, I have no idea if this is supposed to be like this. If you look at the code for "All products", it is always referenced as products_all and never the other way around (at least in that file it isn't - not sure about the others).
-
Re: RSS2 Feed Contribution
Hi April,
I think it's related to the following: Zen Cart has a products_new page and a new_products module. The module is being used for the "New products of the month ...." box.
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
misty
Andrew, can you recommend a reader then that does support price, images etc et?
:smile:
Unfortunately no :-( Only self-making.
I think the price could be included in the description? It now includes a picture.
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
craftzombie
And you don't need to be rude. If you are getting that frustrated with our questions, maybe contributing things isn't for you.
Nice! Don't use my rube contributions and dont ask your stupid questions.
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
craftzombie
THEN DON'T WORK THERE.
If you think that I am WORKING THERE, you can pay me for it?
Especially for those of you in readmi written:
Quote:
Installation of this contribution is done at your own risk.
Quote:
Originally Posted by craftzombie;
I am not an RSS expert
If you do not know anything about the instrument, not using it - it's dangerous. To drive a car you need to learn to drive, to study the rule. Is not enough to require other solutions to your own problems.
-
Re: RSS2 Feed Contribution
Quote:
Unfortunately no :-( Only self-making.
No problem.. onwards to learn more about creating
my own then.
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
paulm
Hi April,
I think it's related to the following: Zen Cart has a products_new page and a new_products module. The module is being used for the "New products of the month ...." box.
Hi Paul,
No New Products module installed for me, so I'm not sure whats going on. Not much help here anyway.
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
a_berezin
If you think that I am WORKING THERE, you can pay me for it?
Especially for those of you in readmi written:
If you do not know anything about the instrument, not using it - it's dangerous. To drive a car you need to learn to drive, to study the rule. Is not enough to require other solutions to your own problems.
I guess we should all leave then. God forbid any of us come here for help.
Perhaps I shouldn't be using a contribution that doesn't work properly anyway. Goodbye and thanks for all of your "help".
-
Re: RSS2 Feed Contribution
Tried searching this thread and did not find anything on this... sorry if dup question.
Is this compatible with v 1.3.7 ? I noticed the files affected in the readme are different than what I have, and they don't even seem to match what's in the actual downloaded package:
Affected files
==============
/includes/templates/YOUR_TEMPLATE/common/html_header.php
/includes/templates/YOUR_TEMPLATE/common/tpl_footer.php
In the package
==============
/includes/templates/YOUR_TEMPLATE/rss_feed/
/includes/templates/YOUR_TEMPLATE/css/
/includes/templates/YOUR_TEMPLATE/images/
...but no common folder in the package.
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
vitalwares
Hi,
Can someone help me with these...
Line 49, Column 31: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified.
document.write("<script id=__ie_onload defer><\/script>");✉
Line 49, Column 48: the name and VI delimiter can be omitted from an attribute specification only if SHORTTAG YES is specified.
document.write("<script id=__ie_onload defer><\/script>");✉
"VI delimiter" is a technical term for the equal sign. This error message means that the name of an attribute and the equal sign cannot be omitted when specifying an attribute. A common cause for this error message is the use of "Attribute Minimization" in document types where it is not allowed, in XHTML for instance.
How to fix: For attributes such as compact, checked or selected, do not write e.g <option selected ... but rather <option selected="selected" ...
Line 49, Column 48: required attribute "type" not specified.
document.write("<script id=__ie_onload defer><\/script>");✉
The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.
Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.
Line 49, Column 48: document type does not allow element "script" here.
document.write("<script id=__ie_onload defer><\/script>");✉
The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).
One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
Line 49, Column 49: character "<" is the first character of a delimiter but occurred as data.
document.write("<script id=__ie_onload defer><\/script>");✉
This message may appear in several cases:
You tried to include the "<" character in your page: you should escape it as "<"
You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&", which is always safe.
Another possibility is that you forgot to close quotes in a previous tag.
Line 103, Column 151: document type does not allow element "link" here.
…in_page=rss_feed&feed=specials" />✉
The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).
One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
Line 104, Column 159: document type does not allow element "link" here.
…age=rss_feed&feed=new_products" />✉
The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).
One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
Line 105, Column 151: document type does not allow element "link" here.
…in_page=rss_feed&feed=upcoming" />✉
The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).
One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
Line 106, Column 151: document type does not allow element "link" here.
…in_page=rss_feed&feed=featured" />✉
The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).
One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
Line 107, Column 155: document type does not allow element "link" here.
…age=rss_feed&feed=best_sellers" />✉
The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).
One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
Am I the only one with validation errors on this forum ? Did I install something incorrectly ? :oops:
Someone please help :(
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
craftzombie
Goodbye
Thank you for having finally been freed from the continuous flood :clap:
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
craigkendall
Is this compatible with v 1.3.7 ?
Yes. It compatible with 1.3.7 and 1.3.8.
Quote:
Originally Posted by
craigkendall
Affected files
==============
/includes/templates/YOUR_TEMPLATE/common/html_header.php
/includes/templates/YOUR_TEMPLATE/common/tpl_footer.php
...but no common folder in the package.
You have to adjust himself these files:
Quote:
4. You can add to html_header.php somewhere beetwen <head> and </head> tags:
<?php echo rss_feed_link_alternate(); // RSS Feed ?>
5. You can add to tpl_footer.php or where you want:
<!--bof RSS Feed -->
<div id="RSSFeedLink"><?php echo rss_feed_link(RSS_ICON); ?></div>
<!--eof RSS Feed -->
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
misty
No problem.. onwards to learn more about creating
my own then.
Where do you want to use it? I made a parser for xoops, ExpressionEngine and WordPress. Maybe add these parsers in contribute?
And what you think about:
Include a description of the product price? As it is done with a picture.
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
vitalwares
Am I the only one with validation errors on this forum ? Did I install something incorrectly ? :oops:
Someone please help :(
Remove /jscript/jscript_googleanalytics_outgoing.php and validate it once more.
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
elishama3
I am still fruitlessly trying to track down the source of the xml parsing error. I am not sure if this is related or not, but in the rss.css and rss.xls files are the following wording:
The CSS/XLS files are sent to the browser in this order: (and alphabetically within each case of more than one match):
rss*.css // are always loaded and at least ONE should contain site-wide properties.
rss*.xls // are always loaded and at least ONE should contain site-wide properties.
Do I need to input something here to make it work, and if so, what? I am not sure what site-wide properties would be appropriate for an rss feed.
Please help.
I have been going over this at length and still cannot figure out which files have the extra space at the bottom line that is a problem. Just to recap, I am getting this error when clicking on the rss button:
XML Parsing Error: xml declaration not at start of external entity
Location: http://www.phoenixflightpublications...&feed=products
Line Number 2, Column 1:<?xml version="1.0" encoding="iso-8859-1"?>
All help is much appreciated,
Thank you in advance.
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
a_berezin
Remove /jscript/jscript_googleanalytics_outgoing.php and validate it once more.
Yes Andrew, removing the file has removed the errors I mentioned but won't removing this file break the module ? :unsure:
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
elishama3
XML Parsing Error: xml declaration not at start of external entity
Ok. Use this /rss_feed/tpl_main_page.php (for debug only!!!):
Code:
<?php
/**
* rss_feed tpl_main_page.php
*
* @package rss feed
* @copyright Copyright 2004-2007 Andrew Berezin eCommerce-Service.com
* @copyright Portions Copyright 2003-2006 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: tpl_main_page.php, v 2.1.4 14.02.2008 15:26 Andrew Berezin $
*/
if(headers_sent($filename, $linenum)) {
echo "Headers already sent in $filename on line $linenum";
exit;
}
$rss->rss_feed_out();
require(DIR_WS_INCLUDES . 'application_bottom.php');
zen_exit();
?>
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
vitalwares
Yes Andrew, removing the file has removed the errors I mentioned but won't removing this file break the module ? :unsure:
Please wait. In a few days, will be a new google analitycs version.
And new version RSS Feed :smile:
P.S. Try this http://www.zen-cart.com/forum/showpo...&postcount=385
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
a_berezin
Thanks Andrew you are a big help! I will be waiting for the modules! :hug:
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
a_berezin
Ok. Use this /rss_feed/tpl_main_page.php (for debug only!!!):
Code:
<?php
/**
* rss_feed tpl_main_page.php
*
* @package rss feed
* @copyright Copyright 2004-2007 Andrew Berezin eCommerce-Service.com
* @copyright Portions Copyright 2003-2006 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: tpl_main_page.php, v 2.1.4 14.02.2008 15:26 Andrew Berezin $
*/
if(headers_sent($filename, $linenum)) {
echo "Headers already sent in $filename on line $linenum";
exit;
}
$rss->rss_feed_out();
require(DIR_WS_INCLUDES . 'application_bottom.php');
zen_exit();
?>
I loaded that into the file instead (saving the original in a separate file) and got the error message:
XML Parsing Error: xml declaration not at start of external entity
Location: http://www.phoenixflightpublications...&feed=products
Line Number 2, Column 1:<?xml version="1.0" encoding="iso-8859-1"?>
For debug purposes, does this help?
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
elishama3
For debug purposes, does this help?
Unfortunately not. :no: The only way to help - to give me access to FTP.
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
a_berezin
Yes. It compatible with 1.3.7 and 1.3.8.
You have to adjust himself these files:
Thanks for the help... I guess something was not right...
here's the error message I get when I attempt to click the feed link...
Quote:
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/*removed*/craiglkendall/econoclips.com/includes/templates/apple_zen/common/tpl_main_page.php on line
119
Fatal error: require() [
function.require]: Failed opening required 'includes/templates/template_default/templates/tpl_rss_feed_default.php' (include_path='.:/usr/local/php5/lib/php:/usr/local/lib/php') in
/home/*removed*/craiglkendall/econoclips.com/includes/templates/apple_zen/common/tpl_main_page.php on line
119
Any suggestions?
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
craigkendall
Thanks for the help... I guess something was not right...
here's the error message I get when I attempt to click the feed link...
Any suggestions?
Oh, here's another error when I try to edit the CATEGORIES FOR PRODUCTS item on the RSS FEED admin page
Quote:
Fatal error: Call to undefined function cfg_select_option() in /home/*removed*/craiglkendall/econoclips.com/admin/configuration.php(192) : eval()'d code on line 1
-
Re: RSS2 Feed Contribution
Never mind... got it... OH silly me. Forgot to rename YOUR_TEMPLATE before upload.
It works!
One small issue... I'm pricing by attributes. Any suggestions for how to include those attributes in the feed?
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
craigkendall
I'm pricing by attributes. Any suggestions for how to include those attributes in the feed?
You can not add attributes in the price tag - http://base.google.com/support/bin/a...er=73932&hl=en.
In the future, you can include the price and a list of attributes to describe.
-
RSS2 Feed Contribution
Hello,
Ive problems to install the sql update. I got every time this error message :
9 statements processed.
ERROR: Cannot insert configuration_key "" because it already exists
Note: 1 statements ignored. See "upgrade_exceptions" table for additional details.
I have no plan how to fix that.
thanks for help :oops:
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
craigkendall
Oh, here's another error when I try to edit the CATEGORIES FOR PRODUCTS item on the RSS FEED admin page
Well, I was sorta fixed. In the admin I get the following error when I click on the Feed Cache Time option.
Quote:
Call to undefined function cfg_select_option() in /home/<removed>/<removed>/econoclips.com/admin/configuration.php(192) : eval()'d code on line 1
I added a couple of new products this AM and noticed my feed didn't show those. So I was trying to see if there was a cache issue and found no instructions as to those settings...
1. Any ideas on the error (I'm running 1.3.7)
2. Any instructions regarding getting the new products to show up when they are posted?
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
Stoned-6
Ive problems to install the sql update.
You update from what version to what version?
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
craigkendall
1. Any ideas on the error (I'm running 1.3.7)
No any ideas - in install.sql function 'cfg_select_option()' don't used.
Quote:
Originally Posted by
craigkendall
2. Any instructions regarding getting the new products to show up when they are posted?
No any "special" instructions. I'm simply add new products. If the cache is active, you should wait until it refresh or clear it by hands.
It also called attention to the parameter "Time to live (ttl)" - RTFM.
-
Re: RSS2 Feed Contribution
HI,
it is a new installation. I use zen cart 1.3.7.1. I also try the uninstall sql but every time I install it again I got the same error. :-(
regards
Frank
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
Stoned-6
HI,
it is a new installation. I use zen cart 1.3.7.1. I also try the uninstall sql but every time I install it again I got the same error. :-(
I don't understand you - it is a new installation or updates? If the new, why do you "install the sql update"?
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
a_berezin
No any ideas - in install.sql function 'cfg_select_option()' don't used.
No any "special" instructions. I'm simply add new products. If the cache is active, you should wait until it refresh or clear it by hands.
It also called attention to the parameter "Time to live (ttl)" -
RTFM.
Thanks for the insight so far... I did manually clear the cache folder and the feed seems to be current now. Well, at least on the page. Not sure it's getting out the feeds when refreshed.
On the cfg_select_option error on the admin page for RSS, the error seems to relate to the database column inserted labeled set_function where the value is:
Quote:
cfg_select_option(array('news', 'new_products', 'upcoming', 'featured', 'specials', 'products', 'categories')
The only configuration options where I get the error on the admin pages are where this line appears in the set_function column.
Only other thing I can think of is that all my database tables have a prefix set during install... say "foo_" in front of each table name, so for instance the "customers" table in my database would be "foo_customers" and so forth.
Any ideas with that info?
-
Re: RSS2 Feed Contribution
Figured it out! YAY!
Because I use a table prefix in database, all the set_function statements:
NORMAL:
Quote:
cfg_select_option(array('news', 'new_products', 'upcoming', 'featured', 'specials', 'products', 'categories'),
Have to include that prefix:
Quote:
foo_cfg_select_option(array('news', 'new_products', 'upcoming', 'featured', 'specials', 'products', 'categories'),
Fixed, running, updating too! YAY!!!
-
Re: RSS2 Feed Contribution
Ohh... one last "find" in this research...
Your final configuration option...
Quote:
(NULL, 'Feed Cache Time', 'RSS_CACHE_TIME', '10', 'Cache Time (in min). If you don\'t want caching, set it to 0', @configuration_group_id, 200, NOW(), NULL, 'cfg_select_option(array(\'true\', \'false\'),');
When you pull it up in the admin you have options... set in the option select statement above... are TRUE and FALSE. But, in the explanation you indicate "If you don't want caching, set it to 0" and initial setting you have 0 (zero) as the setting.
Hope this helps with debugging this great contribution.
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
craigkendall
Figured it out! YAY!
Because I use a table prefix in database, all the set_function statements:
NORMAL:
Code:
cfg_select_option(array('news', 'new_products', 'upcoming', 'featured', 'specials', 'products', 'categories'),
Have to include that prefix:
Code:
foo_cfg_select_option(array('news', 'new_products', 'upcoming', 'featured', 'specials', 'products', 'categories'),
Fixed, running, updating too! YAY!!!
No comments. :wacko: Sorry, but I can't help you.
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
craigkendall
Figured it out! YAY!
Because I use a table prefix in database, all the set_function statements:
NORMAL:
Have to include that prefix:
Fixed, running, updating too! YAY!!!
I believe that if you run your sql scripts through the zencart admin using 'Tools > Install SQL Patches' database and table prefixes are added automatically.
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
spbennett
I believe that if you run your sql scripts through the zencart admin using 'Tools > Install SQL Patches' database and table prefixes are added automatically.
table prefixes - yes.
But why you change the function names???
-
Re: RSS2 Feed Contribution
HI There
IN the admin control panel there is a space for adding an image
How do i do this? Do i add a URL for an image?
there is no browse button to upload one, so i guess this was this
Are there limitations or restrictions (size)
Thanks
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
davidandrews
IN the admin control panel there is a space for adding an image
How do i do this?
File name. The file can be placed in the directory images/ or in the directory includes/templates/YOUR_TEMPLATE/images/.
Quote:
Originally Posted by
davidandrews
Are there limitations or restrictions (size)
RTFM
-
Re: RSS2 Feed Contribution
HI There
Not got it working sadly!
Is it .gif or .jpg only?
should I include the extention?
(I love this contrib btw!! awesome!)
-
Re: RSS2 Feed Contribution
Hi, sorry one more question!
In admin settings I can set to display:
RSS Home Page Feed and
RSS Default Feed
Should these be set to the same thing? I want to display just the last added products or a mixture if possible? I couldn't work out what the "default" actually was and why there would be an option to have two seperate feeds?
-
Re: RSS2 Feed Contribution
HI There
Ok, persevered and image working perfectly now! Many Thanks for your help
As for the feeds I am still a little confused as to RSS Home Page Feed and
RSS Default Feed and what the admin settings for these relate to??
Am i correct in thinking by having TWO seperate choices, the feed will give results from two areas from the site?
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
davidandrews
As for the feeds I am still a little confused as to RSS Home Page Feed and
RSS Default Feed and what the admin settings for these relate to??
Am i correct in thinking by having TWO seperate choices, the feed will give results from two areas from the site?
It's your choice. RSS is just a tool. How to use - everyone decides.
-
Re: RSS2 Feed Contribution
This is a fabulous mod! It works like a dream! Thank you so much, Andrew!! :thumbsup:
I have one quick question. I don't use Featured Products or Upcoming Products. Is it possible to remove their feed subscription options?
Thanks in advance! :smile:
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
KittieMD
I have one quick question. I don't use Featured Products or Upcoming Products. Is it possible to remove their feed subscription options?
It is not. Make in the next version.
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
a_berezin
It is not. Make in the next version.
Thanks for letting me know, Andrew. Keep up the great work! :D
-
Re: RSS2 Feed Contribution
Hello,
does anybody have a pice of code to display a rssfeed from the RSS2 Feed Contribution at an external website?
- including all the data included in the feed like the picture, price ....
I only find tools that show me the standart rss but not all the data and also no product picture.
thanks for your help
frank :lamo:
-
Google?
[FONT=Calibri]Hi,[/FONT]
[FONT=Calibri]Is it possible to add this feed to google?[/FONT]
[FONT=Calibri]There are required a xml file format?[/FONT]
-
Re: RSS2 Feed Contribution
2Stoned-6
Yes, I have this code. I will include it to next version.
-
Re: RSS2 Feed Contribution
For some reason my feeds are not updating automatically. Does anyone have any suggestions on how to correct this?
Thanks in advance! :)
-
Re: RSS2 Feed Contribution
I keep getting this error:
XML Parsing Error: xml declaration not at start of external entity
Location: http://www.allpaintballsupplies.com/...&feed=products
Line Number 4, Column 1:<?xml version="1.0" encoding="iso-8859-1"?>
I'm using Zen 1.3.7 and have tried almost all of the RSS feed downloads available on the zen downloads. Anyone have a clue what that is?
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
elishama3
Is there a way I can configure which feeds I want/don't want? I really only want to have one, maybe two types of feeds for the site.
Was looking for just this to change from the feeds :frusty:
found it so I thought I would share :lamo:
go to includes > functions > extra_functions > rss_feed.php
around line 122 look for
Code:
function rss_feed_link_alternate() {
$feed_array = array('specials', 'new_products', 'upcoming', 'featured', 'best_sellers');
remove what you dont want there ex....
Code:
$feed_array = array('new_products', 'featured');
that gave me 3 feeds "New Products, Featured and All Products"
-
Re: RSS2 Feed Contribution
I just installed this for a client and am getting this error when I click on the RSS buttoon:
Warning: fopen(/rssfeed_xxxxxxxxxxxxxxx): failed to open stream: Permission denied in /home/content/dbname/html/websitecom/includes/classes/rss_feed.php on line 346
Warning: Cannot modify header information - headers already sent by (output started at /home/content/dbname/html/websitecom/includes/classes/rss_feed.php:346) in /home/content/dbname/html/websitecom/includes/classes/rss_feed.php on line 353
Warning: Cannot modify header information - headers already sent by (output started at /home/content/dbname/html/websitecom/includes/classes/rss_feed.php:346) in /home/content/dbname/html/websitecom/includes/classes/rss_feed.php on line 354
Warning: Cannot modify header information - headers already sent by (output started at /home/content/dbname/html/websitecom/includes/classes/rss_feed.php:346) in /home/content/dbname/html/websitecom/includes/classes/rss_feed.php on line 355
Warning: Cannot modify header information - headers already sent by (output started at /home/content/dbname/html/websitecom/includes/classes/rss_feed.php:346) in /home/content/dbname/html/websitecom/includes/classes/rss_feed.php on line 356
I've looked at the codes and don't see any blank spaces at the end of the lines in error. What am I missing here.
FYI - just under the errors I am seeing the product information.
-
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
a_berezin
It is not. Make in the next version.
Hi Andrew,
When is the next version coming ? :unsure:
-
Re: RSS2 Feed Contribution
Hi. Just installed RSS FEED onto latest zen release.
step1 uploaded files
step2 copied/pasted contents of install.sql file
NO RSS BUTTONS
NO RSS IMAGES
what did i do wrong?
-
Re: RSS2 Feed Contribution
Hi all,
I just installed the RSS2 Feed V2.1.4,twice,carefully following the instructions.Renamed the (YOUR_TEMPLATE) folder to (classic),the name of the template I am using, used Filezilla to upload,opened the (install.sql) file with Notepad++ and copied the text, then went to Admin>Tools>Install SQL Patches and paste the context into the box and hit send, got a msg. 9 statements processed,then went to (templates>classic>common) and edited the html_header.php file and the tpl_footer.php file as instructed. Then went to homepage ,https://ecmauto.com, and all looks good even have a RSS button at the bottom of every page. All looks good so far--- until I click on the RSS icon, I am taken to a page filled with error messages and nothing else.I return to my homepage and it and all my other pages will display along with several error messages. To correct I run the (uninstall.sql) via cut and past and my site displays correctly with a RSS icon at the bottom of every page,except the home page,and it appears to be working ?? Only I don't have the RSS Feed option in my Admin>config of course.
Any idea on what I did wrong ?
Thanks,Jim
https://ecmauto.com
-
Re: RSS2 Feed Contribution
I have been through the thread, and I know it is supposed to be a language file that causes this problem, but I can't seem to find any trailing spaces anywhere:-
XML Parsing Error: xml declaration not at start of external entity
Location: http://www.allpaintballsupplies.com/...&feed=products
Line Number 4, Column 1:<?xml version="1.0" encoding="iso-8859-1"?>
I wondered if there is a way of locating the elusive space?
All replies are greatly appreciated. I have had the mod working on another website, which makes it more frustrating.
Heathenmagic :smile:
-
Featured not working
Great contribution, thanks! I've got it installed and it seems everything is worked except the feature RSS feed. Why would just one not be working.
url is http://www.customcreationsunlimited....&feed=featured
-
Re: RSS2 Feed Contribution
Thank you. You are godlike and have saved me a lot of money and effort.
Anyone know how to get Facebook to display the feed image when importing into notes?