?

Log in

No account? Create an account

File/Print.../Print(on my wall stuck for remembering)message ends

« previous entry | next entry »
Jan. 13th, 2005 | 08:37 pm

 <?php
define('MAGPIE_DIR', 'yourfolder/magpie/');
require_once(MAGPIE_DIR.'rss_fetch.inc');

$rss = fetch_rss( 'http://www.yoursite.com/yourfolder/atom.xml' );

//display latest blog content:
$item = $rss->items[0];
$content = $item['atom_content'];
echo "<p>Latest Blog Entry:<br>$content</p>\n";
?>





who's all for dropping out of school one month before graduating, and learning to code?

| Leave a comment |

Comments {2}

(no subject)

from: dead_vegas
date: Jan. 14th, 2005 04:40 am (UTC)

what?

Reply | Thread

Alex P.

(no subject)

from: wetzel
date: Jan. 14th, 2005 05:19 am (UTC)

i goofed on my link
fixed now

it's a snipped of code i will probably use once i have time to look at it

Reply | Parent | Thread