Uptade author

master
Kuba Orlik 5 years ago
parent f3d615dacc
commit 4a3b7c1e06

@ -11,6 +11,7 @@ app.use(async (ctx) => {
); );
const builder = new xml2js.Builder(); const builder = new xml2js.Builder();
const parsed_data = await xml2js.parseStringPromise(data); const parsed_data = await xml2js.parseStringPromise(data);
parsed_data.rss.channel[0]["itunes:author"] = "Midline";
parsed_data.rss.channel[0]["itunes:owner"][0]["itunes:email"] = parsed_data.rss.channel[0]["itunes:owner"][0]["itunes:email"] =
"kontakt@midline.pl"; "kontakt@midline.pl";
parsed_data.rss.channel[0]["itunes:owner"][0]["itunes:name"] = parsed_data.rss.channel[0]["itunes:owner"][0]["itunes:name"] =

Loading…
Cancel
Save