From 71ba5a3ad1a1c9d867af68e72a4a19acd9ffe08d Mon Sep 17 00:00:00 2001 From: Sean Molenaar Date: Wed, 6 Mar 2019 13:10:37 +0100 Subject: Fix generation commands and make them available in ./occ (#402) --- docs/explore/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/explore') 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 -- cgit v1.2.3