Top

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.



—–

Like this article? Share it!
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Reddit
  • StumbleUpon

Comments

Got something to say? [privacy policy]





Possibly Related


Increasingly AdvancedAwhile back I bitched about the state of client-side blog editors… Well, things are improving steadily… w.bloggar 3.01 - Marcelo Cabral has released a new version of w.bloggar—I’ve installed it (and am using it to post this), but haven’t yet had a chance to play with all of the new features, but it looks like some nice ones.  Highlights include support of a Windows Media Player blogging plug-in, extended text support in MovableType (still no excerpt, apparently), and official support for PostNuke (which had previously been via a bit of a hack that one had to track down in the usual PostNuke locations).  I’m especially looking forward to testing the latter, as there were a few PostNuke issues that I...


Making the Switch from IE to FirefoxI’ve suggested several times recently that it’s probably a good idea to dump IE except for the “have-to” stuff (mostly Windows Update), and go to Mozilla Firefox.  I’m not the only one, of course—even Slate, Microsoft’s house organ, suggested the same thing last week. It’s doubtless a good thing to do, but I’ve also had a rash of phone calls lately from Windows users asking me a bunch of the same questions, so here is a step-by-step overview of what to do… First, read through this whole article, particularly the caveats at the end.  Then, if you’re going to be using this as a guide, you probably ought to print it, because we’re going to be closing your web browser. ...


Insufficiently AdvancedArthur Clarke stated that “Any technology that is sufficiently advanced is indistinguishable from magic”.  This of course implies the corollary - “Any technology that IS distinguishable from magic is insufficiently advanced”. I love being able to post to a blog from a desktop app.  I’m currently using w.bloggar, which is nice, but leaves a few things to be desired.  My hit list includes: 1) WYSIWYG editing.  It’s not like I don’t know HTML, or like I can’t hit the preview window, but sometimes I find it distracting to have to look at markup when I’m writing.  An embedded WYSIWYG editor with a “code view” option would be very nice. 2) Spellcheck.  I’m not the greatest speller; spellcheck often keeps me...


The Making of Mobility, The Making of SelfInteresting reading on how the gadgets we carry affect our self image. -----...


Making Cmd-K = Search in SafariMaybe I'm one of the few die-hard Firefox users on OS X (it doesn't seem likely), but whenever I use Safari, it always drives me nuts that Cmd-K doesn't go to Search. Click for full-sized example Fortunately, it's easy to fix. Go to System Preferences, Keyboard & Mouse, Keyboard Shortcuts, and press the little "+" sign in the lower left to add a new shortcut. Select Safari.app as the Application, enter "Google Search..." as the Menu Title, and press Cmd-K in the Keyboard Shortcut field. Click "add" and you're all done. (From 5ThirtyOne via Lifehacker)...

Bottom