Forums / All Other Contributions/Addons / RSS2 Feed Contribution

RSS2 Feed Contribution

Views: 202,797

Results 341 to 360 of 955
27 Mar 2008, 12:40 AM
#341
craftzombie avatar

craftzombie

Zen Follower

Join Date:
Jul 2006
Posts:
494
Plugin Contributions:
0

RSS2 Feed Contribution

NFM:

craft,

Just a quick glance.....look at the differences

new_products

products_new

It's actually skipped a few products in the products_new link

Hmm, strange. I added some new products last week and also a few minutes ago. My subscriptions in Google and Yahoo never updated. After the changes I just made, if I re-subscribe to the new feed, everything is updated, and it shows all of the past updated products as well (I have it set to show 100).

The reason I stumbled onto this is because I have Ultimate SEO Urls installed and since nothing was updating, I thought maybe that had something to do with it. When I went into the admin seo config. to remove changes made to the new products page, I noticed the difference in spelling and one thing led to another....

Hopefully we can find out what is going on soon. I have subscribers that it looks like may be subscribed to the wrong feed (????).

27 Mar 2008, 12:52 AM
#342
craftzombie avatar

craftzombie

Zen Follower

Join Date:
Jul 2006
Posts:
494
Plugin Contributions:
0

Re: RSS2 Feed Contribution

See, if you take a look in that functions file I mentioned above, here is what looks like contradictory code:

case ($feed == 'new_products_random'):
case ($feed == 'new_products'):
$title = TEXT_RSS_PRODUCTS_NEW;

