On Apr 20, 2005, at 8:37 AM, Francis Swasey wrote:
hmmm…interesting. If you were using wordpress, we wouldn’t need to worry about RSS http://www.uvm.edu/~waw/wordpress/
I looked into it. Found Magpie (magpierss-0.71.1). Wrote simple script
<?
require_once('magpie/rss_fetch.inc');
#$url="http://fcs.blog.uvm.edu/index.rdf";
#$url="http://www.uvm.edu/~waw/wordpress/wp-rss2.php";
$rss = fetch_rss($url);
echo "Channel Title: " . $rss->channel['title'] . "
";
foreach ($rss->items as $item) {
$href = $item['link'];
$title = $item['title'];
$what = $item['description'];
$when = $item['date'];
print "$title
";
print "
}
exit;
?>
On Apr 20, 2005, at 8:52 AM, Francis Swasey wrote:
http://www.uvm.edu/~waw/wordpress/?Page=./default.php&p=32 link What’s that all about?
Bad wordpress code and complicated magicscript URLs. Hacked and fixed. But that wasn’t what I was talking about — what I was talking about was the incorporation of wordpress into the template But what you and Steve are talking about is this http://www.uvm.edu/~waw/rss.php?url=http://fcs.blog.uvm.edu/index.rdf or this http://www.uvm.edu/~waw/rss.php?url=http://www.uvm.edu/~waw/wordpress/ wp-rss2.php
So, look at the code of http://www.uvm.edu/~waw/rss.php modify to suit insert in your default.php file