|
<?php
|
|
|
|
/**
|
|
* nanopub - MicroPub support for Static Blog Engine
|
|
*
|
|
* PHP version 7
|
|
*
|
|
* @author Daniel Goldsmith <dgold@ascraeus.org>
|
|
* @copyright © 2017-2019 Daniel Goldsmith <dgold@ascraeus.org>
|
|
* @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 false
|
|
'weatherToggle' => false,
|
|
'compass' => 'https://private.tracker.com/api',
|
|
'compassKey' => 'PrivateAPIkey',
|
|
'forecastKey' => 'DarkSkyApiKey',
|
|
'defaultLat' => '51.5074',
|
|
'defaultLong' => '0.1278',
|
|
'defaultLoc' => 'London',
|
|
|
|
// Config for Websub hub
|
|
'websubHub' => 'https://switchboard.p3k.io/',
|
|
|
|
// Set Frontmatter Format -- json or yaml
|
|
'frontFormat' => 'json'
|
|
);
|
|
|
|
?>
|