Some of it is new_products, some of it is products_new. Since I am not a programmer, I have no idea if this is supposed to be like this. If you look at the code for "All products", it is always referenced as products_all and never the other way around (at least in that file it isn't - not sure about the others).

27 Mar 2008, 7:39 AM
#343
paulm avatar

paulm

Totally Zenned

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

Re: RSS2 Feed Contribution

Hi April,
I think it's related to the following: Zen Cart has a products_new page and a new_products module. The module is being used for the "New products of the month ...." box.

27 Mar 2008, 7:42 AM
#344
a_berezin avatar

a_berezin

Deceased

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

Re: RSS2 Feed Contribution

misty:

Andrew, can you recommend a reader then that does support price, images etc et?
:smile:

Unfortunately no :-( Only self-making.

I think the price could be included in the description? It now includes a picture.

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

27 Mar 2008, 7:47 AM
#345
a_berezin avatar

a_berezin

Deceased

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

Re: RSS2 Feed Contribution

craftzombie:

And you don't need to be rude. If you are getting that frustrated with our questions, maybe contributing things isn't for you.
Nice! Don't use my rube contributions and dont ask your stupid questions.

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

27 Mar 2008, 10:22 AM
#346
a_berezin avatar

a_berezin

Deceased

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

Re: RSS2 Feed Contribution

craftzombie:

THEN DON'T WORK THERE.
If you think that I am WORKING THERE, you can pay me for it?

Especially for those of you in readmi written:

Installation of this contribution is done at your own risk.

craftzombie:

I am not an RSS expert
If you do not know anything about the instrument, not using it - it's dangerous. To drive a car you need to learn to drive, to study the rule. Is not enough to require other solutions to your own problems.

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

27 Mar 2008, 10:36 AM
#347
misty avatar

misty

Inactive

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

Re: RSS2 Feed Contribution

Unfortunately no :-( Only self-making.
No problem.. onwards to learn more about creating
my own then.

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

27 Mar 2008, 12:35 PM
#348
craftzombie avatar

craftzombie

Zen Follower

Join Date:
Jul 2006
Posts:
494
Plugin Contributions:
0

Re: RSS2 Feed Contribution

paulm:

Hi April,
I think it's related to the following: Zen Cart has a products_new page and a new_products module. The module is being used for the "New products of the month ...." box.

Hi Paul,

No New Products module installed for me, so I'm not sure whats going on. Not much help here anyway.

27 Mar 2008, 12:36 PM
#349
craftzombie avatar

craftzombie

Zen Follower

Join Date:
Jul 2006
Posts:
494
Plugin Contributions:
0

Re: RSS2 Feed Contribution

a_berezin:

If you think that I am WORKING THERE, you can pay me for it?

Especially for those of you in readmi written:

If you do not know anything about the instrument, not using it - it's dangerous. To drive a car you need to learn to drive, to study the rule. Is not enough to require other solutions to your own problems.

I guess we should all leave then. God forbid any of us come here for help.

Perhaps I shouldn't be using a contribution that doesn't work properly anyway. Goodbye and thanks for all of your "help".

27 Mar 2008, 6:22 PM
#350
craigkendall avatar

craigkendall

New Zenner

Join Date:
May 2007
Posts:
46
Plugin Contributions:
0

Re: RSS2 Feed Contribution

Tried searching this thread and did not find anything on this... sorry if dup question.

Is this compatible with v 1.3.7 ? I noticed the files affected in the readme are different than what I have, and they don't even seem to match what's in the actual downloaded package:

Affected files

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

In the package

/includes/templates/YOUR_TEMPLATE/rss_feed/
/includes/templates/YOUR_TEMPLATE/css/
/includes/templates/YOUR_TEMPLATE/images/

...but no common folder in the package.

28 Mar 2008, 2:19 AM
#351
vitalwares avatar

vitalwares

New Zenner

Join Date:
Jan 2008
Posts:
83
Plugin Contributions:
0

Re: RSS2 Feed Contribution

vitalwares:

Hi,

Can someone help me with these...

Line 49, Column 31: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified.
document.write("<script id=__ie_onload defer></script>");✉
Line 49, Column 48: the name and VI delimiter can be omitted from an attribute specification only if SHORTTAG YES is specified.
document.write("<script id=__ie_onload defer></script>");✉
"VI delimiter" is a technical term for the equal sign. This error message means that the name of an attribute and the equal sign cannot be omitted when specifying an attribute. A common cause for this error message is the use of "Attribute Minimization" in document types where it is not allowed, in XHTML for instance.

How to fix: For attributes such as compact, checked or selected, do not write e.g <option selected ... but rather <option selected="selected" ...

Line 49, Column 48: required attribute "type" not specified.
document.write("<script id=__ie_onload defer></script>");✉
The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.

Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.

Line 49, Column 48: document type does not allow element "script" here.
document.write("<script id=__ie_onload defer></script>");✉
The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).

One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).

Line 49, Column 49: character "<" is the first character of a delimiter but occurred as data.
document.write("<script id=__ie_onload defer></script>");✉
This message may appear in several cases:

You tried to include the "<" character in your page: you should escape it as "<"
You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&", which is always safe.
Another possibility is that you forgot to close quotes in a previous tag.

Line 103, Column 151: document type does not allow element "link" here.
…in_page=rss_feed&feed=specials" />✉
The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).

One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).

Line 104, Column 159: document type does not allow element "link" here.
…age=rss_feed&feed=new_products" />✉
The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).

One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).

Line 105, Column 151: document type does not allow element "link" here.
…in_page=rss_feed&feed=upcoming" />✉
The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).

One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).

Line 106, Column 151: document type does not allow element "link" here.
…in_page=rss_feed&feed=featured" />✉
The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).

One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).

Line 107, Column 155: document type does not allow element "link" here.
…age=rss_feed&feed=best_sellers" />✉
The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).

One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).

Am I the only one with validation errors on this forum ? Did I install something incorrectly ? :oops:

