The same way that some browsers do it. There is a meta-tag in the page, which describes which feed formats are available, and where to find them.
For one thing, it shows you the whole history of the feed -- even when the XML itself contains just the few most recent items.