Forums / All Other Contributions/Addons / RSS2 Feed Contribution

RSS2 Feed Contribution

Views: 202,800

Results 501 to 520 of 955
9 Dec 2008, 5:07 PM
#501
thieving_gypsy avatar

thieving_gypsy

New Zenner

Join Date:
May 2006
Posts:
87
Plugin Contributions:
0

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

23 Dec 2008, 2:34 AM
#502
eminentonline avatar

eminentonline

New Zenner

Join Date:
Nov 2008
Location:
West Sussex
Posts:
43
Plugin Contributions:
0

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.

23 Dec 2008, 2:46 AM
#503
royal avatar

royal

Zen Follower

Join Date:
Jun 2008
Location:
Canada
Posts:
261
Plugin Contributions:
0

Re: RSS2 Feed Contribution

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.

Pre-Owned Books and Second Hand Stuff: http://www.onlineyardsale.ca

23 Dec 2008, 10:37 AM
#504
eminentonline avatar

eminentonline

New Zenner

Join Date:
Nov 2008
Location:
West Sussex
Posts:
43
Plugin Contributions:
0

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.

23 Dec 2008, 11:16 PM
#505
eminentonline avatar

eminentonline

New Zenner

Join Date:
Nov 2008
Location:
West Sussex
Posts:
43
Plugin Contributions:
0

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; ?>  </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 © 2008 <a href="http://www.eminent.me.uk/index.php?main_page=index" target="_blank">Eminent Online</a>, All Rights Reserved.  </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.

23 Dec 2008, 11:33 PM
#506
eminentonline avatar

eminentonline

New Zenner

Join Date:
Nov 2008
Location:
West Sussex
Posts:
43
Plugin Contributions:
0

Re: RSS2 Feed Contribution

also - cannot seem to be able to validate the feed (probably because the code doesnot show up(?)) Feed validator just says the page looks like a website and not a feed...:frusty:

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

27 Dec 2008, 11:05 AM
#507
eminentonline avatar

eminentonline

New Zenner

Join Date:
Nov 2008
Location:
West Sussex
Posts:
43
Plugin Contributions:
0

Re: RSS2 Feed Contribution

Had another look through this morning and am still stumped - will try uninstalling, then starting again fromscratch to make sure I didn't do anythng wrong first time round.

