Feature Rich
Rapid Application Development
Helping you or your customers
Manage their Business

Serving XML or RSS

You can use UDB to serve XML or RSS Content.

Simply setup a page with a friendly name that starts with the word "live" such as "livefeed". You can then access the page as "\livefeed.xml" or "\livefeed.rss".

Include the relevant code in the page such as:

	<!--?xml version="1.0" encoding="UTF-8" standalone="yes" ?-->
	<!--?xml-stylesheet type="text/css" href="https://www.ultimatedb.net/css/orgx/site-rss.css"?-->
	<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#">
		<channel>
			.....................
		<channel>
	</rss>

Add in whatever code you need in to the middle to return the actual XML.

You can also call the page with "\livefeed_1234.rss". This will pass the number after the last underscore to the code and is accessable using the command {XML_VAL}.

UDB Guide

Serving XML or RSS Content

UDB can serve XML or RSS content from a page whose friendly name starts with live.

Configure an XML or RSS Page

  1. Create a UDB page with a friendly name that starts with live, such as livefeed.
  2. Access the page using the corresponding .xml or .rss extension:
    • \livefeed.xml
    • \livefeed.rss
  3. Include the required XML or RSS code in the page.
  4. Add the code needed to return the actual XML content.

Example XML/RSS Page Content

<!--?xml version="1.0" encoding="UTF-8" standalone="yes" ?-->
<!--?xml-stylesheet type="text/css" href="https://www.ultimatedb.net/css/orgx/site-rss.css"?-->
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#">
  <channel>
    .....................
  </channel>
</rss>

Passing a Numeric Value in the Page URL

A live page can receive a number appended after the final underscore in the page URL.

For example, the page named livefeed can be called as:

\livefeed_1234.rss

UDB passes the number after the last underscore to the page code. The value is accessible using the UDB command:

0
2026-10-05 17:46:21