Re: RSS2 Feed Contribution
Quote:
Originally Posted by
elishama3
Maybe I am being dense, but I do not see how to set up the feeds themselves. There is the config page in admin, but where do I go to actually write and submit the feeds?
I want to let customers know when new articles become available, which are set up in my store as products>documents>general, and are in several categories. How would I do this (once the feed gets working, that is)?
If you put that code into your footer you should see the RSS icon at the bottom of all your pages. If you go to the page that corresponds to what you're referring to it should automatically generate itself....I think. I'm REALLY new to Zen-Cart...and I don't really know PHP....but I had this contribution working fine until I did the recent update....so I can at least fill you in on what I DO know...lol
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
elishama3
Maybe I am being dense, but I do not see how to set up the feeds themselves. There is the config page in admin, but where do I go to actually write and submit the feeds?
I want to let customers know when new articles become available, which are set up in my store as products>documents>general, and are in several categories. How would I do this (once the feed gets working, that is)?
where do I go to actually write and submit the feeds?
Someone correct me if I'm wrong, but I don't believe that is how it works. At least not for me. You don't "write" anything, your subscribers are notified automatically after you add new products to your database. Same with the Specials feed. Whenever you add new items to the Specials section, the subscribers are automatically notified.
I am subscribed to my own feeds in my Google Reader to make sure it is always working properly. Whenever I add new items or add new Specials, they always show in my reader a little while after that. I also tested them in Yahoo's reader and they appear there too.
Also, I had asked before about adding a page to the feed. I use the "About Me" mod to add pages to my cart (I don't like using EZ pages for that). I have a News page that I wanted to add to my feed. My question was answered with a "Yes, that is possible", but I was never told exactly how to do it. If you Google "create an rss feed", there are some great, simple tutorials for creating basic feeds. I ended up going to feed43.com and created a feed for my News page there. Just thought I would throw that out there for those that need something similar.
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
elishama3
1) The instructions say the following, but the file in step 4. does not have any head tags to put the line between, and 5. seems to be optional but I do not understand what to do with 6.
4. You can add to html_header.php somewhere beetwen <head> and </head> tags:
<?php echo rss_feed_link_alternate(); // RSS Feed ?>
elishama3, in includes/templates/your_template/common/html_header.php, you should have the <head> tags you are looking for. At the very bottom of that page you should see these two lines:
</head>
<?php // NOTE: Blank line following is intended: ?>
add the code just above the</head> tag, like this:
<?php echo rss_feed_link_alternate(); // RSS Feed ?>
</head>
<?php // NOTE: Blank line following is intended: ?>
Re: RSS2 Feed Contribution
Okay....new update....lol
It seems that for some reason I had those cache files back in my root folder again. I deleted them and my new products feed immediately updated. I went back and looked and there is another one there again. I guess I can keep deleting them to get it updating again....as I'm not sure why they are coming back.
Also...I still have the problem in my RSS Config that doesn't give me a number option for the RSS Feed Cache....it still only lets me choose "True, False"
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
craftzombie
elishama3, in includes/templates/your_template/common/html_header.php, you should have the <head> tags you are looking for.
I have looked, now for the third time, and there is no html_header.php file in that directory. There is a tpl_header.php, but not any htmp_header.php. Maybe this is a part of my problem.
The only html_header.php file is the one inserted with the RSS files, and that has no <head> tags that I can find, either.
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
NFM
Okay....new update....lol
It seems that for some reason I had those cache files back in my root folder again. I deleted them and my new products feed immediately updated. I went back and looked and there is another one there again. I guess I can keep deleting them to get it updating again....as I'm not sure why they are coming back.
Also...I still have the problem in my RSS Config that doesn't give me a number option for the RSS Feed Cache....it still only lets me choose "True, False"
In your root folder, not your cache folder yes they are back in the cache folder not as quick but they are back but it's the cache folder, if it's happening in your root you have something wrong.
Re: RSS2 Feed Contribution
Thanks to colemanpa, the button now appears in the footer. Thanks.
However, I just clicked the rss button and got:
XML Parsing Error: xml declaration not at start of external entity
Location: http://www.phoenixflightpublications...eed=categories
Line Number 2, Column 1:<?xml version="1.0" encoding="iso-8859-1"?>
Any ideas?
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
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
elishama3
I have looked, now for the third time, and there is no html_header.php file in that directory. There is a tpl_header.php, but not any htmp_header.php. Maybe this is a part of my problem.
The only html_header.php file is the one inserted with the RSS files, and that has no <head> tags that I can find, either.
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)
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
colemanpa
In your root folder, not your cache folder yes they are back in the cache folder not as quick but they are back but it's the cache folder, if it's happening in your root you have something wrong.
They are showing up in the root folder whenever I click the footer link. But hey....I guess I don't care anymore about it. I can delete them once a week manually...as long as it's working I don't care...lol