forked from remi/pubwich
-
Notifications
You must be signed in to change notification settings - Fork 27
ServiceGnusocial
Michael Haschke edited this page Jul 10, 2015
·
1 revision
The GNUsocial service aggregates status feeds from GNU social, for users, for tags, for tags of users, and keyword search terms.
- serverurl: protocol and domain of the server that is running the GNU social, e.g. https://gnusocial.no/
-
username: name of user, like in
https://gnusocial.no/username
-
tag: name of hashtag, like in
https://gnusocial.no/tag/hashtag
- search: search terms
... and the basic configuration for all services.
Values are optional, you can configure either username
or tag
, both, or nothing if you configure search
.
$gnusocial_status_pf = array(
'Gnusocial', 'feed_status_pf', array(
'username' => 'haschek',
'tag' => 'PubwichFork',
'total' => 5,
'title' => 'Statuses',
'description' => 'from Identi.ca',
'cache_limit' => 60 * 60 * 4
)
);
- text: the original text withouth any links
- status: the text with link replacements for @username, #hashtag, !group and URL strings
- link: permanent URL of the status message
- date: date of the status message
-
user_name: user shortname, like in
http://identi.ca/shortname
- user_link: permanent URL of the user
Additionally you can use all template keys of the Feed service because Gnusocial is built as an sub service.