showXmlFeed

Description

Is called to output XML information.

Syntax

void showXmlFeed ()


Notes

  • Can be passed four subactions which decide what is output: 'recent' for recent posts, 'news' for news topics, 'members' for recently registered members, and 'profile' for a member's profile.
  • 'limit' get parameter can be used to specify how many items to display (must be between 5 and 255; default is 5)
  • To display a member's profile, a user id has to be given. (;u=1)
  • Uses the Stats language file.
  • Outputs an rss feed instead of a proprietary one if the 'type' get parameter is 'rss' or 'rss2'.
  • Does not use any templates, sub templates, or template layers.
  • Is accessed via ?action=.xml.
Advertisement: