Everything else you need to keep. Just delete the rss feed files thats all and your feed will be up to date from now own until you add more products or delete them then you will have to do the same thing to keep your store RSS up to date.
Printable View
I just wanted to say thank you for this mod, I've installed quite a few mods on my zen (i'm new to zen also) and this one was the easiest and I had it up and running in under 10 mins- I'm very impressed :)
If you have the time, or if anyone reading this knows, I have a small issue I wanted to ask about validation. I ran the feed through w3.org and I got:
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 107: Self reference doesn't match document location [help]
... rel="self" type="application/rss+xml" />
^
*
line 24, column 0: Invalid HTML: EOF in middle of construct, at line 1, column 106 (100 occurrences) [help]
<description><![CDATA[ <a href="http://www.mysiteurl.com
Small issues and I don't know if they are unrelated to the feed mod, but if I can I would like to put them right. Can you/anyone advise on any of these?
Thank Again :)
I read all this thread since msg #1 and couldn't find the cause of my problem.
The feed writes the <link> tag above the XML declaration, I was wondering why is this happening, as a result no feed is displayed, I tested with different feed readers and although IE8 reads my old feed??? Even though I deleted it from the cache, Firefox 3 and Safari, just show text and don't display the feed ... as I said the problem seems to be the link tags, but I don't understand why are they displayed outside the head tag ...
It's really weird as after XML declaration the documents follows the proper structure ....
Here are the errors encountered by feedvalidator.org:
This feed does not validate.
*
line 1, column 0: Undefined root element: link [help]
<link rel="alternate" type="application/rss+xml" title="RSS Specials Feed" h ...
*
line 2, column 0: XML parsing error: <unknown>:2:0: junk after document element [help]
<link rel="alternate" type="application/rss+xml" title="RSS New Products Fee ...
In addition, interoperability with the widest range of feed readers could be improved by implementing the following recommendation.
*
Feeds should not be served with the "text/html" media type [help]
Has anyone analyzed the class in deep to tell me why these links are not in the header?
Thanks!
Check php-scripts in the presence of extra lines and spaces.Quote:
Feed Code Error
Invalid xml declaration.
Line: 1 Character: 4
<?xml version="1.0" encoding="iso-8859-1"?>
Take this script, unzip it, upload it to a root directory and running it.
Excellent script! and very useful, usually I check php scripts for ending spaces manually, to avoid 'headers are already sent ..' error messages but with your script is much faster and convenient!
Although I am checking if any of these files are related to your module, I will fix them and run the script again.
/admin/downloads_manager.php Yes
/admin/orders.php Yes
/admin/quickbooks_download.php Yes
/admin/track_fedex.php Yes
/includes/templates/template_default/common/html_header.php Yes
/includes/templates/template_default/common/tpl_columnar_display.php Yes
Total files - 1072
Bad files - 6
ok ... all the above files are fixed the script scanned 1072 files and found no errors.
BTW the feeds are still showing the same error messages, and the source code starts with link tags ... instead of the xml declaration.
Please note I don't have any SEO contributions installed, that might affect the way the standard function works.
#
line 1, column 0: Undefined root element: link [help]
<link rel="alternate" type="application/rss+xml" title="RSS Specials Feed" h ...
#
line 2, column 0: XML parsing error: <unknown>:2:0: junk after document element [help]
<link rel="alternate" type="application/rss+xml" title="RSS New Products Fee ...
BTW I am using Zen Cart 1.3.8a and your latest RSS2 Feed 2.1.4 update, installed from scratch and read all the threads to make the modifications suggested.
As far as that, my only modifications were to the templates, affecting only CSS, I also changed strip tags setting to true in order to avoid XHTML tags. I understand many of these tags are not present in XML, so they have to be either encoded in UTF-8, or stripped altogether.