Non-HTML pages and feeds
A page can produce any text format. Keep the extra extension in the file name,
set its content type and preamble, and turn layouts off:
```jsx
// articles/feed.xml.jsx
data({
preamble: '',
contentType: "application/rss+xml",
layout: "",
});
{siteTitle}
{page.siteURL}
{pages("articles/**").reverse().map(post =>
{post.title}
{`${page.siteURL}${post.path}`}
{`${page.siteURL}${post.path}`}{new Date(post.date).toUTCString()}{raw(``)}
)}
```
This builds `_public/articles/feed.xml`. Because escaping is on, titles with `&`
produce valid XML.
Non-HTML pages don't get [extra outputs](/docs/manual/extra-outputs-per-page), aren't
counted as [backlink](/docs/manual/backlinks) sources, and their aliases serve a copy of the
content instead of a redirect stub.