View Single Post

  #7 (permalink)  
Old 20-12-2007, 02:56 PM
Forbairt's Avatar
Forbairt Forbairt is offline
respect my AW-THOR-IT-AYY
Recent Blog: Geansai Gorm
 
Join Date: Jun 2007
Location: My Office, Dublin
Posts: 2,100
Nominated 2 Times in 1 Post
Nominated TOTW/F/M Award(s): 1
Forbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enough
Send a message via AIM to Forbairt Send a message via MSN to Forbairt Send a message via Yahoo to Forbairt Send a message via Skype™ to Forbairt
Default

Quote:
Originally Posted by Big D View Post
Forbairt, thank you very much for that - I have it working!

Just a couple of quickies:

1. Can these feeds be styled with css?
2. Presumably the feed source can simply be changed by changing the URL?
Code:
echo "<a href=$url>$title</a><br>$description</li><br>\n";
there you have your link urls so yes you just have to give them a class or put the whole thing in a container div ? ... for example

Code:
<div class="rssFeed">
...
...
</div>
then its just down to you to style the output



I'd almost recommend you remove the $url bit from your include file

then when ever you want to include a rss feed
Code:
<?PHP
$url = "http://www.myurlformyrssfeed.com/my.rss";
include "filename.php"
?>
__________________
Forbairt Media | Web Design & Development Galway / Dublin, Ireland - coming soon ... ( vague but descriptive isn't it )
Recent Work: Safari Club African Safari Holidays - Malawi Safaris
Other Stuff: FluffyLinkulator Rapid Inclusion Service Tools
Reply With Quote