Jump to content

php problem help!


elyfrank

Recommended Posts

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.

 

Link to comment
Share on other sites

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";

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.