commit d0c1c0083ced0470500060f14d37cdfff3028795 Author: Jonny Barnes <jonny@jonnybarnes.uk> Date: Fri Dec 16 11:46:40 2016 +0000 remove done @todo commit f61a968bb8a7743c2b34ea3efcb25cfd73452cfc Author: Jonny Barnes <jonny@jonnybarnes.uk> Date: Fri Dec 16 11:43:22 2016 +0000 Comment for using empty array commit 9ad7cde20d259ff4527d315049e3df83f145fe0f Author: Jonny Barnes <jonny@jonnybarnes.uk> Date: Fri Dec 16 11:42:18 2016 +0000 Syndication targets are now dynamically checked
39 lines
1.3 KiB
PHP
39 lines
1.3 KiB
PHP
<?php
|
||
|
||
/*
|
||
* Here we define the syndication targets to be
|
||
* returned by the micropub endpoint.
|
||
*/
|
||
|
||
return [
|
||
// if you don’t have any targets, then set this to 'targets' => [];
|
||
'targets' => [
|
||
[
|
||
'uid' => 'https://twitter.com/jonnybarnes',
|
||
'name' => 'jonnybarnes on Twitter',
|
||
'service' => [
|
||
'name' => 'Twitter',
|
||
'url' => 'https://twitter.com',
|
||
'photo' => 'https://upload.wikimedia.org/wikipedia/en/9/9f/Twitter_bird_logo_2012.svg',
|
||
],
|
||
'user' => [
|
||
'name' => 'jonnybarnes',
|
||
'url' => 'https://twitter.com/jonnybarnes',
|
||
'photo' => 'https://pbs.twimg.com/profile_images/1853565405/jmb-bw.jpg',
|
||
],
|
||
],
|
||
[
|
||
'uid' => 'https://facebook.com/jonnybarnes',
|
||
'name' => 'jonnybarnes on Facebook',
|
||
'service' => [
|
||
'name' => 'Facebook',
|
||
'url' => 'https://facebook.com',
|
||
'photo' => 'https://en.facebookbrand.com/wp-content/uploads/2016/05/FB-fLogo-Blue-broadcast-2.png',
|
||
],
|
||
'user' => [
|
||
'name' => 'jonnybarnes',
|
||
'url' => 'https://facebook.com/jonnybarnes',
|
||
],
|
||
]
|
||
]
|
||
];
|