Forums / All Other Contributions/Addons / RSS2 Feed Contribution

RSS2 Feed Contribution

Views: 202,795

Results 21 to 40 of 955
26 Sep 2007, 1:04 PM
#21
lloyd_borrett avatar

lloyd_borrett

Zen Follower

Join Date:
Mar 2006
Location:
Rosebud, Victoria, Australia
Posts:
308
Plugin Contributions:
2

RSS2 Feed Contribution

A side box with the following links:

This page RSS Feed - link to the RSS feed for the current page, i.e. same link as the RSS icon in the footer.

Specials RSS Feed - link to index.php?main_page=specials

New Products RSS Feed - link to index.php?main_page=products_new

Featured Products RSS Feed - link to index.php?main_page=featured_products

and so on for the major shop RSS feeds available.

In other words, the customer doesn't have to go to the new products page to subscribe to the new products feed. They'd be able to subscribe from any page in the shop.

Best Regards, Lloyd Borrett.

Zen Cart 1.5.5e, PHP 5.3.29 MySQL 5.5.42

26 Sep 2007, 1:31 PM
#22
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: RSS2 Feed Contribution

So a box with links to the feeds for the current page, new products, specials, featured products etc.

-> If not already included, this add-on can be easily written. First you have to learn how to create a sidebox (very easy), second you have to dig into rss mod code and see how it creates a rss link(I think I did have a look at this, it's not so hard).

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

26 Sep 2007, 1:55 PM
#23
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
5

Re: RSS2 Feed Contribution

Maybe use EZ-pages to add rss links to a box?

And: thanks for this excellent contribution by the way Andrew! :thumbsup:

26 Sep 2007, 1:57 PM
#24
lloyd_borrett avatar

lloyd_borrett

Zen Follower

Join Date:
Mar 2006
Location:
Rosebud, Victoria, Australia
Posts:
308
Plugin Contributions:
2

Re: RSS2 Feed Contribution

G'day,

When I view a RSS Feed with IE7, the product images have a blue border.(See eaxmple in the attached image.)

This doesn't happen with Firefox.

Easy, I thought. I'll just drop some CSS code into includes/templates/your_template/css/rss.css and fix that.

The code I added was...

img {
 border:0;
 }

But it didn't work.

What am I doing wrong?

Best Regards, Lloyd Borrett.

Zen Cart 1.5.5e, PHP 5.3.29 MySQL 5.5.42

26 Sep 2007, 1:58 PM
#25
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: RSS2 Feed Contribution

A link to your site would be better to fix.

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

26 Sep 2007, 2:03 PM
#26
lloyd_borrett avatar

lloyd_borrett

Zen Follower

Join Date:
Mar 2006
Location:
Rosebud, Victoria, Australia
Posts:
308
Plugin Contributions:
2

Re: RSS2 Feed Contribution

yellow1912:

So a box with links to the feeds for the current page, new products, specials, featured products etc.

-> If not already included, this add-on can be easily written. First you have to learn how to create a sidebox (very easy), second you have to dig into rss mod code and see how it creates a rss link(I think I did have a look at this, it's not so hard).

Yes, you've got it. Only the first link link for the current page should be a problem as is varies from page to page. The rest are fixed links.

The code used to put the link for the current page into the tpl_footer.php file is:

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

That should help you.

Best Regards, Lloyd Borrett.

Zen Cart 1.5.5e, PHP 5.3.29 MySQL 5.5.42

26 Sep 2007, 2:05 PM
#27
a_berezin avatar

a_berezin

Deceased

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

Re: RSS2 Feed Contribution

paulm:

Maybe use EZ-pages to add rss links to a box?
Absolutely. This is even written in the Readme Tips:
3. You can create EZ-page with description of all your RSS Channels

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

26 Sep 2007, 2:11 PM
#29
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: RSS2 Feed Contribution

I would suggest you try something like img a {text-decoration:none} since this has to do with the img acting as a link.

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

26 Sep 2007, 6:30 PM
#30
storybook avatar

storybook

New Zenner

Join Date:
Jun 2007
Location:
Wagener, SC
Posts:
27
Plugin Contributions:
0

Re: RSS2 Feed Contribution

So am I to assume that this new contrib works correctly? With the conversation moving to side boxes and such, I have to ask.

I using an older rss.php feed:
$Id: rss2.php,v 1.1.0.2 2004/11/02 08:38:10 maurycy Exp $

...and I don't want to disturb anything until the new contrib is given an "A-OK" from the community.

Are we there yet???

:-)

Hand Crafted Heirloom Quality Ceramics
StoryBook Ceramics

MudPuppy Molds - Powered by ZenCart

26 Sep 2007, 6:46 PM
#31
brimsjewelry avatar

brimsjewelry

Zen Follower

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

Re: RSS2 Feed Contribution

Can someone tell me how to use this as a google base feed?

Jason

26 Sep 2007, 9:15 PM
#32
lloyd_borrett avatar

lloyd_borrett

Zen Follower

Join Date:
Mar 2006
Location:
Rosebud, Victoria, Australia
Posts:
308
Plugin Contributions:
2

Re: RSS2 Feed Contribution

StoryBook:

So am I to assume that this new contrib works correctly? With the conversation moving to side boxes and such, I have to ask.

I using an older rss.php feed:
$Id: rss2.php,v 1.1.0.2 2004/11/02 08:38:10 maurycy Exp $

...and I don't want to disturb anything until the new contrib is given an "A-OK" from the community.

Are we there yet???

:-)