Someone please help :(

29 Mar 2008, 7:05 AM
#352
a_berezin avatar

a_berezin

Deceased

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

Re: RSS2 Feed Contribution

craftzombie:

Goodbye
Thank you for having finally been freed from the continuous flood :clap:

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

29 Mar 2008, 7:16 AM
#353
a_berezin avatar

a_berezin

Deceased

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

Re: RSS2 Feed Contribution

craigkendall:

Is this compatible with v 1.3.7 ?
Yes. It compatible with 1.3.7 and 1.3.8.
craigkendall:

Affected files

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

...but no common folder in the package.
You have to adjust himself these files:
4. You can add to html_header.php somewhere beetwen <head> and </head> tags:

<?php echo rss_feed_link_alternate(); // RSS Feed ?>
  1. You can add to tpl_footer.php or where you want:
<!--bof RSS Feed --> <div id="RSSFeedLink"><?php echo rss_feed_link(RSS_ICON); ?></div> <!--eof RSS Feed -->

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

29 Mar 2008, 7:23 AM
#354
a_berezin avatar

a_berezin

Deceased

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

Re: RSS2 Feed Contribution

misty:

No problem.. onwards to learn more about creating
my own then.
Where do you want to use it? I made a parser for xoops, ExpressionEngine and WordPress. Maybe add these parsers in contribute?

And what you think about:
Include a description of the product price? As it is done with a picture.

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

29 Mar 2008, 7:27 AM
#355
a_berezin avatar

a_berezin

Deceased

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

Re: RSS2 Feed Contribution

vitalwares:

Am I the only one with validation errors on this forum ? Did I install something incorrectly ? :oops:

Someone please help :(
Remove /jscript/jscript_googleanalytics_outgoing.php and validate it once more.

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

29 Mar 2008, 2:44 PM
#356
elishama3 avatar

elishama3

New Zenner

Join Date:
Aug 2007
Posts:
62
Plugin Contributions:
0

Re: RSS2 Feed Contribution

elishama3:

I am still fruitlessly trying to track down the source of the xml parsing error. I am not sure if this is related or not, but in the rss.css and rss.xls files are the following wording:

The CSS/XLS files are sent to the browser in this order: (and alphabetically within each case of more than one match):

         rss*.css   // are always loaded and at least ONE should contain site-wide properties.
         rss*.xls   // are always loaded and at least ONE should contain site-wide properties.

Do I need to input something here to make it work, and if so, what? I am not sure what site-wide properties would be appropriate for an rss feed.

Please help.

I have been going over this at length and still cannot figure out which files have the extra space at the bottom line that is a problem. Just to recap, I am getting this error when clicking on the rss button:

XML Parsing Error: xml declaration not at start of external entity
Location: http://www.phoenixflightpublications.com/index.php?main_page=rss_feed&feed=products
Line Number 2, Column 1:<?xml version="1.0" encoding="iso-8859-1"?>

All help is much appreciated,

Thank you in advance.

29 Mar 2008, 6:25 PM
#357
vitalwares avatar

vitalwares

New Zenner

Join Date:
Jan 2008
Posts:
83
Plugin Contributions:
0

Re: RSS2 Feed Contribution

a_berezin:

Remove /jscript/jscript_googleanalytics_outgoing.php and validate it once more.

Yes Andrew, removing the file has removed the errors I mentioned but won't removing this file break the module ? :unsure:

30 Mar 2008, 10:52 AM
#358
a_berezin avatar

a_berezin

Deceased

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

Re: RSS2 Feed Contribution

elishama3:

XML Parsing Error: xml declaration not at start of external entity
Ok. Use this /rss_feed/tpl_main_page.php (for debug only!!!):

<?php
/**
 * rss_feed tpl_main_page.php
 *
 * @package rss feed
 * @copyright Copyright 2004-2007 Andrew Berezin eCommerce-Service.com
 * @copyright Portions Copyright 2003-2006 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: tpl_main_page.php, v 2.1.4 14.02.2008 15:26 Andrew Berezin $
 */

if(headers_sent($filename, $linenum)) {
  echo "Headers already sent in $filename on line $linenum";
  exit;
}

  $rss->rss_feed_out();

  require(DIR_WS_INCLUDES . 'application_bottom.php');

  zen_exit();
?>

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

30 Mar 2008, 10:57 AM
#359
a_berezin avatar

a_berezin

Deceased

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

Re: RSS2 Feed Contribution

vitalwares:

Yes Andrew, removing the file has removed the errors I mentioned but won't removing this file break the module ? :unsure:
Please wait. In a few days, will be a new google analitycs version.

And new version RSS Feed :smile:

P.S. Try this http://www.zen-cart.com/forum/showpost.php?p=532347&postcount=385

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