The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#5
|
|||
|
|||
![]()
Thank you, I really appreciate your help, but...
<sigh> I am now getting "XML Error: Empty document at Line 1" when I try to preview http://www.macworldcanada.ca/newsrss.xml. I'm sure the feed is good, because this code (on the same feed, using magpierss) works. define('MAGPIE_DIR', 'C:\\Inetpub\wwwroot\\dave\MagpieRSS\\'); require_once(MAGPIE_DIR.'rss_fetch.inc'); $url = 'http://www.macworldcanada.ca/newsrss.xml'; $rss = fetch_rss( $url ); echo '<div style="width:160px;background-color:silver;padding:2px;border:solid black 1px">'; echo '<strong>' . $rss->channel['title'] . '</strong>'; foreach ($rss->items as $item) { $href = $item['link']; $title = $item['title']; echo "<br /><a href=$href" . ' target="_blank">' . $title . "</a>"; } echo '</div>'; |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|