Forums / All Other Contributions/Addons / RSS2 Feed Contribution

RSS2 Feed Contribution

Views: 202,795

Results 81 to 100 of 955
20 Oct 2007, 11:52 AM
#81
a_berezin avatar

a_berezin

Deceased

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

RSS2 Feed Contribution

v 2.0.5 20.10.2007 15:47

  1. Bug fixes;

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

21 Oct 2007, 7:51 AM
#82
pablo_nl avatar

pablo_nl

New Zenner

Join Date:
Oct 2007
Posts:
1
Plugin Contributions:
0

Re: RSS2 Feed Contribution

Hello i am new here, can anyone help me with a problem? (please)
I have installed the latest mod but i have few problems

  1. there is no rss image on the frontpage with the all products link

  2. when i go to "Admin-> configuration-> Rss Feed->" there is nothing to see only an emty page. So i can not configure anything.

thanks a lot for any help

22 Oct 2007, 3:37 AM
#83
anjordan77 avatar

anjordan77

Zen Follower

Join Date:
Jun 2006
Location:
Midlothian, Virginia, United States
Posts:
110
Plugin Contributions:
0

Re: RSS2 Feed Contribution

I have the SEO URLS too

The footer is giving me this error:
Fatal error: Call to undefined function: rss_feed_link()

The Header gives me a completely other problem, something about not getting the feed

Fatal error: Call to undefined function: rss_feed_link_alternate() in /home/apbs77/public_html/includes/templates/apbs/common/html_header.php on line 24

my website: https://www.allpaintballsupplies.com

i have the Ultimate SEO URLS

22 Oct 2007, 3:41 AM
#84
anjordan77 avatar

anjordan77

Zen Follower

Join Date:
Jun 2006
Location:
Midlothian, Virginia, United States
Posts:
110
Plugin Contributions:
0

Re: RSS2 Feed Contribution

Version Date

v 2.0.5 20.10.2007 15:47

22 Oct 2007, 4:30 AM
#85
anjordan77 avatar

anjordan77

Zen Follower

Join Date:
Jun 2006
Location:
Midlothian, Virginia, United States
Posts:
110
Plugin Contributions:
0

Re: RSS2 Feed Contribution

i fixed it, for some reason it didn't copy all the php in there properly for the "yourtemplate"

22 Oct 2007, 4:59 AM
#86
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,567
Plugin Contributions:
58

Re: RSS2 Feed Contribution

The BUY NOW button doesn't appear to have a link.

Also, could the price be put with the title as TITLE - $price

Or perhaps as text near the BUY NOW button?

22 Oct 2007, 8:48 AM
#87
a_berezin avatar

a_berezin

Deceased

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

Re: RSS2 Feed Contribution

numinix:

The BUY NOW button doesn't appear to have a link.
And what?

numinix:

Also, could the price be put with the title as TITLE - $price

Or perhaps as text near the BUY NOW button?
Of course, you can do it.

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

22 Oct 2007, 10:55 PM
#88
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,567
Plugin Contributions:
58

Re: RSS2 Feed Contribution

I think it should be part of the contribution itself.

And WHAT? What do you mean? The BUY NOW button is just an image, clicking on it does nothing...

23 Oct 2007, 12:58 AM
#89
a_berezin avatar

a_berezin

Deceased

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

Re: RSS2 Feed Contribution

numinix:

I think it should be part of the contribution itself.
I do not think so.
numinix:

And WHAT? What do you mean? The BUY NOW button is just an image, clicking on it does nothing...
Really? You can set an example?

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

23 Oct 2007, 5:47 AM
#90
spbennett avatar

spbennett

Zen Follower

Join Date:
Feb 2007
Location:
Leicester UK
Posts:
230
Plugin Contributions:
0

Re: RSS2 Feed Contribution

a_berezin:

Really? You can set an example?

Check my feed here.

23 Oct 2007, 9:25 AM
#91
a_berezin avatar

a_berezin

Deceased

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

Re: RSS2 Feed Contribution

spbennett:

Check my feed here.

Look nice in FF and terrible in IE. Use xsl stylesheet.

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

23 Oct 2007, 12:56 PM
#92
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
5

Re: RSS2 Feed Contribution

When I try to use an xsl stylesheet called rss.xsl and take a look at the HTML source I see:

<?xml-stylesheet type="text/css" href="includes/templates/YOUR_TEMPLATE/css/rss.xsl"?>

Shouldn't that be:

<?xml-stylesheet type="text/xsl" href="includes/templates/YOUR_TEMPLATE/css/rss.xsl"?>

?