It's obvious from this thread that the mod works fine, so it's probably down to user error, so by doing this I can try to eliminate that - failing that, I guess it must be somethng else to do with the coding of my site (I'm running 1.38a).

Happy Holidays all.

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

29 Dec 2008, 7:03 AM
#508
jerry5763837 avatar

jerry5763837

Zen Follower

Join Date:
May 2008
Posts:
261
Plugin Contributions:
0

Re: RSS2 Feed Contribution

Hi, Andrew,

Many thanks for your wonderful mod.

I came across a big problem about product's Url in RSS feed.

I removed .html from product's Url and Category's Url by editing the file seo.url.php
it works fine. but the urls in Rss feed are still ended with .html,
please check at https://www.hangerbase.com

could you please help to check what is the problem?
Appreciated again.:smile:

29 Dec 2008, 10:30 AM
#509
jerry5763837 avatar

jerry5763837

Zen Follower

Join Date:
May 2008
Posts:
261
Plugin Contributions:
0

Re: RSS2 Feed Contribution

Hello, Andrew,

Help please!!
could you please check at http://www.topalways.com/rss_feed.html?feed=specials
how to fix the duplicate products problem?

it makes me crazy. many thanks.:smile:

31 Dec 2008, 9:22 AM
#510
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,
I can't see anything at http://www.topalways.com/rss_feed.html?feed=specials
No any data

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

2 Jan 2009, 2:01 AM
#511
jerry5763837 avatar

jerry5763837

Zen Follower

Join Date:
May 2008
Posts:
261
Plugin Contributions:
0

Re: RSS2 Feed Contribution

a_berezin:

Hi,
I can't see anything at http://www.topalways.com/rss_feed.html?feed=specials
No any data

Hello,Anderw,

Happy New Year!
thanks for your reply.

The above Url works in IE, but not in FF. Could you please check for me in IE?:D

Appreciated again.

4 Jan 2009, 4:39 PM
#512
a_berezin avatar

a_berezin

Deceased

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

Re: RSS2 Feed Contribution

Same result in IE 6 - no any data. This is the game?

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

5 Jan 2009, 2:36 AM
#513
jerry5763837 avatar

jerry5763837

Zen Follower

Join Date:
May 2008
Posts:
261
Plugin Contributions:
0

Re: RSS2 Feed Contribution

a_berezin:

Same result in IE 6 - no any data. This is the game?

Hi, Andrew,

NO, NO...
Really sorry for that. it really works in IE7.0, but some error exist.
Sorry again.

Seems that my RSS has some problem now. I tried to uninstall & reinstall without any error. but when typing in FF or IE6, errors still exist, can not open.

Sincerely hope you can check https://www.topalways.com for me?
Thanks very much!:D

5 Jan 2009, 4:40 AM
#514
jerry5763837 avatar

jerry5763837

Zen Follower

Join Date:
May 2008
Posts:
261
Plugin Contributions:
0

Re: RSS2 Feed Contribution

parous:

OK im stumped. I've used this wonderful addon for about 6-7 months. On about 9/17 the feeds stopped working. All I seem to get is blank pages in FF and a

XML document must have a top level element.
Line: 0 Character: 0

in IE8. On my iGoogle homepage the feed does show the headlines up to the 9/27 date. I do have a large amount of items that have been throu the store. it stopped showing on item 943 and im up to 960 now.
I have read this entire thread and updated to the latest version and add the 2 hot fixes. Ive been throu every /language/ file and removed all extra spaces and returns.
What is seems like to me is that it is sending a cached file like was mentione in a few posts. However I didn't have file cacheing turn on in the config files. I did search the server for rss_* files but didnt find any that had a bunch of numbers behind it. I do have root access to the server. I did turn on the file cacheing since I started trouble shooting.
My question is, could these be cached somewhere else? maybe in the DB or under a different filename?
Thanks

Hi, Andrew,
Today i re-installed RSS2 once again successfully.
but when clicking rss button, same error as the above occur.

XML document must have a top level element.
Line: 0 Character: 0

Any suggestion?:frusty:

6 Jan 2009, 4:23 PM
#515
grace38 avatar

grace38

New Zenner

Join Date:
Dec 2008
Posts:
41
Plugin Contributions:
0

Re: RSS2 Feed Contribution

a_berezin:

Grace38,

/includes/pages/rss_feed/header_php.php
line ~516
Replace

date('r', strtotime($products->fields['products_date'])),

> by 
> ```php
false,

So, code must be:

  $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.
12 Jan 2009, 1:52 AM
#516
jerry5763837 avatar

jerry5763837

Zen Follower

Join Date:
May 2008
Posts:
261
Plugin Contributions:
0

Re: RSS2 Feed Contribution

Jerry5763837:

Hi, Andrew,
Today i re-installed RSS2 once again successfully.
but when clicking rss button, same error as the above occur.

XML document must have a top level element.
Line: 0 Character: 0

Any suggestion?:frusty:

Hi, Andrew,

Any comments about above RSS problem?
Thanks in advance.:frusty:

15 Jan 2009, 3:01 AM
#517
jerry5763837 avatar

jerry5763837

Zen Follower

Join Date:
May 2008
Posts:
261
Plugin Contributions:
0

Re: RSS2 Feed Contribution

Jerry5763837:

Hi, Andrew,

Any comments about above RSS problem?
Thanks in advance.:frusty:

Hi, Andrew,

Are you there?

16 Jan 2009, 2:25 AM
#518
harry2cool avatar

harry2cool

Zen Follower

Join Date:
Oct 2005
Posts:
280
Plugin Contributions:
0

Re: RSS2 Feed Contribution

Hi,
Thanks for a great mod.

It works fine, however the main_page=rss_feed&feed=new_products does not show new products(it's stuck on a particular product and does not update), however the main_page=rss does show all the products including new products.

Can someone please let me know where I may be wrong.

25 Jan 2009, 12:56 PM
#519
sadwargamer avatar

sadwargamer

New Zenner

Join Date:
May 2008
Posts:
17
Plugin Contributions:
0

Re: RSS2 Feed Contribution

All,

I have installed the mod - sorted out the xml parser issues but I have the following query.

The installation instructions refer to:

/includes/templates/YOUR_TEMPLATE/common/html_header.php

I do not have a file called html_header.php in COMMON, this file resides in RSS_FEED.

If I paste anywhere in html_header.php the code "<?php echo rss_feed_link_alternate(); // RSS Feed ?>" then I get an error or blank screen.

Feeds work ok with "<?php echo rss_feed_link_alternate(); // RSS Feed ?>" pasted in /includes/templates/YOUR_TEMPLATE/common/tpl_header.php

Except that in IE7 it does not recognise there is a feed on the page - but when you paste the feed url in the address bar - it reads fine!

I would very much appreciate peoples help in the following areas:

  1. where am i supposed to place code: <?php echo rss_feed_link_alternate(); // RSS Feed ?>
  2. Where does html_header.php correctly reside
  3. Help me get it to work in IE7

many thanks

regards
Andy

7 Feb 2009, 1:33 AM
#520
jerry5763837 avatar

jerry5763837

Zen Follower

Join Date:
May 2008
Posts:
261
Plugin Contributions:
0

Re: RSS2 Feed Contribution

Hi, Andrew,

Please help!

On my site https://www.topalways.com, SEO was enabled, and the .html at the end of Urls were all removed, just like this:
https://www.topalways.com/aaa-bbb-cccc/

After installing Rss2, found the Urls of product name is https://www.topalways.com/aaa-bbb-cccc
the problem is that the slash '/' at the end of Url is missing.
however, image urls is okay,https://www.topalways.com/aaa-bbb-cccc/

Any suggestion would be appreciated. thanks.:frusty: