Page 10 of 96 FirstFirst ... 891011122060 ... LastLast
Results 91 to 100 of 955
  1. #91
    Join Date
    Aug 2004
    Location
    Saint Petersburg, Russia
    Posts
    1,786
    Plugin Contributions
    13

    Default Re: RSS2 Feed Contribution

    Quote Originally Posted by spbennett View Post
    Check my feed here.
    Look nice in FF and terrible in IE. Use xsl stylesheet.

  2. #92
    Join Date
    Nov 2003
    Posts
    1,987
    Plugin Contributions
    15

    Default 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:
    Code:
    <?xml-stylesheet type="text/css" href="includes/templates/YOUR_TEMPLATE/css/rss.xsl"?>
    Shouldn't that be:
    Code:
    <?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)

  3. #93
    Join Date
    Nov 2003
    Posts
    1,987
    Plugin Contributions
    15

    Default 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.

    Does xsl depend on the server configuration?

  4. #94
    Join Date
    Nov 2003
    Posts
    1,987
    Plugin Contributions
    15

    Default Re: RSS2 Feed Contribution

    Quote Originally Posted by paulm View Post
    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)....

  5. #95
    Join Date
    Aug 2004
    Location
    Saint Petersburg, Russia
    Posts
    1,786
    Plugin Contributions
    13

    Default Re: RSS2 Feed Contribution

    Quote Originally Posted by paulm View Post
    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!

  6. #96
    Join Date
    Apr 2007
    Location
    Vancouver, Canada
    Posts
    1,550
    Plugin Contributions
    70

    Default Re: RSS2 Feed Contribution

    Quote Originally Posted by a_berezin View Post
    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...

  7. #97
    Join Date
    Nov 2003
    Posts
    1,987
    Plugin Contributions
    15

    Default Re: RSS2 Feed Contribution

    Quote Originally Posted by a_berezin View Post
    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:
    Code:
    <link>http://www.mydomain.com//</link>
    I changed (rss_feed.php class, function _clear_url()):
    Code:
          $out .= $pathinfo["dirname"] . '/';
    To:
    Code:
          // $out .= $pathinfo["dirname"] . '/';
          // prevent double slashes in path
          $out .= rtrim($pathinfo["dirname"], '/');
          $out .= '/';

  8. #98
    Join Date
    Aug 2004
    Location
    Saint Petersburg, Russia
    Posts
    1,786
    Plugin Contributions
    13

    Default Re: RSS2 Feed Contribution

    Hi paulm,
    Quote Originally Posted by paulm View Post
    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?

    Quote Originally Posted by paulm View Post
    Code:
          // $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.

  9. #99
    Join Date
    Nov 2003
    Posts
    1,987
    Plugin Contributions
    15

    Default 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:
    Quote Originally Posted by a_berezin View Post
    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 :-)

  10. #100
    Join Date
    Aug 2004
    Location
    Saint Petersburg, Russia
    Posts
    1,786
    Plugin Contributions
    13

    Default Re: RSS2 Feed Contribution

    Hi paulm,
    Quote Originally Posted by paulm View Post
    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. 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:
    Code:
    <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" />

 

 
Page 10 of 96 FirstFirst ... 891011122060 ... LastLast

Similar Threads

  1. Rss2 feed & Ultimate SEO URL
    By Jerry5763837 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 1 Feb 2009, 12:42 PM
  2. RSS2 feed contribution support
    By Woodymon in forum All Other Contributions/Addons
    Replies: 73
    Last Post: 26 Sep 2007, 07:38 AM
  3. How to display Price in Rss2.php ( Rss Feed )
    By anand in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 27 Jan 2007, 10:38 PM
  4. rss2.php rss feed contribution - YAHOO picks up only IMAGE URL?
    By gsh in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 29 Dec 2006, 05:19 AM
  5. Does rss2 mod also do mailing lists?
    By levander in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 3 Sep 2006, 11:15 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR