diff options
author | Sean Molenaar <SMillerDev@users.noreply.github.com> | 2019-03-06 13:10:37 +0100 |
---|---|---|
committer | Benjamin Brahmer <info@b-brahmer.de> | 2019-03-06 13:10:37 +0100 |
commit | 71ba5a3ad1a1c9d867af68e72a4a19acd9ffe08d (patch) | |
tree | debd3e30226df8def9e8f0bb30136c91db84184f /docs/explore | |
parent | 6a4e56e7274d85bcbd0e2dcde7a61d8f7a4397ec (diff) |
Fix generation commands and make them available in ./occ (#402)
Diffstat (limited to 'docs/explore')
-rw-r--r-- | docs/explore/README.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/explore/README.md b/docs/explore/README.md index c377e343b..be77a2a85 100644 --- a/docs/explore/README.md +++ b/docs/explore/README.md @@ -22,13 +22,13 @@ The file has the following format: } ``` -To ease the pain of constructing the JSON object, you can use a small script to automatically create it: +To ease the pain of constructing the JSON object, you can use a nextcloud command to automatically create it: - php -f bin/tools/generate_explore.php https://path.com/to/feed.rss + php ./occ news:generate-explore https://path.com/to/feed.rss By passing a second parameter you can set the vote count which determines the sorting on the explore page: - php -f bin/tools/generate_explore.php https://path.com/to/feed.rss 1000 + php ./occ news:generate-explore https://path.com/to/feed.rss 1000 You can paste the output directly into the appropriate json file but you may need to add additional categories and commas |