Maybe. I'm not sure.

If the version you are using has people subscuibed to your feeds and this version uses different links to invoke the feeds, then you might have to consider the implications of changing to it as it might disturb the subscriptions those people have. But I'm not sure if this is the case or not. Other should be able to help you with that one.

I'm getting "Feed code error" when I try and view certain feeds. I have no idea as to whether this is a problem with my setup/configuration, or bugs in the module.

As examples, the following feeds produce "Feed code errors" for me...

http://www.scubadoctor.com.au/diveshop/index.php?main_page=rss_feed

http://www.scubadoctor.com.au/diveshop/index.php?main_page=rss_feed&feed=products

I can view the page source, and see what has been generated. But the error means nothing is displayed.

Also, I get no link to a feed on my shop's home page, or some other pages like privacy, my account etc. I don't know if that's the way it's supposed to be, if it's a problem with my setup/configuration, or a bug. I would have thought that there would be a "default" site feed that such pages would display. But maybe that's not the case as yet.

Best Regards, Lloyd Borrett.

Zen Cart 1.5.5e, PHP 5.3.29 MySQL 5.5.42

26 Sep 2007, 9:16 PM
#33
lloyd_borrett avatar

lloyd_borrett

Zen Follower

Join Date:
Mar 2006
Location:
Rosebud, Victoria, Australia
Posts:
308
Plugin Contributions:
2

Re: RSS2 Feed Contribution

yellow1912:

I would suggest you try something like img a {text-decoration:none} since this has to do with the img acting as a link.

That didn't work.

Neither did...

item>description a img {
 margin: 0px 8px 8px 0px;
 border-width: 0px;
 border-color: #ffffff;
 text-decoration: none;
 }

Maybe I'm not targeting it properly?
Or, maybe IE7 just overides what's specified anyway?

Best Regards, Lloyd Borrett.

Zen Cart 1.5.5e, PHP 5.3.29 MySQL 5.5.42

26 Sep 2007, 9:34 PM
#34
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: RSS2 Feed Contribution

brimsjewelry:

Can someone tell me how to use this as a google base feed?
Jason
Andrew would verify.. but maybe possible to view source via browser,
copy, and convert to xml file, which Google Base accepts.

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others

27 Sep 2007, 6:14 AM
#35
a_berezin avatar

a_berezin

Deceased

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

Re: RSS2 Feed Contribution

brimsjewelry:

Can someone tell me how to use this as a google base feed?
This is RSS Feed, not a google base feed!

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

27 Sep 2007, 6:27 AM
#36
a_berezin avatar

a_berezin

Deceased

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

Re: RSS2 Feed Contribution

StoryBook:

I using an older rss.php feed:
$Id: rss2.php,v 1.1.0.2 2004/11/02 08:38:10 maurycy Exp $

...and I don't want to disturb anything until the new contrib is given an "A-OK" from the community.

Are we there yet???
No. Don't use this version.

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

27 Sep 2007, 6:47 AM
#37
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

Re: RSS2 Feed Contribution

brimsjewelry:

Can someone tell me how to use this as a google base feed?

The format and content of a GoogleBase feed differs from the RSS2 specification. For more info you might want to search on "Google namespace" and/or "gdata".

But yes it would be cool if an "umbrella" ZC module could be developed, which supports "plug-ins" for different feed support (RSS, Google, yahoo, WLS, etc). And also allow mapping of ZC fields to specific feed attributes including mapping a string of of multiple ZC data fields to a specific feed attribute. For example integrate ZC standard and custom product data (e.g. price, ISBN, etc) into RSS2 item description attribute. And support generation of feeds with additional and/or custom attributes. But this wishlist is way off-topic for this thread. ;-)

Woody

27 Sep 2007, 6:50 AM
#38
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

Re: RSS2 Feed Contribution

Hey Andrew-

Glad you are back!!!!! :clap:

Woody

27 Sep 2007, 7:33 AM
#39
grimmy2007 avatar

grimmy2007

New Zenner

Join Date:
Jun 2007
Posts:
43
Plugin Contributions:
0

Re: RSS2 Feed Contribution

lloyd_borrett:

Why isn't a link to a feed being generated on the home page of the shop? I would have thought this would be an important place to have a feed link.

Hi mate,

Did you manage to get this on the homepage? I'd like to have it in the header near the search bar. Got everything else working.

Although since i installed this a few hours ago, I've seen 2 orders not show up. Can't see how it would cause this problem, will look into it further.

Great contribution Andrew!

27 Sep 2007, 8:04 AM
#40
storybook avatar

storybook

New Zenner

Join Date:
Jun 2007
Location:
Wagener, SC
Posts:
27
Plugin Contributions:
0

Re: RSS2 Feed Contribution

a_berezin:

No. Don't use this version.

Thanks Andrew, for responding so quickly!

Can you tell me what to watch for as to having this all fixed up and ready to go?

Thanks again,
SB

Hand Crafted Heirloom Quality Ceramics
StoryBook Ceramics

MudPuppy Molds - Powered by ZenCart