elyfrank Posted April 20, 2009 Share Posted April 20, 2009 Hi guys, I am trying to use the rss2html.php on my website and for some reason it display the feeds with no problem when I display rss2html.php. The problem is that I am trying to call it from my webpage and it doesn't work. This is the webpage I am trying to show the the rss feeds http://flyawaytrip.com/index-php.php it suppouse to show just below the news at the left corner. An this is the rss2html.php (I changed the name to main.php) webpage showing the feeds. http://www.flyawaytrip.com/main.php Any help will be appreciate it. thank you very much. Quote Link to comment Share on other sites More sharing options...
revraz Posted April 20, 2009 Share Posted April 20, 2009 Third party script and not one bit of code. What would you like us to do? Quote Link to comment Share on other sites More sharing options...
jackpf Posted April 20, 2009 Share Posted April 20, 2009 Yeah, some code would be useful. Quote Link to comment Share on other sites More sharing options...
elyfrank Posted April 20, 2009 Author Share Posted April 20, 2009 I would like somebody to guide me on how can I show this feeds on my webpage. I think I am missing some kind of code to show this feeds I can't figure out. Sorry for my ignorance on php. Thank you for your time this is what I have on the head of the page <link href="http://flyawaytrip.com/main.php?"XMLFILE=http://rss.news.yahoo.com/rss/topstories&TEMPLATE=main.htm&MAXITEMS=<max-items> this is what I have on the body <?php include('http://www.flyawaytrip.com/main.php'); ?> This is what the main.php has that I can change: // If XLMFILE is passed as part of the URL, XMLFILE=, then it will be used // otherwise the the file below is used. //$XMLfilename = "http://rss.news.yahoo.com/rss/topstories"; $XMLfilename = "http://rss.news.yahoo.com/rss/topstories"; // // If TEMPLATE is passed as part of the URL. TEMPLATE=, then it will be used // otherwise the the file below is used. //$TEMPLATEfilename = "http://www.flyawaytrip.com/main.htm"; $TEMPLATEfilename = "http://www.flyawaytrip.com/main.htm"; Quote Link to comment Share on other sites More sharing options...
premiso Posted April 20, 2009 Share Posted April 20, 2009 You are including it via a URL. You will only get the parsed version. You have to include it on the file side for the file variables to actually work (remove the http://www.etc.com/" from the include and it should work. Quote Link to comment Share on other sites More sharing options...
elyfrank Posted April 20, 2009 Author Share Posted April 20, 2009 It worked! You are the best! Thank you very much! Quote Link to comment Share on other sites More sharing options...
elyfrank Posted April 20, 2009 Author Share Posted April 20, 2009 Sorry to bother you again. It is not working with Firefox, Do you know how to solve this problem? Thanks again Quote Link to comment Share on other sites More sharing options...
jackpf Posted April 20, 2009 Share Posted April 20, 2009 If it's not working in firefox alone, it's nothing to do with the php. It must be a javascript or formatting error. How exactly is it not working? Quote Link to comment Share on other sites More sharing options...
elyfrank Posted April 20, 2009 Author Share Posted April 20, 2009 The feeds are not showing up. It works fine on Internet Explorer Quote Link to comment Share on other sites More sharing options...
jackpf Posted April 20, 2009 Share Posted April 20, 2009 Your link is now dead, so I can't actually see your source. Quote Link to comment Share on other sites More sharing options...
elyfrank Posted April 20, 2009 Author Share Posted April 20, 2009 here http://flyawaytrip.com Quote Link to comment Share on other sites More sharing options...
jackpf Posted April 20, 2009 Share Posted April 20, 2009 04/20/2009 04:59 PM Extreme Workplaces Visit some companies where all play and no work make for a seriously successful business strategy. Google Mountain View, CA The search engine kings know how to have fun -- and treat their employees right. The Googleplex is a 1-million-square-foot co.. 04/20/2009 04:59 PM The Temples of Cambodia Angkor is a region in Cambodia that served as the seat of the Khmer Empire, the largest empire of Southeast Asia that flourished between the 9th and 15th centuries. This ancient and revered Cambodian province is home to astonishing and enduring architectu.. 04/20/2009 04:59 PM Extreme Adrenaline Rushes When the 9-to-5 has got you down, engage in some big thrill, adrenaline-pumping exploits. If you've got a bit of cash and a lot of nerve, put your money where your mouth is on these extreme adrenaline rushes. Biplane Thrill Rides Ventura, California .. 04/20/2009 04:59 PM Extreme Bathrooms While you might think of the bathroom as a place solely to conduct business, there are certain people who look at these rooms as voyeuristic playgrounds, ecological milestones and artistic galleries. Read on to discover some intriguing ways people have ta.. 04/20/2009 04:59 PM Best Mayan Riviera Beaches The Mayan Riviera is a stretch of immaculate Mexican beaches spanning towns between Puerto Morelos in the North and Tulum in the South. The pristine shoreline features aquatic activities, luxury resorts, soothing spas and vivacious nightlife. Puerto Mo.. That's what I see and I use firefox. Is that not right? Quote Link to comment Share on other sites More sharing options...
elyfrank Posted April 20, 2009 Author Share Posted April 20, 2009 It is working, thanks. For some reason wasn't showing up before. Quote Link to comment Share on other sites More sharing options...
jackpf Posted April 21, 2009 Share Posted April 21, 2009 You probably had the old page cached. Jolly good. Quote Link to comment Share on other sites More sharing options...
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.