Making PostNuke Autodiscoverable
March 21, 2003
I’m still getting my feet wet with all of the RSS stuff… Today’s neat discovery is that it’s trivial to make PostNuke (7.23 at least) support autodiscovery, so that various news aggregators can find the feed address.
(Warning… This may break your PostNuke. It may even break MY PostNuke. But I doubt it. Use it at your own risk, if you break it you own both pieces, all models over 18 years of age, content subject to some settling)
In header.php, look for the link to the stylesheet (link rel=”stylesheet”). In 7.23, this is about line 160. Just before it (or just after it, it doesn’t matter), add this line:
echo “<link rel=”alternate” type=”application/rss+xml” title=”RSS” href=”/backend.php” />n”;
Save it. Test it.
That’s all there is to it. Remember it’ll go away with your next upgrade, so keep it handy in case the PostNuke team doesn’t get around to adding it to the code stream.
—–











Comments
Got something to say? [privacy policy]