ztrek Posted November 25, 2004 Posted November 25, 2004 You can find my invalid feed fix here osCommerce: RSS Feed 0.1 Quote
Stevis2002 Posted April 5, 2005 Posted April 5, 2005 At the end of my rss.php output page, i get the following error after a few products have been outputted... Reference to undefined entity 'reg'. Error processing resource 'http://www.console-heaven.net/store/rss.php'. Line 112, Po... Any ideas why this is? Thanks, Steve Quote
Morb Posted April 12, 2005 Posted April 12, 2005 Nope, Still getting this error: Warning: main(../../../catalog/includes/application_top.php): failed to open stream: No such file or directory in /home/smooth/public_html/catalog/rss.php on line 81 Warning: main(../../../catalog/includes/application_top.php): failed to open stream: No such file or directory in /home/smooth/public_html/catalog/rss.php on line 81 Fatal error: main(): Failed opening required '../../../catalog/includes/application_top.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/smooth/public_html/catalog/rss.php on line 81 When clicking the feed, also, where is the icon supposed to show up? Geof. Quote
Morb Posted April 12, 2005 Posted April 12, 2005 Since I can't delete my last post, and figured out my own stupid mistake, I know get the page popping up. This is the error I get though now: 25mm 12-pole Stator (insulated) http://www.smoothair.ca/catalog/product_in...147&language=en The XML page cannot be displayed Cannot view XML input using CSS style sheet. Please correct the error and then click the Refresh button, or try again later. -------------------------------------------------------------------------------- Whitespace is not allowed at this location. Error processing resource 'http://www.smoothair.ca/catalog/rss.php'. Line 172,... huge power potential, delivering excellent torque & incredible power output -------------------------------------------... Anyone have any idea?? Geof. Quote
ridesign Posted July 4, 2005 Posted July 4, 2005 is there a comma in the description? or any quotes? paste all of that products description thanks Quote
Morb Posted July 4, 2005 Posted July 4, 2005 is there a comma in the description? or any quotes?paste all of that products description thanks <{POST_SNAPBACK}> I got it sorted out by using an older version, and it's doing exactly what I want it to do. :) Thanks! Geof. :thumbsup: Quote
ridesign Posted July 4, 2005 Posted July 4, 2005 which version, as i have exactly the same problem and have to remove all comma and quotes, could tell me which version you are using? thanks Quote
ridesign Posted July 6, 2005 Posted July 6, 2005 i get the following error: The XML page cannot be displayed Cannot view XML input using CSS style sheet. Please correct the error and then click the Refresh button, or try again later. -------------------------------------------------------------------------------- An invalid character was found inside an entity reference. Error processing resource Quote
AllThingsTrendy Posted July 16, 2005 Posted July 16, 2005 ztrek, i installed your latest update. Yet, as can be seen at my AllThingsTrendy.com RSS Feed, I get the same exact error as ridesign and morb. Pweeaassee hep mi! :'( Thanks, AllThingsTrendy Quote Anthony David AllThingsTrendy.com
AllThingsTrendy Posted July 16, 2005 Posted July 16, 2005 ztrek, I figured it out. The titles can not contain and ampersand. Hummmmm... is this a code issue with the contribution or did you do this on purpose because the search engines do not like them? Would be nice to know if I'm damaging other areas with their use. Thanks any! As you can see, it's working better now (as I remove the "&'s") : AllThingsTrendy.com Quote Anthony David AllThingsTrendy.com
AllThingsTrendy Posted July 16, 2005 Posted July 16, 2005 Hmmmmm.... Now, I have another problem. My AllThingsTrendy CSS Feed only has about 22 of more than 500 products. What have I done to cause this? Anyone with ideas?? Thanks any! David AllThingsTrendy.com Quote Anthony David AllThingsTrendy.com
pulsecheck Posted August 14, 2005 Posted August 14, 2005 I installed the latest version of RSS Feed Contrib. Never had any problems with installation. However, I noticed that the RSS file pulled only 9 products out of 800. Any suggestions on how to fix this? Thanks Quote
omidhz Posted September 17, 2005 Posted September 17, 2005 Hello, I have installed this contribution but I'm getting the following message on my rss.php file: http://bargaincollection.com Bargain Collection - Braun, Oral-B and Nokia On-Line store [email protected] en Fri, 16 Sep 2005 17:23:18 -0700 http://blogs.law.harvard.edu/tech/rss Fatal error: Call to undefined function: iconv() in /home/bargain/public_html/shop/rss.php on line 198 I have searched in the forum but couldn't find an answer. I was wondering if anyone had the same problem or anyone knows how to fix this. Thanks Quote Regards,
josh26 Posted October 27, 2005 Posted October 27, 2005 Nope, Still getting this error: Warning: main(../../../catalog/includes/application_top.php): failed to open stream: No such file or directory in /home/smooth/public_html/catalog/rss.php on line 81 Warning: main(../../../catalog/includes/application_top.php): failed to open stream: No such file or directory in /home/smooth/public_html/catalog/rss.php on line 81 Fatal error: main(): Failed opening required '../../../catalog/includes/application_top.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/smooth/public_html/catalog/rss.php on line 81 When clicking the feed, also, where is the icon supposed to show up? Geof. Take out the ../catalog/ Quote
ridesign Posted October 29, 2005 Posted October 29, 2005 Hello, I have installed this contribution but I'm getting the following message on my rss.php file: http://bargaincollection.com Bargain Collection - Braun, Oral-B and Nokia On-Line store [email protected] en Fri, 16 Sep 2005 17:23:18 -0700 http://blogs.law.harvard.edu/tech/rss Fatal error: Call to undefined function: iconv() in /home/bargain/public_html/shop/rss.php on line 198 I have searched in the forum but couldn't find an answer. I was wondering if anyone had the same problem or anyone knows how to fix this. Thanks I get the same error any solutions? thanks Quote
Hello Hello Posted November 2, 2005 Posted November 2, 2005 I got the following error Fatal error: Call to undefined function: iconv() in /home/wiredwar/public_html/gizmodominion/rss.php on line 153 Can anyone help? Thanks Quote
ridesign Posted November 2, 2005 Posted November 2, 2005 i found out from my host and they said thyr don't support iconv on cpanel as it isn't stable, that why i get the error, it may be the same for you thanks Quote
Hello Hello Posted November 2, 2005 Posted November 2, 2005 i found out from my host and they said thyr don't support iconv on cpanel as it isn't stable, that why i get the error, it may be the same for you thanks dose anyone have a way around this or dose it mean I cant use this contribution? if i cant use it can you suggest any others? Quote
ridesign Posted November 2, 2005 Posted November 2, 2005 not sure personally, I am no good with php, but if one of the other expert php users could help us that would be great :) Go on you know you want to Quote
Guest Posted November 20, 2005 Posted November 20, 2005 I found this on php.net Here is a code to convert ISO 8859-1 to UTF-8 and vice versa without using iconv. <?php //Logic from http://twiki.org/cgi-bin/view/Codev/InternationalisationUTF8 $str_iso8859_1 = 'foo in ISO 8859-1'; //ISO 8859-1 to UTF-8 $str_utf8 = preg_replace("/([\x80-\xFF])/e", "chr(0xC0|ord('\\1')>>6).chr(0x80|ord('\\1')&0x3F)", $str_iso8859_1); //UTF-8 to ISO 8859-1 $str_iso8859_1 = preg_replace("/([\xC2\xC3])([\x80-\xBF])/e", "chr(ord('\\1')<<6&0xC0|ord('\\2')&0x3F)", $str_utf8); ?> So open up rss.php and do a search and replace find iconv('ISO-8859-15', 'UTF-8', and replace it with preg_replace("/([\x80-\xFF])/e","chr(0xC0|ord('\\1')>>6).chr(0x80|ord('\\1')&0x3F)", Quote
Logcbnfvr Posted February 25, 2006 Posted February 25, 2006 I finally got the RSS Feed contribution to work. Thought I would share just in case any other newbies need an assist. <br>To get all my products to show in the feed I went to Admin/Configure/Maximum Values and set the "Search Results" to a number over my number of products. I have just under 300 products so I set it to 300. <br>My feed did not look like an RSS feed at all, I had to remove a line from the rss.php. Here's the line: <br>echo '<?xml-stylesheet href="http://www.w3.org/2000/08/w3c-synd/style.css" type="text/css"?>' . "\n"; I hope this helps! :thumbsup: Quote Log Cabin Fever Gifts
Guest Posted April 3, 2006 Posted April 3, 2006 I found this on php.net Here is a code to convert ISO 8859-1 to UTF-8 and vice versa without using iconv. <?php //Logic from http://twiki.org/cgi-bin/view/Codev/InternationalisationUTF8 $str_iso8859_1 = 'foo in ISO 8859-1'; //ISO 8859-1 to UTF-8 $str_utf8 = preg_replace("/([\x80-\xFF])/e", "chr(0xC0|ord('\\1')>>6).chr(0x80|ord('\\1')&0x3F)", $str_iso8859_1); //UTF-8 to ISO 8859-1 $str_iso8859_1 = preg_replace("/([\xC2\xC3])([\x80-\xBF])/e", "chr(ord('\\1')<<6&0xC0|ord('\\2')&0x3F)", $str_utf8); ?> So open up rss.php and do a search and replace find iconv('ISO-8859-15', 'UTF-8', and replace it with preg_replace("/([\x80-\xFF])/e","chr(0xC0|ord('\\1')>>6).chr(0x80|ord('\\1')&0x3F)", This works perfectly for me but mention needs to be made to replace ALL iconv('ISO-8859-15', 'UTF-8', with preg_replace("/([\x80-\xFF])/e","chr(0xC0|ord('\\1')>>6).chr(0x80|ord('\\1')&0x3F)", in rss.php. Regards, SHJ :D Quote
nicholaszen Posted April 12, 2006 Posted April 12, 2006 Hi, the contrib works really good, but I can't get the images into it... How can I let that work? Thank u! Quote
jody00 Posted May 3, 2006 Posted May 3, 2006 anyone know how to add in the manufacturer name and category name to the line below the title - preferably in h1 tags also the price and images if anyone knows thanks Quote
smic717394 Posted June 12, 2006 Posted June 12, 2006 I managed to install this contribution but I have a few problems. The contribution appear to be correct but if I try to read the information with a RRS reader everything is showing correctly except the pictures, the pictures are not showing. And second if I try to check the validation I get the following error: line 20, column 2: Undefined item element: image (18 occurrences) [help] <image> ^ . Please feel free to check the feeds and suggest something. The feeds are: http://www.cexy.co.uk/rssfeed.php Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.