Page 71 of 96 FirstFirst ... 2161697071727381 ... LastLast
Results 701 to 710 of 955
  1. #701
    Join Date
    Jul 2008
    Posts
    360
    Plugin Contributions
    0

    Default Re: RSS2 Feed Contribution

    Quote Originally Posted by a_berezin View Post
    For everyone who received an error


    This version does not support gzip compression! Turn it off in the admin.
    Pro version works with the enabled gzip.
    Thank you Andrew but I still have problems with some of the feeds in Firefox 3.5.4, IE8 and Safari 4.

    In Firefox

    http://www.theoutletseason.com/elect...&feed=specials

    and all the others

    looks like:

    http://www.theoutletseason.com/electronics en Copyright (c) 2009 Outlet Season Brand name Electronics and computers [email protected] (Global Digital Ventures LLC) [email protected] Wed, 04 Nov 2009 07:37:18 -0500 OSLLC v. v 2.1.4 14.02.2008 15:26 RSS 2.0 Feed 1440 http://www.theoutletseason.com/electronics http://www.theoutletseason.com/elect...s/rss-icon.png http://www.theoutletseason.com/elect...oducts_id=4114 http://www.theoutletseason.com/elect...oducts_id=4114 Outlet Season Brand name Computers and Electronics Store http://www.theoutletseason.com/elect...oducts_id=4114 Wed, 04 Nov 2009 07:06:39 -0500 19.25 USD 4114 0.5 Accell Corp 4 DHB041C007B http://www.theoutletseason.com/elect...HB041C007B.jpg http://www.theoutletseason.com/elect...oducts_id=4051 http://www.theoutletseason.com/elect...oducts_id=4051 Outlet Season Brand name Computers and Electronics Store http://www.theoutletseason.com/elect...oducts_id=4051 Wed, 04 Nov 2009 07:06:36 -0500 20.04 USD 4051 0.7 Accell Corp 16 DHB041C010B http://www.theoutletseason.com/elect...HB041C010B.jpg

    Not showing any images ...

    In IE8 :

    The feeds the header show:

    Only one top level element is allowed in an XML document.
    Line: 2 Character: 2

    <link rel="alternate" type="application/rss+xml" title="RSS New Products Feed" href="http://www.theoutletseason.com/electronics/index.php?main_page=rss_feed&amp;feed=new_products" />



    but the feed on the footer works but with errors:

    ]]> Outlet Season Brand name Computers and Electronics Store http://www.theoutletseason.com/elect...ducts_id=28218 Thu, 22 Oct 2009 00:13:57 -0400 109.99 USD 28218 0.3 Microsoft OEM Software 15601 OEMWIN7HP32B1PK http://www.theoutletseason.com/elect...N7HP32B1PK.jpg http://www.theoutletseason.com/elect...ducts_id=25853 http://www.theoutletseason.com/elect...ducts_id=25853 inFAMOUS PS3

    after the buy now button is displaying the end ]]> of the CDATA statement, that supposed to be parsed by XML ...

    In Safari 4:

    Safari can’t open the page.
    Safari can’t open the page “feed://www.theoutletseason.com/electronics/index.php?main_page=rss_feed&feed=new_products” because Safari can’t load any data from this location.

    and the bottom feed has exactly the same error as IE8:


    after the buy now button is displaying the end ]]> of the CDATA statement, that supposed to be parsed by XML ...

  2. #702
    Join Date
    Mar 2005
    Posts
    123
    Plugin Contributions
    0

    Default Re: RSS2 Feed Contribution

    Does anyone know if this mod can be modified to create a manufacturers RSS feed? So for example if I have a manufacturer called "Armani" it would produce a feed of all those Armani products...?

    Thanks

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

    Default Re: RSS2 Feed Contribution

    Hi icecold,

    You did something very strange - look at the feed source code.

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

    Default Re: RSS2 Feed Contribution

    Quote Originally Posted by twdhosting View Post
    Does anyone know if this mod can be modified to create a manufacturers RSS feed? So for example if I have a manufacturer called "Armani" it would produce a feed of all those Armani products...?

    Thanks
    Of course you can modify this script to display any feed :)
    Good idea! I will release it. Thanks.

  5. #705
    Join Date
    Mar 2005
    Posts
    123
    Plugin Contributions
    0

    Default Re: RSS2 Feed Contribution

    Quote Originally Posted by a_berezin View Post
    Of course you can modify this script to display any feed :)
    Good idea! I will release it. Thanks.
    Excellent!

    When you have the updated code can you post it on here?

    Thanks

  6. #706
    Join Date
    Jul 2008
    Posts
    360
    Plugin Contributions
    0

    Default Re: RSS2 Feed Contribution

    Quote Originally Posted by a_berezin View Post
    Hi icecold,

    You did something very strange - look at the feed source code.
    Weird code? Well that's generated by your module, I don't have anything strange in my product description that might affect the display ... I installed the module and checked that everything was installed as it supposed to be.

  7. #707
    Join Date
    Apr 2008
    Location
    Flint, Michigan
    Posts
    687
    Plugin Contributions
    0

    Default Re: RSS2 Feed Contribution

    Quote Originally Posted by countrycharm View Post
    Just make sure your override system for includes > templates/your_template is named correct. If that not it I'm not sure why it is not showing on your site. includes > functions > extra_functions > rss_feed.php is the file that controls what you want to show though.
    I have file includes/functions/extra_functions/rss_feed.php. Here is code:

    [PHP]
    @define('RSS_HOMEPAGE_FEED', '');
    @define('RSS_DEFAULT_FEED', '');
    @define('RSS_TITLE_DELIMITER', ' : ');
    @define('RSS_TITLE_DELIMITER2', ' :: ');

    function rss_feed_title($feed=false) {
    global $current_category_id;
    if(!$feed) {
    $feed = $_GET['feed'];
    } else {
    if(($i = strpos($feed, '&')) !== false) {
    $feed_args = substr($feed, $i+1);
    $feed = substr($feed, 0, $i);
    }
    }
    switch (true) {
    case ($feed == 'news'):
    $title = TEXT_RSS_NEWS;
    break;
    case ($feed == 'categories'):
    $title = TEXT_RSS_CATEGORIES;
    if (isset($_GET['cPath']) && $current_category_id > 0) {
    $title .= RSS_TITLE_DELIMITER2 . strip_tags(zen_get_categories_name((int)$current_category_id));
    }
    break;
    case ($feed == 'specials_random'):
    case ($feed == 'specials'):
    $title = TEXT_RSS_SPECIALS;
    break;
    case ($feed == 'featured_random'):
    case ($feed == 'featured'):
    $title = TEXT_RSS_FEATURED_PRODUCTS;
    break;
    case ($feed == 'best_sellers_random'):
    case ($feed == 'best_sellers'):
    $title = TEXT_RSS_BEST_SELLERS;
    break;
    case ($feed == 'upcoming_random'):
    case ($feed == 'upcoming'):
    $title = TEXT_RSS_UPCOMING_PRODUCTS;
    break;
    case ($feed == 'new_products_random'):
    case ($feed == 'new_products'):
    $title = TEXT_RSS_PRODUCTS_NEW;
    break;
    case ($feed == 'products'):
    if (isset($_GET['products_id'])) {
    $title = TEXT_RSS_PRODUCT . RSS_TITLE_DELIMITER2 . strip_tags(zen_get_products_name((int)$_GET['products_id']));
    } elseif (isset($_GET['cPath']) && $current_category_id > 0) {
    $title = TEXT_RSS_PRODUCTS . RSS_TITLE_DELIMITER2 . strip_tags(zen_get_categories_name((int)$current_category_id));
    } else {
    $title = TEXT_RSS_PRODUCTS_ALL;
    }
    break;
    default:
    $title = TEXT_RSS_FEED;
    break;
    }
    return $title;
    }

    function rss_feed_current_page() {
    global $this_is_home_page, $category_depth, $cPath;
    $title = $feed = false;
    if($cPath > 0) $cpath_parm = '&cPath=' . $cPath;
    else $cpath_parm = '';
    switch (true) {
    case ($this_is_home_page):
    if(RSS_HOMEPAGE_FEED != '') {
    $feed = RSS_HOMEPAGE_FEED;
    }
    break;
    case (isset($_GET['products_id'])):
    $feed = 'products&products_id=' . $_GET['products_id'];
    break;
    case ($category_depth == 'products'):
    $feed = 'products' . $cpath_parm;
    break;
    case ($_GET['main_page'] == FILENAME_PRODUCTS_ALL):
    $feed = 'products' . $cpath_parm;
    break;
    case ($category_depth == 'nested' && $cPath > 0):
    $feed = 'categories' . $cpath_parm;
    break;
    case ($_GET['main_page'] == FILENAME_SPECIALS):
    $feed = 'specials';
    break;
    case ($_GET['main_page'] == FILENAME_FEATURED_PRODUCTS):
    $feed = 'featured';
    break;
    case ($_GET['main_page'] == FILENAME_UPCOMING_PRODUCTS):
    $feed = 'upcoming';
    break;
    case ($_GET['main_page'] == FILENAME_PRODUCTS_NEW):
    $feed = 'new_products';
    break;
    case ($_GET['main_page'] == FILENAME_PRODUCTS_NEW):
    $feed = 'news';
    break;
    default:
    if(RSS_DEFAULT_FEED != '') {
    $feed = RSS_DEFAULT_FEED;
    }
    break;
    }
    $title = rss_feed_title($feed);
    return array($feed, $title);
    }

    function rss_feed_link_alternate() {
    $feed_array = array('specials', 'new_products', 'upcoming', 'featured', 'best_sellers'); // 'news'
    $link = '';
    foreach($feed_array as $i => $feed) {
    $link .= '<link rel="alternate" type="application/rss+xml" title="' . rss_feed_title($feed) . '" href="' . zen_href_link(FILENAME_RSS_FEED, 'feed=' . $feed, 'NONSSL', false) . '" />' . "\n";
    }
    list($feed, $title) = rss_feed_current_page();
    if($feed && !in_array($feed, $feed_array)) {
    $link .= '<link rel="alternate" type="application/rss+xml" title="' . $title . '" href="' . zen_href_link(FILENAME_RSS_FEED, 'feed=' . $feed, 'NONSSL', false) . '" />' . "\n";
    }
    return $link;
    }

    function rss_feed_link($img=false) {
    global $template, $current_page_base;
    list($feed, $title) = rss_feed_current_page();
    if($feed) {
    if(!$img) {
    $anchor = $title;
    } else {
    $tpl_dir = $template->get_template_dir($img, DIR_WS_TEMPLATE, $current_page_base, 'images');
    $anchor = zen_image($tpl_dir . '/' . $img, $title);
    }
    $link = '<a href="' . zen_href_link(FILENAME_RSS_FEED, 'feed=' . $feed, 'NONSSL', false) . '" title="' . $title . '" target="_blank">' . $anchor . '</a>' . "\n";
    } else {
    $link = '';
    }
    return $link;
    }

    function rss_feed_href() {
    list($feed, ) = rss_feed_current_page();
    if($feed) {
    $href = zen_href_link(FILENAME_RSS_FEED, 'feed=' . $feed, 'NONSSL', false);
    } else {
    $href = '';
    }
    return $href;
    }

    function rss_feed_name() {
    list($feed, $title) = rss_feed_current_page();
    return $title;
    }
    // EOFI am not good at code. Where would it be located for icon at top menu bar?

    Thanks, Kim

  8. #708
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: RSS2 Feed Contribution

    Quote Originally Posted by kburner View Post
    I have file includes/functions/extra_functions/rss_feed.php. Here is code:

    [php]
    @define('RSS_HOMEPAGE_FEED', '');
    @define('RSS_DEFAULT_FEED', '');
    @define('RSS_TITLE_DELIMITER', ' : ');
    @define('RSS_TITLE_DELIMITER2', ' :: ');

    function rss_feed_title($feed=false) {
    global $current_category_id;
    if(!$feed) {
    $feed = $_GET['feed'];
    } else {
    if(($i = strpos($feed, '&')) !== false) {
    $feed_args = substr($feed, $i+1);
    $feed = substr($feed, 0, $i);
    }
    }
    switch (true) {
    case ($feed == 'news'):
    $title = TEXT_RSS_NEWS;
    break;
    case ($feed == 'categories'):
    $title = TEXT_RSS_CATEGORIES;
    if (isset($_GET['cPath']) && $current_category_id > 0) {
    $title .= RSS_TITLE_DELIMITER2 . strip_tags(zen_get_categories_name((int)$current_category_id));
    }
    break;
    case ($feed == 'specials_random'):
    case ($feed == 'specials'):
    $title = TEXT_RSS_SPECIALS;
    break;
    case ($feed == 'featured_random'):
    case ($feed == 'featured'):
    $title = TEXT_RSS_FEATURED_PRODUCTS;
    break;
    case ($feed == 'best_sellers_random'):
    case ($feed == 'best_sellers'):
    $title = TEXT_RSS_BEST_SELLERS;
    break;
    case ($feed == 'upcoming_random'):
    case ($feed == 'upcoming'):
    $title = TEXT_RSS_UPCOMING_PRODUCTS;
    break;
    case ($feed == 'new_products_random'):
    case ($feed == 'new_products'):
    $title = TEXT_RSS_PRODUCTS_NEW;
    break;
    case ($feed == 'products'):
    if (isset($_GET['products_id'])) {
    $title = TEXT_RSS_PRODUCT . RSS_TITLE_DELIMITER2 . strip_tags(zen_get_products_name((int)$_GET['products_id']));
    } elseif (isset($_GET['cPath']) && $current_category_id > 0) {
    $title = TEXT_RSS_PRODUCTS . RSS_TITLE_DELIMITER2 . strip_tags(zen_get_categories_name((int)$current_category_id));
    } else {
    $title = TEXT_RSS_PRODUCTS_ALL;
    }
    break;
    default:
    $title = TEXT_RSS_FEED;
    break;
    }
    return $title;
    }

    function rss_feed_current_page() {
    global $this_is_home_page, $category_depth, $cPath;
    $title = $feed = false;
    if($cPath > 0) $cpath_parm = '&cPath=' . $cPath;
    else $cpath_parm = '';
    switch (true) {
    case ($this_is_home_page):
    if(RSS_HOMEPAGE_FEED != '') {
    $feed = RSS_HOMEPAGE_FEED;
    }
    break;
    case (isset($_GET['products_id'])):
    $feed = 'products&products_id=' . $_GET['products_id'];
    break;
    case ($category_depth == 'products'):
    $feed = 'products' . $cpath_parm;
    break;
    case ($_GET['main_page'] == FILENAME_PRODUCTS_ALL):
    $feed = 'products' . $cpath_parm;
    break;
    case ($category_depth == 'nested' && $cPath > 0):
    $feed = 'categories' . $cpath_parm;
    break;
    case ($_GET['main_page'] == FILENAME_SPECIALS):
    $feed = 'specials';
    break;
    case ($_GET['main_page'] == FILENAME_FEATURED_PRODUCTS):
    $feed = 'featured';
    break;
    case ($_GET['main_page'] == FILENAME_UPCOMING_PRODUCTS):
    $feed = 'upcoming';
    break;
    case ($_GET['main_page'] == FILENAME_PRODUCTS_NEW):
    $feed = 'new_products';
    break;
    case ($_GET['main_page'] == FILENAME_PRODUCTS_NEW):
    $feed = 'news';
    break;
    default:
    if(RSS_DEFAULT_FEED != '') {
    $feed = RSS_DEFAULT_FEED;
    }
    break;
    }
    $title = rss_feed_title($feed);
    return array($feed, $title);
    }

    function rss_feed_link_alternate() {
    $feed_array = array('specials', 'new_products', 'upcoming', 'featured', 'best_sellers'); // 'news'
    $link = '';
    foreach($feed_array as $i => $feed) {
    $link .= '<link rel="alternate" type="application/rss+xml" title="' . rss_feed_title($feed) . '" href="' . zen_href_link(FILENAME_RSS_FEED, 'feed=' . $feed, 'NONSSL', false) . '" />' . "\n";
    }
    list($feed, $title) = rss_feed_current_page();
    if($feed && !in_array($feed, $feed_array)) {
    $link .= '<link rel="alternate" type="application/rss+xml" title="' . $title . '" href="' . zen_href_link(FILENAME_RSS_FEED, 'feed=' . $feed, 'NONSSL', false) . '" />' . "\n";
    }
    return $link;
    }

    function rss_feed_link($img=false) {
    global $template, $current_page_base;
    list($feed, $title) = rss_feed_current_page();
    if($feed) {
    if(!$img) {
    $anchor = $title;
    } else {
    $tpl_dir = $template->get_template_dir($img, DIR_WS_TEMPLATE, $current_page_base, 'images');
    $anchor = zen_image($tpl_dir . '/' . $img, $title);
    }
    $link = '<a href="' . zen_href_link(FILENAME_RSS_FEED, 'feed=' . $feed, 'NONSSL', false) . '" title="' . $title . '" target="_blank">' . $anchor . '</a>' . "\n";
    } else {
    $link = '';
    }
    return $link;
    }

    function rss_feed_href() {
    list($feed, ) = rss_feed_current_page();
    if($feed) {
    $href = zen_href_link(FILENAME_RSS_FEED, 'feed=' . $feed, 'NONSSL', false);
    } else {
    $href = '';
    }
    return $href;
    }

    function rss_feed_name() {
    list($feed, $title) = rss_feed_current_page();
    return $title;
    }
    // EOFI am not good at code. Where would it be located for icon at top menu bar?

    Thanks, Kim
    Theirs nothing wrong with the file. The red high light is the part that is suppose to show up in your browser. I'm not sure why it's not showing for you.
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

  9. #709
    Join Date
    Apr 2008
    Location
    Flint, Michigan
    Posts
    687
    Plugin Contributions
    0

    Default Re: RSS2 Feed Contribution

    Quote Originally Posted by countrycharm View Post
    Theirs nothing wrong with the file. The red high light is the part that is suppose to show up in your browser. I'm not sure why it's not showing for you.
    Anyone else have this problem? Price not showing up with feed, yet set to true in admin area. How was it resolved?

  10. #710
    Join Date
    Feb 2005
    Posts
    56
    Plugin Contributions
    0

    Default Re: RSS2 Feed Contribution

    I had the opposite problem. The price was showing up even when it was set to false in the Admin area. Countrycharm gave me a patch (see a few posts back) and it's now fine.

 

 
Page 71 of 96 FirstFirst ... 2161697071727381 ... 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