1 (edited by Louis 2004-02-10 21:10)

Topic: Cosmetic Bug: extern.php Documentation

I just noticed something ... Why are you using host.com, Rickard?

I'm being picky here, but you should use example.com instead, that's what it's there for ;)

From inside extern.php:

  Here are some examples using PHP include().

    Show the 15 most recently active topics from all forums:
    include('http://host.com/forums/extern.php?action=active');

    Show the 10 newest topics from forum with ID=5:
    include('http://host.com/forums/extern.php?action=new&show=10&fid=5');

    Show users online:
    include('http://host.com/forums/extern.php?action=online');

    Show board statistics:
    include('http://host.com/forums/extern.php?action=stats');

  Here are some examples using SSI.

    Show the 5 newest topics from forum with ID=11:
    <!--#include virtual="forums/extern.php?action=new&show=5&fid=11" -->

    Show board statistics:
    <!--#include virtual="forums/extern.php?action=stats" -->

  And finally some examples using extern.php to output an RSS 0.91
  feed.

    Output the 15 most recently active topics:
    http://host.com/extern.php?action=active&type=RSS

    Output the 15 newest topics from forum with ID=2:
    http://host.com/extern.php?action=activ … &fid=2

  Below you will find some variables you can edit to tailor the
  scripts behaviour to your needs.

And perhaps you should add a small FAQ with any solutions from the Extern.php Problems thread

Re: Cosmetic Bug: extern.php Documentation

You are right. You are being extremely picky. I used host.com because it was the shortest domain I could think of that made any kind of sense.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

3

Re: Cosmetic Bug: extern.php Documentation

Surely its irrelevant anyway. If you want extern.php to work, you're going to have to change "host.com" anyway.

4

Re: Cosmetic Bug: extern.php Documentation

Joey wrote:

Surely its irrelevant anyway.

That's why I called it a Cosmetic Bug, it was something that ... didn't look right, but didn't affect the functionality of the documentation :D