Skip to content
Snippets Groups Projects
Commit 7f8ffac4 authored by Chris Heitkamp / SuperVirus's avatar Chris Heitkamp / SuperVirus Committed by Chris Heitkamp
Browse files

Added logo url, feeds (blog/calendar/wiki), SpaceAPI v0.8/0.9/0.11 compatibility

parent 932f42f2
No related branches found
No related tags found
No related merge requests found
......@@ -27,8 +27,22 @@
$data = Array(
'api' => '0.13',
'space' => 'Warpzone',
'logo' => '',
'logo' => 'https://www.warpzone.ms/api/warpzone_logo.png',
'url' => 'https://www.warpzone.ms',
'feeds' => Array(
'blog' => Array(
'type' => 'rss',
'url' => 'https://www.warpzone.ms/feed/',
),
'calendar' => Array(
'type' => 'ical',
'url' => 'https://www.google.com/calendar/ical/hc82sdjshuf1ru9f9eqcfq9bvs%40group.calendar.google.com/public/basic.ics',
),
'wiki' => Array(
'type' => 'rss',
'url' => 'https://www.warpzone.ms/wiki/feed.php',
),
),
'location' => Array(
'address' => 'Warpzone e.V., Am Hawerkamp 31, 48155 Münster, Germany',
'lon' => 7.638216,
......@@ -51,11 +65,6 @@
'closed' => 'https://www.warpzone.ms/api/warpzone_closed.png',
),
),
/* Caching disabled, re-enable to allow caching by spaceapi.net
'cache' => Array(
'schedule' => 'm.02'
),
*/
'sensors' => Array(
'temperature' => Array(
Array(
......@@ -70,6 +79,19 @@
),
),
),
/* API 0.8 / 0.9/ 0.11 compatibility */
'open' => $wankerTuerOffen,
'icon' => Array(
'open' => 'https://www.warpzone.ms/api/warpzone_open.png',
'closed' => 'https://www.warpzone.ms/api/warpzone_closed.png',
),
/* Caching disabled, re-enable to allow caching by spaceapi.net
'cache' => Array(
'schedule' => 'm.02',
),
*/
);
print(json_encode($data));
......
api/warpzone_logo.png

9.82 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment