This repository has been archived by the owner on Jan 15, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
configs.php
55 lines (47 loc) · 2.09 KB
/
configs.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?php
/**
* nanopub - MicroPub support for Static Blog Engine
*
* PHP version 7
*
* @author Daniel Goldsmith <[email protected]>
* @copyright © 2017-2019 Daniel Goldsmith <[email protected]>
* @license BSD 3-Clause Clear Licence
* @link https://github.com/dg01d/nanopub
* @category Micropub
* @version 2.0.0
*
* SPDX-License-Identifier: BSD-3-Clause-Clear
*
*/
return (object) array(
// First some settings for the site
'siteUrl' => 'https://example.com/', // the URL for your site - note trailing slash
'timezone' => 'Europe/London', // http://php.net/manual/en/timezones.php
'mediaPoint' => 'https://media.org/endpoint', // Micropub Media Endpoint
'tokenPoint' => 'https://tokens.indieauth.com/token', // IndieAuth Token Endpoint
'storageFolder' => '../content', // the folder to store the posts in
'trashFolder' => '../trash', // the folder to move removed posts into
// Config Block for Twitter -- Used only for XRay for rich context replies
'twAPIkey' => 'WomtvR2YoT', // Create an app on dev.twitter.com for your account.
'twAPIsecret' => 'NILIDJXg1e', // APIkey & APIsecret are the APP's key & Secret
'twUserKey' => 'ILs4jUS7a6', // UserKey & User Secret are under 'Your access token'
'twUserSecret' => 'NYbGUfuNUh', // Generate those on dev.twitter.com
// Config Block for Mastodon
'mastodonInstance' => 'servername.ext', // your Mastodon Instance
'mastodonToken' => 'uWo42Bca91', // get an auth code using Mastodon docs
// Config for micro.blog
'pingMicro' => True, // Set to False (boolean) if you don't use micro.blog
'siteFeed' => 'https://example.com/atom.xml', // Set to your site's RSS/Atom Feed to notify micro.blog
// Config for Weather. If you do want weather feature, set to true
'weatherToggle' => false,
'compass' => 'https://private.tracker.com/api',
'compassKey' => 'PrivateAPIkey',
'forecastKey' => 'DarkSkyApiKey',
'defaultLat' => '51.5074',
'defaultLong' => '0.1278',
'defaultLoc' => 'London',
// Set Frontmatter Format -- json or yaml
'frontFormat' => 'json'
);
?>