gnu-social/plugins/StoreRemoteMedia
Chimo a614205663 Add plugin READMEs 2016-02-08 17:48:37 +00:00
..
README Add plugin READMEs 2016-02-08 17:48:37 +00:00
StoreRemoteMediaPlugin.php Catch http exception in StoreRemoteMedia 2016-02-07 01:54:37 +01:00

README

The StoreRemoteMedia plugin downloads remotely attached files to local server.

Installation
============
add "addPlugin('StoreRemoteMedia');"
to the bottom of your config.php

Settings
========
domain_whitelist: Array of regular expressions. Always escape your dots and end your strings.
check_whitelist: Whether to check the domain_whitelist.

Example
=======
addPlugin('StoreRemoteMedia', array(
    'domain_whitelist' => array(
        '^i\d*\.ytimg\.com$' => 'YouTube',
        '^i\d*\.vimeocdn\.com$' => 'Vimeo'
    ),
    'check_whitelist' => true
));