+
+
+## Get the news headlines in Homer
+
+### Mapping Fields
+Most times, the url you're getting headlines from follows a different schema than the one expected by Homer.
+
+For example, if you would like to show jokes from ChuckNorris.io, you'll find that the url https://api.chucknorris.io/jokes/random is giving you info like this:
+
+```json
+{
+ "categories": [],
+ "created_at": "2020-01-05 13:42:22.089095",
+ "icon_url": "https://assets.chucknorris.host/img/avatar/chuck-norris.png",
+ "id": "MR2-BnMBR667xSpQBIleUg",
+ "updated_at": "2020-01-05 13:42:22.089095",
+ "url": "https://api.chucknorris.io/jokes/MR2-BnMBR667xSpQBIleUg",
+ "value": "Chuck Norris can quitely sneak up on himself"
+}
+```
+
+but... you need that info to be transformed to something like this:
+
+```json
+{
+ "title": "MR2-BnMBR667xSpQBIleUg",
+ "content": "Chuck Norris can quitely sneak up on himself"
+}
+```
+
+Now, you can do that using the `mapping` field in your `message` configuration. This example would be something like this:
+
+```yml
+message:
+ url: https://api.chucknorris.io/jokes/random
+ mapping:
+ title: 'id'
+ content: 'value'
+```
+
+As you would see, using the ID as a title doesn't seem nice, that's why when a field is empty it would keep the default values, like this:
+
+```yml
+message:
+ url: https://api.chucknorris.io/jokes/random
+ mapping:
+ content: 'value'
+ title: "Chuck Norris Facts!"
+```
+
+and even an error message in case the `url` didn't respond or threw an error:
+
+```yml
+message:
+ url: https://api.chucknorris.io/jokes/random
+ mapping:
+ content: 'value'
+ title: "Chuck Norris Facts!"
+ content: "Message could not be loaded"
+```
+
+#### `by @JamiePhonic`
+
+Homer allows you to set a "message" that will appear at the top of the page, however, you can also supply a `url:`.
+
+If the URL you specified returns a JSON object that defines a `title` and `content` item, homer will replace these values from your `config.yml` with the ones in the returned object.
+
+So, using [Node-Red](https://nodered.org/docs/getting-started/) and a quick flow, you can process an RSS feed to replace the message with a news item!
+
+To get started, simply import [this flow](https://flows.nodered.org/flow/4b6406c9a684c26ace0430dd1826e95d) into your Node-Red instance and change the RSS feed in the "Get News RSS Feed" node to one of your choosing!
+
+So far, the flow has been tested with BBC News and Sky News, however it should be easy to modify the flow to work with other RSS feeds if they don't work out of the box!