INNER CODE UNIT · JavaScript
get
manuelernestog/astropod · src/pages/rss.xml.js:14
export async function get(context) {
let podcast = {
rss: {
$: {
version: "2.0",
"xmlns:itunes": "http://www.itunes.com/dtds/podcast-1.0.dtd",
"xmlns:podcast": "https://github.com/Podcastindex-org/podcast-namespace/blob/main/docs/1.0.md",
"xmlns:atom": "http://www.w3.org/2005/Atom",
"xmlns:content": "http://purl.org/rss/1.0/modules/content/",
},
channel: [
{
title: astropodConfig.name,
description: astropodConfig.description,
link: astropodConfig.link,
copyright: astropodConfig.copyright,
author: astropodConfig.author,
generator: ["Astropod"],