-
FAQ
- Forum Search
- Community
- Online Manual
- Support Helpers of the Month
- Function Database
getXmlNews
Description
Gets news (latest posts that are the first post in their topic) and returns it in an array for the feed.
Syntax
array getXmlNews (string $xml_format)
Parameter $xml_format
Expected type: Enumerated String
Description: Which format the data should be configured for
Possible string values Allowed values Description 'Anything Else' XML format (proprietary) 'atom' ATOM 'rdf' RDF 'rss' RSS 0.92 'rss2' RSS 2.0
Return value
Expected type: Array
Description: $data, an array of information with keys corresponding to tags for the appropriate format (keys vary depending on format)
Notes
- Called by ?action=.xml[;type=x] or ?action=.xml;sa=news[;type=x]
Advertisement:- Help | Terms and Rules | Go Up ▲
- Copyright © 2022 Simple Machines. All Rights Reserved.
- Page created in 0.036 seconds with 13 queries.
- Forum Search