(the xsl stylesheet does not seem to work at al, but because I'm new to this I am not sure if the above really is related)

23 Oct 2007, 3:11 PM
#93
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
5

Re: RSS2 Feed Contribution

I fixed the above by replacing 'xls' by 'xsl' (in rss_feed_v2.0.5_20.10.2007) in function rss_feed_out(), and I found the same typo in 2 readme files. So it was caused by a small typo.

Unfortunately my xsl stylesheet still doesn't work for some reason though. It seems server related because if I copy a sample xsl stylesheet to my local PC it works, but when I copy the same file to my server it does not. :( Even tried another server and the same xsl file works perfect again. :dontgetit

Does xsl depend on the server configuration?

23 Oct 2007, 4:47 PM
#94
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
5

Re: RSS2 Feed Contribution

paulm:

Does xsl depend on the server configuration?
To answer my own question: the Mime Type setting on the server needs to be correct (changed it through .htaccess). The feed still does not listen to the stylesheet though (both are text/xml type now)....

23 Oct 2007, 6:17 PM
#95
a_berezin avatar

a_berezin

Deceased

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

Re: RSS2 Feed Contribution

paulm:

I fixed the above by replacing 'xls' by 'xsl' (in rss_feed_v2.0.5_20.10.2007) in function rss_feed_out(), and I found the same typo in 2 readme files. So it was caused by a small typo.
Thanks!

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

24 Oct 2007, 6:24 PM
#96
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,567
Plugin Contributions:
58

Re: RSS2 Feed Contribution

a_berezin:

Look nice in FF and terrible in IE. Use xsl stylesheet.

R u saying that using the xsl stylesheet will solve the BUY NOW button issue? If not, then you haven't answered his question...

24 Oct 2007, 9:50 PM
#97
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
5

Re: RSS2 Feed Contribution

a_berezin:

Thanks!
yvw Andrew :-)

Do you think it would be useful to add a dynamic feed name feature? (Maybe you already have plans for this?) Having the same name for multiple subscribed feeds is quite confusing I think. Maybe add the word "featured" to the featured feed name , "specials" to the specials feed name etc etc?

And, I not sure if it's useful or not, and if it's the right way to fix this, but to prevent links like:

<link>http://www.mydomain.com//</link>

I changed (rss_feed.php class, function _clear_url()):

      $out .= $pathinfo["dirname"] . '/'; 

To:

      // $out .= $pathinfo["dirname"] . '/';
      // prevent double slashes in path
      $out .= rtrim($pathinfo["dirname"], '/');
      $out .= '/';
25 Oct 2007, 1:24 AM
#98
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 paulm,

paulm:

Do you think it would be useful to add a dynamic feed name feature? (Maybe you already have plans for this?) Having the same name for multiple subscribed feeds is quite confusing I think. Maybe add the word "featured" to the featured feed name , "specials" to the specials feed name etc etc?
Good idea! Thanks! Maybe discuss this?

paulm:

  // $out .= $pathinfo["dirname"] . '/';
  // prevent double slashes in path
  $out .= rtrim($pathinfo["dirname"], '/');
  $out .= '/';
This is the real problem? I have not met with it. Thank you, I might add.

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

25 Oct 2007, 8:13 AM
#99
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
5

Re: RSS2 Feed Contribution

About the feed names:
a quick and dirty fix might be to add the right part of the feed= parameter? But it would probably be a lot nicer if the products name, categories name, and translations of featured and specials etc would be added. Maybe add some code that determines the names to the switch/case header_php.php file? I don't know the rss feed code well enough and so I don't have more specific ideas (yet).

About the double slashes:

a_berezin:

This is the real problem? I have not met with it.Looking at several sites that have the rss feed installed I do see the the double slashes, also in links to the products for example. I don't know what the real problem (and solution) is, but I think it's related to how dirname works. And a quick look at the code lead to this empirical fix :-)

27 Oct 2007, 11:09 AM
#100
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 paulm,

paulm:

About the feed names:
a quick and dirty fix might be to add the right part of the feed= parameter? But it would probably be a lot nicer if the products name, categories name, and translations of featured and specials etc would be added. Maybe add some code that determines the names to the switch/case header_php.php file? I don't know the rss feed code well enough and so I don't have more specific ideas (yet).
You don't understand me. I do not ask "how?". I myself know this very well and know perfectly my own rss feed code.:smile: I ask you "what?". What you want to see in this rss feed. I think is not only complement the title, but also a description and maybe an image.

Maybe add all common <link rel="alternate" type="application/rss+xml"? Ex:

<link rel="alternate" type="application/rss+xml" title="MyCart New Products RSS Feed" href="index.php?main_page=rss_feed&feed=new_products" />
<link rel="alternate" type="application/rss+xml" title="MyCart Upcoming Products RSS Feed" href="index.php?main_page=rss_feed&feed=upcoming" />
<link rel="alternate" type="application/rss+xml" title="MyCart Featured Products RSS Feed" href="index.php?main_page=rss_feed&feed=featured" />
<link rel="alternate" type="application/rss+xml" title="MyCart Specials Products RSS Feed" href="index.php?main_page=rss_feed&feed=specials" />

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