Results 1 to 10 of 955

Hybrid View

  1. #1
    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?

  2. #2
    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)....

  3. #3
    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!

  4. #4
    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 .= '/';

  5. #5
    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.

  6. #6
    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 :-)

  7. #7
    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" />

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

    Default Re: RSS2 Feed Contribution

    v 2.0.7 27.10.2007 17:52
    1. Bug fixes (Thanks to Paulm);
    2. Add more <link rel="alternate" type="application/rss+xml";
    3. Add extended RSS-title (Thanks to Paulm for this idea);

 

 

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

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