diff options
| author | 2015-06-01 19:42:09 +0200 | |
|---|---|---|
| committer | 2015-06-01 19:42:09 +0200 | |
| commit | ee55fd13a9ac24b908b83f0f6b0ae2cbb8f2c3f0 (patch) | |
| tree | c4bcf466e174c9abc1f15b29e8940e5fabad803d /data | |
| parent | 12972ee54ab7a732f1ca2349ff2ce46e6b245404 (diff) | |
| parent | 137c498c84da23f9abad2217c5fd716d6c514573 (diff) | |
Merge pull request #831 from Alkarex/PubSubHubbub
PubSubHubbub
Diffstat (limited to 'data')
| -rw-r--r-- | data/PubSubHubbub/feeds/.gitignore | 1 | ||||
| -rw-r--r-- | data/PubSubHubbub/feeds/README.md | 7 | ||||
| -rw-r--r-- | data/PubSubHubbub/keys/.gitignore | 1 | ||||
| -rw-r--r-- | data/PubSubHubbub/keys/README.md | 4 | ||||
| -rw-r--r-- | data/config.default.php | 8 | ||||
| -rw-r--r-- | data/users/_/config.default.php | 2 |
6 files changed, 19 insertions, 4 deletions
diff --git a/data/PubSubHubbub/feeds/.gitignore b/data/PubSubHubbub/feeds/.gitignore new file mode 100644 index 000000000..150f68c80 --- /dev/null +++ b/data/PubSubHubbub/feeds/.gitignore @@ -0,0 +1 @@ +*/* diff --git a/data/PubSubHubbub/feeds/README.md b/data/PubSubHubbub/feeds/README.md new file mode 100644 index 000000000..a01a3197f --- /dev/null +++ b/data/PubSubHubbub/feeds/README.md @@ -0,0 +1,7 @@ +List of canonical URLS of the various feeds users have subscribed to. +Several users can have subscribed to the same feed. + +* ./base64url(canonicalUrl)/ + * ./!hub.json + * ./user1.txt + * ./user2.txt diff --git a/data/PubSubHubbub/keys/.gitignore b/data/PubSubHubbub/keys/.gitignore new file mode 100644 index 000000000..2211df63d --- /dev/null +++ b/data/PubSubHubbub/keys/.gitignore @@ -0,0 +1 @@ +*.txt diff --git a/data/PubSubHubbub/keys/README.md b/data/PubSubHubbub/keys/README.md new file mode 100644 index 000000000..bb1e57cd4 --- /dev/null +++ b/data/PubSubHubbub/keys/README.md @@ -0,0 +1,4 @@ +List of keys given to PubSubHubbub hubs + +* ./sha1(random + salt).txt + * base64url(canonicalUrl) diff --git a/data/config.default.php b/data/config.default.php index 8be203d36..80d331df7 100644 --- a/data/config.default.php +++ b/data/config.default.php @@ -11,9 +11,11 @@ return array( # Used to make crypto more unique. Generated during install. 'salt' => '', - # Leave empty for most cases. - # Ability to override the address of the FreshRSS instance, - # used when building absolute URLs. + # Specify address of the FreshRSS instance, + # used when building absolute URLs, e.g. for PubSubHubbub. + # Examples: + # https://example.net/FreshRSS/p/ + # https://freshrss.example.net/ 'base_url' => '', # Natural language of the user interface, e.g. `en`, `fr`. diff --git a/data/users/_/config.default.php b/data/users/_/config.default.php index bf74ca1de..8f8ff528c 100644 --- a/data/users/_/config.default.php +++ b/data/users/_/config.default.php @@ -25,7 +25,7 @@ return array ( # In the case an article has changed (e.g. updated content): # Set to `true` to mark it unread, or `false` to leave it as-is. - 'mark_updated_article_unread' => false, + 'mark_updated_article_unread' => false, //TODO: -1 => ignore, 0 => update, 1 => update and mark as unread 'sort_order' => 'DESC', 'anon_access' => false, |
