Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Aranince

macrumors 65816
Original poster
Apr 18, 2007
1,104
0
California
I have some PHP code the loads an RSS feed then tries to display it. But since this RSS feed is on another server, I can't guarantee it can be loaded quickly...or loaded at all. Is there a way to load the entire page, while this little part is doing its own thing separately...so it won't bog down the entire page?
 

angelwatt

Moderator emeritus
Aug 16, 2005
7,852
9
USA
One way is to use JavaScript and set an onload event that will use AJAX to call your PHP script to do its RSS things and return the results for you to display.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.