Parses a mailchimp RSS feed and adapts output to various data types and/or destinations.
npm install
npm start
After parsing the RSS feed, the following publishing options are currently supported:
In this example, content from the RSS feed (specifically Title, PubDate, and various parts of the Description) is adapted to a JSON array that is compatible with Amazon Alexa's "Flash Briefing" skill type. This example captures most of the content of the RSS feed's description in mainText and acts as the default feed for the resulting Alexa skill.
A JSON file written to ./output/newsletterfeed.json
:
[{
"uid": "2f2d857b4480a0883c6740273-080531b6ad-newsletter",
"updateDate": "2016-11-25T23:11:20.000Z",
"titleText": "Mercy Hill News!",
"mainText": "Weekly Newsletter content goes here.",
"redirectionUrl": "https://www.mercyhillshep.org/"
}]
In this example, content from the RSS feed (specifically Title, PubDate, and various parts of the Description) is adapted to a JSON array that is compatible with Amazon Alexa's flash briefing skill. This example captures a small portion of the content of the RSS feed's description in mainText and acts as a secondary feed for the resulting Alexa skill.
A JSON file written to ./output/serveteamfeed.json
:
[{
"uid": "2f2d857b4480a0883c6740273-080531b6ad-serveteamfeed",
"updateDate": "2016-11-25T23:11:20.000Z",
"titleText": "Mercy Hill Serve Team",
"mainText": "This week's serve team color is RED.",
"redirectionUrl": "https://www.mercyhillshep.org/"
}]