Results 1 to 10 of 955

Hybrid View

  1. #1
    Join Date
    Dec 2008
    Posts
    42
    Plugin Contributions
    0

    Default Re: RSS2 Feed Contribution

    This was nice and easy to install and works just great.

    One thing though which i am having a problem with.

    How do i remove the date a product was added to my shop from the RSS feed - I would rather the date a product was added is not visible.

    Is this possible to remove ?

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

    Default Re: RSS2 Feed Contribution

    Grace38,
    Quote Originally Posted by Grace38 View Post
    How do i remove the date a product was added to my shop from the RSS feed
    /includes/pages/rss_feed/header_php.php
    line ~516
    Replace
    PHP Code:
    date('r'strtotime($products->fields['products_date'])), 
    by
    PHP Code:
    false
    So, code must be:

    PHP Code:
          $rss->rss_feed_item($products->fields['products_name'],
                              
    $link,
                              array(
    'url' => $link'PermaLink' => true),
                              
    false,
                              
    $products_description,
                              
    $rss->_clear_url($products->fields['products_image']),
                              
    zen_href_link(FILENAME_PRODUCT_REVIEWS,'products_id=' $products->fields['products_id'] . $additionalURL'NONSSL'false),
                              (
    RSS_AUTHOR == ''STORE_OWNER_EMAIL_ADDRESS " <" STORE_OWNER ">" RSS_AUTHOR),
                              
    false,
                              
    false,
                              
    $xtags
                              
    ); 

  3. #3
    Join Date
    May 2006
    Posts
    84
    Plugin Contributions
    0

    Default Re: RSS2 Feed Contribution

    Has anybody got this contribution working the Ultimate SEO URLs contribution. The link that it creates is a pure Zen Cart link and I'd like it to use the URL format that is search engine friendly.

    Andrew has said this contribution uses built in Zen Cart functions but it must not be using zen_href_link to create the link as this has been modified on my site to produce teh SEF URLs.

    Thanks

    Andy

  4. #4
    Join Date
    Nov 2008
    Location
    West Sussex
    Posts
    43
    Plugin Contributions
    0

    Default Re: RSS2 Feed Contribution

    OK - probably me being a dumb@ss, but I've installed everything, placed the code in the footer (as I had a problem with the page disappearig if I put it in the header).

    Page now displays OK, when I click 'view source' the code is present, but I cannot find the rss link aywhere on any of my pages so far.

    Any ideas?

    Cheers

    Nick.
    Eminent Online - Makeup, Beauty Products, Fragrances, Lingerie, Ties and Cufflinks at discount prices.

  5. #5
    Join Date
    Jun 2008
    Location
    Canada
    Posts
    274
    Plugin Contributions
    0

    Default In your admin

    Hello Nick,

    In your admin - Configuration/RSS Feed. Did you set this up?

    RSS Image: gif
    RSS Image Name: rss

    Check my website link below and take a look at my rss feed.
    Last edited by Royal; 23 Dec 2008 at 03:48 AM. Reason: add more info.
    Pre-Owned Books and Second Hand Stuff: http://www.onlineyardsale.ca

  6. #6
    Join Date
    Nov 2008
    Location
    West Sussex
    Posts
    43
    Plugin Contributions
    0

    Default Re: RSS2 Feed Contribution

    Just looked with fresh eyes - I've missed most of the code out of the footer! D'oh! I'll sort in a while and that should fix it hopefully.

    That'll teach me to go to bed at a sensible time!
    Eminent Online - Makeup, Beauty Products, Fragrances, Lingerie, Ties and Cufflinks at discount prices.

  7. #7
    Join Date
    Nov 2008
    Location
    West Sussex
    Posts
    43
    Plugin Contributions
    0

    Default Re: RSS2 Feed Contribution

    OK...., checked the tpl_footer file and I did appear to get it right - it appears like this:

    <?php
    require(DIR_WS_MODULES . zen_get_module_directory('footer.php'));
    ?>

    <?php
    if (!isset($flag_disable_footer) || !$flag_disable_footer) {
    ?>

    <?=zen_image(DIR_WS_TEMPLATE.'images/paypal.gif','','108px','49px')?>
    <li><?php if (EZPAGES_STATUS_FOOTER == '1' or (EZPAGES_STATUS_FOOTER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) { ?></li>
    <li><?php require($template->get_template_dir('tpl_ezpages_bar_footer.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_footer.php'); ?></li>
    <?php } ?>
    </ul>
    <!--bof- site copyright display -->
    <p><?php echo FOOTER_TEXT_BODY; ?>&nbsp;&nbsp;</p>
    <!--eof- site copyright display -->

    <?php
    } // flag_disable_footer
    ?>

    <!--bof RSS Feed --><div id="RSSFeedLink"><?php echo rss_feed_link(RSS_ICON); ?>
    </div>
    <!--eof RSS Feed -->


    Underneath that, I have my Google Analytics code.

    However, when I go into my site and right click/ view page source, the bottom of the file then looks like this:

    <!--footer part start -->
    <div id="footer">


    <img src="includes/templates/Drop6/images/paypal.gif" alt="" width="108px" height="49px" /> <li></li>
    <li></li>
    </ul>
    <!--bof- site copyright display -->
    <p>Copyright &copy; 2008 <a href="http://www.eminent.me.uk/index.php?main_page=index" target="_blank">Eminent Online</a>, All Rights Reserved.&nbsp;&nbsp;</p>
    <!--eof- site copyright display -->



    <!--bof RSS Feed --><div id="RSSFeedLink">


    (it seems to miss out most of the RSS feed code). Anyone have any ideas?

    Cheers

    Nick.
    Eminent Online - Makeup, Beauty Products, Fragrances, Lingerie, Ties and Cufflinks at discount prices.

  8. #8
    Join Date
    Dec 2008
    Posts
    42
    Plugin Contributions
    0

    Default Re: RSS2 Feed Contribution

    Quote Originally Posted by a_berezin View Post
    Grace38,

    /includes/pages/rss_feed/header_php.php
    line ~516
    Replace
    PHP Code:
    date('r'strtotime($products->fields['products_date'])), 
    by
    PHP Code:
    false
    So, code must be:

    PHP Code:
          $rss->rss_feed_item($products->fields['products_name'],
                              
    $link,
                              array(
    'url' => $link'PermaLink' => true),
                              
    false,
                              
    $products_description,
                              
    $rss->_clear_url($products->fields['products_image']),
                              
    zen_href_link(FILENAME_PRODUCT_REVIEWS,'products_id=' $products->fields['products_id'] . $additionalURL'NONSSL'false),
                              (
    RSS_AUTHOR == ''STORE_OWNER_EMAIL_ADDRESS " <" STORE_OWNER ">" RSS_AUTHOR),
                              
    false,
                              
    false,
                              
    $xtags
                              
    ); 
    Thank you very much that works and gives me todays date instead of the date a product was added which is perfect and what i want.

    I only just popped in today and saw your reply otherwise i would have did this sooner and thanked you sooner.

    Much appreciated.

 

 

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