From 21bf1dd1a36867ccc3e8035ca1ce906183334e89 Mon Sep 17 00:00:00 2001 From: Andreas Date: Mon, 12 Dec 2016 14:52:00 +0100 Subject: [PATCH] Updated module READMEs with current default values --- modules/default/calendar/README.md | 2 +- modules/default/calendar/calendar.js | 5 +---- modules/default/currentweather/README.md | 6 +++--- modules/default/newsfeed/README.md | 1 + modules/default/weatherforecast/README.md | 10 +++++----- 5 files changed, 11 insertions(+), 13 deletions(-) diff --git a/modules/default/calendar/README.md b/modules/default/calendar/README.md index 29a593aa..96ad5561 100644 --- a/modules/default/calendar/README.md +++ b/modules/default/calendar/README.md @@ -144,7 +144,7 @@ The following properties can be configured: When using a timeFormat of absolute, the urgency setting allows you to display events within a specific time frame as relative This allows events within a certain time frame to be displayed as relative (in xx days) while others are displayed as absolute dates

Possible values: a positive integer representing the number of days for which you want a relative date, for example 7 (for 7 days)
-
Default value: 0 (disabled) +
Default value: 7 diff --git a/modules/default/calendar/calendar.js b/modules/default/calendar/calendar.js index 6282d130..d112b237 100644 --- a/modules/default/calendar/calendar.js +++ b/modules/default/calendar/calendar.js @@ -32,10 +32,7 @@ Module.register("calendar", { url: "http://www.calendarlabs.com/templates/ical/US-Holidays.ics", }, ], - titleReplace: { - "De verjaardag van ": "", - "'s birthday": "" - }, + titleReplace: {}, broadcastEvents: true }, diff --git a/modules/default/currentweather/README.md b/modules/default/currentweather/README.md index 335dc0de..ccef543c 100644 --- a/modules/default/currentweather/README.md +++ b/modules/default/currentweather/README.md @@ -39,7 +39,7 @@ The following properties can be configured: location The location used for weather information.

Example: 'Amsterdam,Netherlands' -
Default value: New York

+
Default value: false

Note: When the location and locationID are both not set, the location will be based on the information provided by the calendar module. The first upcoming event with location data will be used. @@ -47,7 +47,7 @@ The following properties can be configured: locationID Location ID from OpenWeatherMap This will override anything you put in location.
Leave blank if you want to use location.
Example: 1234567 -
Default value:

+
Default value: false

Note: When the location and locationID are both not set, the location will be based on the information provided by the calendar module. The first upcoming event with location data will be used. @@ -82,7 +82,7 @@ The following properties can be configured: animationSpeed Speed of the update animation. (Milliseconds)

Possible values:0 - 5000 -
Default value: 2000 (2 seconds) +
Default value: 1000 (1 second) diff --git a/modules/default/newsfeed/README.md b/modules/default/newsfeed/README.md index e177be25..baaf5ac3 100644 --- a/modules/default/newsfeed/README.md +++ b/modules/default/newsfeed/README.md @@ -53,6 +53,7 @@ The following properties can be configured: { title: "New York Times", url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml", + encoding: "UTF-8" //ISO-8859-1 } ] diff --git a/modules/default/weatherforecast/README.md b/modules/default/weatherforecast/README.md index 0cc3e46b..2842af54 100644 --- a/modules/default/weatherforecast/README.md +++ b/modules/default/weatherforecast/README.md @@ -39,7 +39,7 @@ The following properties can be configured: location The location used for weather information.

Example: 'Amsterdam,Netherlands' -
Default value: New York

+
Default value: false

Note: When the location and locationID are both not set, the location will be based on the information provided by the calendar module. The first upcoming event with location data will be used. @@ -47,7 +47,7 @@ The following properties can be configured: locationID Location ID from OpenWeatherMap This will override anything you put in location.
Leave blank if you want to use location.
Example: 1234567 -
Default value:

+
Default value: false

Note: When the location and locationID are both not set, the location will be based on the information provided by the calendar module. The first upcoming event with location data will be used. @@ -98,7 +98,7 @@ The following properties can be configured: animationSpeed Speed of the update animation. (Milliseconds)

Possible values:0 - 5000 -
Default value: 2000 (2 seconds) +
Default value: 1000 (1 second) @@ -126,7 +126,7 @@ The following properties can be configured: initialLoadDelay The initial delay before loading. If you have multiple modules that use the same API key, you might want to delay one of the requests. (Milliseconds)

Possible values: 1000 - 5000 -
Default value: 0 +
Default value: 2500 (2.5 seconds delay. This delay is used to keep the OpenWeather API happy.) @@ -149,7 +149,7 @@ The following properties can be configured: - weatherEndpoint + forecastEndpoint The OpenWeatherMap API endPoint.

Default value: 'forecast/daily'