Forums / All Other Contributions/Addons / RSS2 Feed Contribution

RSS2 Feed Contribution

Views: 202,798

Results 521 to 540 of 955
9 Feb 2009, 4:01 PM
#521
bonheddwr avatar

bonheddwr

Zen Follower

Join Date:
Jun 2007
Location:
Cymru
Posts:
124
Plugin Contributions:
0

RSS2 Feed Contribution

Hi,

I'm still quite a neewbie, and would be very grateful if anyone can help.

I'm running Zen Cart 1.3.7, will the latest version of this work on 1.3.7?

I'vew gone though the 'readme' file,and have followed all instructions, but cannot get this to work properlyu.

1. Unzip and upload all new files to your store directory;
I unzipped and got a folder called rss_feed . I uploaded that folder to my root directory, i.e. the same directory as the index.php file. Have I uploaded to the correct place?

2. Go to Admin->Tools->Install SQL Patches and install install.sql (don't use upload - use copy/paste to install sql).
Copied everything from install.sql in to 'Install SQL Patches' and received no errors.

3. Go to Admin>Configuration>RSS Feed and setting up your RSS Feed configuration;
It is there under Admin>Configuration>RSS Feed and I have setup configurations.

4. You can add to html_header.php somewhere beetwen <head> and </head> tags:
<?php echo rss_feed_link_alternate(); // RSS Feed ?>
To start with, when you refer to html_header.php , is it to the following file? includes>templates>template_default>common>html_header.php

I tried to add the string to different areas between <head> and </head> tags, i.e. right after <head> tag, and just before </head> tag, and the website did not load at all. I the placed it just before the following line, and the website does now load - <meta name="robots" content="noindex, nofollow" /> - is this the best place to place it?

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 -->
When you refer to tpl_footer.php , is it to the following file? includes>templates>template_default>common>tpl_footer.php

I added the code just before the following, is this the best place? <!--bof-navigation display -->

The problem I have is that I don't know what to do next. No RSS logo appears in the address bar of Firefox or Internet Explorer, and I cannot see a link anywhere else on any pages of the site. I've tried going to the following page, as suggested, but nothing appears. http://www.cadwyngifts.com/index.php?main_page=rss_feed Where can I access this RSS feed?

Many Thanks.

9 Feb 2009, 4:36 PM
#522
bonheddwr avatar

bonheddwr

Zen Follower

Join Date:
Jun 2007
Location:
Cymru
Posts:
124
Plugin Contributions:
0

Re: RSS2 Feed Contribution

I seem to be getting there, but unfortunately there is now a different issue. I figured out that I needed to copy the content of rss_feed folder into my root folder on the server, and not the actual folder itself. i therefore copied the 'includes' folder in to my root folder. Everything seems to be fine now, and the RSS button does appear on the bottom of the pages (even though it does not appear in the address bar), the problem is I get an error message when I try to access the rss feed - http://www.cadwyngifts.com/rss_feed.html

Feed Code Error

Invalid xml declaration.
Line: 1 Character: 4

<?xml version="1.0" encoding="iso-8859-1"?>
9 Feb 2009, 6:42 PM
#523
majoritywhip avatar

majoritywhip

New Zenner

Join Date:
Jul 2008
Location:
San Francisco
Posts:
63
Plugin Contributions:
0

Re: RSS2 Feed Contribution

I'm still having the same problem and I don't know where else to look. Here is the Error that I'm getting:

XML Parsing Error: XML or text declaration not at start of entity
Location: http://majortek.com/index.php?main_page=rss_feed&feed=new_products
Line Number 2, Column 1:<?xml version="1.0" encoding="iso-8859-1"?>
^

When I look at the XML output, Line 1 is empty. I've tried a total uninstall and reinstall, set up the parameters in Admin, and still the same problem. (still works fine under safari)

Help? And please, not from the Russian guy!

Major Innovations in Teknology and Style
Majortek.com

9 Feb 2009, 7:27 PM
#524
bonheddwr avatar

bonheddwr

Zen Follower

Join Date:
Jun 2007
Location:
Cymru
Posts:
124
Plugin Contributions:
0

Re: RSS2 Feed Contribution

majoritywhip:

Help? And please, not from the Russian guy!

I think you'll find that 'the Russian Guy' built this mod!! :bangin:

I'd be very grateful if anyone could help me with the issue that's affecting me.

9 Feb 2009, 8:52 PM
#525
majoritywhip avatar

majoritywhip

New Zenner

Join Date:
Jul 2008
Location:
San Francisco
Posts:
63
Plugin Contributions:
0

Re: RSS2 Feed Contribution

bonheddwr:

I think you'll find that 'the Russian Guy' built this mod!! :bangin:

I'd be very grateful if anyone could help me with the issue that's affecting me.

I'm always appreciative when I get help. But his response to my problem was basically, "Fix whatever you broke". That doesn't help me. Like I said, it was working fine and then it stopped. I've looked in html_header.php and tpl_footer.php and I can't seem to find the problem.:no:

Major Innovations in Teknology and Style
Majortek.com

11 Feb 2009, 2:00 AM
#526
zilog357 avatar

zilog357

New Zenner

Join Date:
Jun 2008
Posts:
20
Plugin Contributions:
0

Re: RSS2 Feed Contribution

Hello Fellas.

When validating the RSS Feeds, I am also having the same error:

"XML Parsing Error: XML or text declaration not at start of entity"

I am using ZC v1.3.8a and everything is working flawlessly. My shared server specs are as follow:

Server OS: Linux 2.4.21-53.ELsmp
Database: MySQL 4.1.22-max-log
HTTP Server: Apache
PHP Version: 4.3.11 (Zend: 1.3.0)
PHP Safe Mode: Off
PHP File Uploads: On
Max Size: 2M POST Max Size: 8M

This error is appearing after -right out of the box- installation of the RSS Feeds contribution.

I checked and rechecked and everything is on its place. Changed the function call to every position in the header between <HEAD> and </HEAD> and even before the HEAD block. It sounds like the typical space before the XML tags, but couldn't find anything.

If I put the suggested code for the RSS image on the footer, it shows the icon as expected, but feeds are not working.

Please, if anyone can shed a light on this, it will be greatly appreciated. RSS Feeds are very, very important as a promotion tool. I am sure that everyone will appreciate this nice peace of software working right.

Best regards,

Rick

11 Feb 2009, 4:37 AM
#527
jerry5763837 avatar

jerry5763837

Zen Follower

Join Date:
May 2008
Posts:
261
Plugin Contributions:
0

Re: RSS2 Feed Contribution

yellow1912:

Thanks a_berezin, I had some problem with the old version conflicting with my new mod Simple SEO URL, this version fixed that.

Regards.

Hi, Yellow

I am using same SEOs same as yours, do you know how to make Rss2 & Ultimate SEO worked well with each other?

On my site https://www.topalways.com, SEO was enabled, and the .html in Urls were all removed, just like this:
https://www.topalways.com/aaa-bbb-cccc/

After installing Rss2, found the Urls of product name is https://www.topalways.com/aaa-bbb-cccc
the problem is that the slash '/' at the end of Url is missing.
however, image urls is okay.

Any body know what is the problem? any suggestion is higly appreciated. thanks again.

11 Feb 2009, 10:25 AM
#528
jerry5763837 avatar

jerry5763837

Zen Follower

Join Date:
May 2008
Posts:
261
Plugin Contributions:
0

Re: RSS2 Feed Contribution

a_berezin:

My bug :(
includes/class/rss_feed.php
Find (line ~383):

if ($time == false || (time() - filemtime(DIR_FS_RSSFEED_CACHE . '/' . $zv_file)) < $time) {

> Replace by
> ```
if ($time == false || (time() - filemtime(DIR_FS_RSSFEED_CACHE . '/' . $zv_file)) > $time) {

HI, Andrew,

Very strange problem.

After editing the file includes/class/rss_feed.php by Notepad, or by Wordpad, or by Dreamwaer.., all the rss can not be open, just a blank page in IE7.

Any idea on this problem?:smile:

11 Feb 2009, 1:59 PM
#529
a_berezin avatar

a_berezin

Deceased

Join Date:
Aug 2004
Location:
Saint Petersburg, Russia
Posts:
1,782
Plugin Contributions:
5

Re: RSS2 Feed Contribution

Jerry5763837:

HI, Andrew,

Very strange problem.

After editing the file includes/class/rss_feed.php by Notepad, or by Wordpad, or by Dreamwaer.., all the rss can not be open, just a blank page in IE7.

Any idea on this problem?:smile:
UTF-8? Rather, the editors write BOM to beginning of file.

NOTE: We are sorry that Andrew is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

11 Feb 2009, 2:06 PM
#530
a_berezin avatar

a_berezin

Deceased

Join Date:
Aug 2004
Location:
Saint Petersburg, Russia
Posts:
1,782
Plugin Contributions:
5

Re: RSS2 Feed Contribution

bonheddwr:

Feed Code Error
Invalid xml declaration.
Line: 1 Character: 4

<?xml version="1.0" encoding="iso-8859-1"?>

zilog357:

When validating the RSS Feeds, I am also having the same error:
"XML Parsing Error: XML or text declaration not at start of entity"

I talked about this a thousand times - look for extra lines and spaces in the language and other additional files.

I can suggest a script that searches for similar files. On request by email. All except the American guy majoritywhip.

NOTE: We are sorry that Andrew is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

11 Feb 2009, 2:43 PM
#531
heathenmagic avatar

heathenmagic

Totally Zenned

Join Date:
May 2005
Location:
England
Posts:
733
Plugin Contributions:
0

Re: RSS2 Feed Contribution

Andrew is right. Just to help, I found mine in includes/extra datafiles. I just deleted files that I didn't need, and it cleared up the same problem. Though it might also happend extra definitions/ folder also. Hope this helps.

12 Feb 2009, 2:32 AM
#532
jerry5763837 avatar

jerry5763837

Zen Follower

Join Date:
May 2008
Posts:
261
Plugin Contributions:
0

Re: RSS2 Feed Contribution

a_berezin:

UTF-8? Rather, the editors write BOM to beginning of file.

Hi, Andrew,

Really appreciated for your quick reply.

Could you please clarify what is BOM?
then use what kind of software to successfully edit this file?:no:

thanks again.

12 Feb 2009, 4:32 AM
#533
jerry5763837 avatar

jerry5763837

Zen Follower

Join Date:
May 2008
Posts:
261
Plugin Contributions:
0

Re: RSS2 Feed Contribution

Hi,Andrew,

Thanks for your idea.
Have fixed it. When open in Dreamwaver, click the property, found there no BOM.
but there is something wrong with the coding type: originally it is Chinese.(i downloaded form zen-cart.com and do not know why),
so after changer to UTF-8, it works well.
Thanks again.:D

Could you please give me more hint on my last question at #527?
appreciated with many thanks.:lamo:

12 Feb 2009, 10:14 AM
#534
a_berezin avatar

a_berezin

Deceased

Join Date:
Aug 2004
Location:
Saint Petersburg, Russia
Posts:
1,782
Plugin Contributions:
5

Re: RSS2 Feed Contribution

Jerry5763837:

I am using same SEOs same as yours, do you know how to make Rss2 & Ultimate SEO worked well with each other?

On my site https://www.topalways.com, SEO was enabled, and the .html in Urls were all removed, just like this:
https://www.topalways.com/aaa-bbb-cccc/

After installing Rss2, found the Urls of product name is https://www.topalways.com/aaa-bbb-cccc
the problem is that the slash '/' at the end of Url is missing.
however, image urls is okay.

Any body know what is the problem? any suggestion is higly appreciated. thanks again.

I can't help you - To create products and other links RSS Feed using the standard zen-cart function zen_href_link.

NOTE: We are sorry that Andrew is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

12 Feb 2009, 2:08 PM
#535
jerry5763837 avatar

jerry5763837

Zen Follower

Join Date:
May 2008
Posts:
261
Plugin Contributions:
0

Re: RSS2 Feed Contribution

Hi, Andrew,

Anyhow, thanks for your great mod and patient help.
I will try to fix it.

Does your great new RSS version 2.0 come out yet?
all of us would appreciated it.:clap:

12 Feb 2009, 7:53 PM
#536
jla avatar

jla

Zen Follower

Join Date:
Jul 2005
Posts:
128
Plugin Contributions:
0

Re: RSS2 Feed Contribution

Had a problem with this one

Mod installed fine but when choosing to turn off descriptions, this is not working.

Can strip tags but this removed the BUY NOW button.

Is there any resolution to this

JLA ENTERPRISES DIRECT
http://www.jlaenterprises.net

JLA FORUMS
http://www.jlaforums.com

12 Feb 2009, 8:02 PM
#537
jla avatar

jla

Zen Follower

Join Date:
Jul 2005
Posts:
128
Plugin Contributions:
0

Re: RSS2 Feed Contribution

Also noticed in the Feed Cache time is has true/false instead of allowing input of minutes

JLA ENTERPRISES DIRECT
http://www.jlaenterprises.net

JLA FORUMS
http://www.jlaforums.com

13 Feb 2009, 1:44 AM
#538
jerry5763837 avatar

jerry5763837

Zen Follower

Join Date:
May 2008
Posts:
261
Plugin Contributions:
0

Re: RSS2 Feed Contribution

JLA:

Also noticed in the Feed Cache time is has true/false instead of allowing input of minutes

Hi,
Run following SQL

UPDATE configuration SET set_function=NULL WHERE configuration_key = 'RSS_CACHE_TIME';
13 Feb 2009, 5:19 PM
#540
a_berezin avatar

a_berezin

Deceased

Join Date:
Aug 2004
Location:
Saint Petersburg, Russia
Posts:
1,782
Plugin Contributions:
5

Re: RSS2 Feed Contribution

Hi,

Jerry5763837:

Does your great new RSS version 2.0 come out yet?
all of us would appreciated it.:clap:
Really? But I was reading a different view of the stuffed guy from San Francisco
majoritywhip:

And please, not from the Russian guy! :oops:

NOTE: We are sorry that Andrew is no longer with us.
We are grateful for all his contributions to the Zen Cart community.