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/README.md | 2 +- docs/explore/README.md | 6 +++--- docs/plugins/README.md | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'docs') diff --git a/docs/README.md b/docs/README.md index 63837701a..62c2dac07 100644 --- a/docs/README.md +++ b/docs/README.md @@ -9,5 +9,5 @@ As a developer you can interact with the News app in the following ways: * [Customize the explore section](explore/) -The News app uses [picoFeed](https://github.com/miniflux/picoFeed) for parsing feeds and full text feeds. picoFeed is a fantastic library so if you [add custom full text configurations](https://github.com/miniflux/picoFeed/blob/master/docs/grabber.markdown#how-to-write-a-grabber-rules-file) or fix bugs, please consider **contributing your changes** back to the library to help others :) +The News app uses [FeedIO](https://github.com/alexdebril/feed-io) for parsing feeds and full text feeds. FeedIO is a fantastic library so if you contribute or fix bugs, please consider **contributing your changes** back to the library to help others :) 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 diff --git a/docs/plugins/README.md b/docs/plugins/README.md index bc9e110d0..3d7f968cb 100644 --- a/docs/plugins/README.md +++ b/docs/plugins/README.md @@ -8,7 +8,7 @@ There are essentially three different use cases for plugins: * Dropping in additional CSS or JavaScript ## The Basics -Whatever plugin you want to create, you first need to create a basic structure. A plugin is basically just an app so you can take advantage of the full [Nextcloud app API](https://docs.nextcloud.org/server/9/developer_manual/app/index.html). If you want you can [take a look at the developer docs](https://docs.nextcloud.org/server/9/developer_manual/app/index.html) or [dig into the tutorial](https://docs.nextcloud.org/server/9/developer_manual/app/tutorial.html). +Whatever plugin you want to create, you first need to create a basic structure. A plugin is basically just an app so you can take advantage of the full [Nextcloud app API](https://docs.nextcloud.org/server/latest/developer_manual/app/index.html). If you want you can [take a look at the developer docs](https://docs.nextcloud.org/server/latest/developer_manual/app/index.html) or [dig into the tutorial](https://docs.nextcloud.org/server/latest/developer_manual/app/tutorial.html). However if you just want to start slow, the full process is described below. -- cgit v1.2.3