summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2016-02-14 17:05:17 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2016-02-14 17:05:17 +0100
commit11ac16c33b707ed71bf12e6e9a4e2ee4f5b0199d (patch)
tree9c3a0185b5bf0a9aa587ebe10a096845b599e845
parent2c1aba15aee432fdb4723ed6fe40efe672626866 (diff)
another faq
-rw-r--r--README.md22
1 files changed, 22 insertions, 0 deletions
diff --git a/README.md b/README.md
index 8961b6ab2..e28496017 100644
--- a/README.md
+++ b/README.md
@@ -194,6 +194,28 @@ Some hints:
* length for integer fields means bytes, so an integer with length 8 means its 64bit
+### I'm getting a feed not found error when adding a feed, but it works in picoFeed/Miniflux
+Some websites block the News app because the mistake its user agent string for an attack (most notably https://www.joomla.org/announcements.feed\?type\=rss). You can test for this issue by changing the default user agent string in **appinfo/application.php**.
+
+Search the section that defines the user agent:
+
+```php
+$userAgent = 'ownCloud News/' . $appConfig->getConfig('version') .
+ ' (+https://owncloud.org/; 1 subscriber;)';
+```
+
+and replace it with the following line:
+
+```php
+$userAgent = 'test';
+```
+
+If this fixes the issue, contact the feed's administrators and ask them to fix their server setup.
+
+**Hint**: Should you not be able to set up picoFeed or Miniflux, you can simply use the bundled picoFeed version to test the website, e.g.:
+
+ php -f vendor/fguillot/picofeed/picofeed feed https://www.joomla.org/announcements.feed\?type\=rss
+
### I am getting: Exception: Some\\Class does not exist erros in my owncloud.log
This is very often caused by missing or old files, e.g. by failing to upload all of the News app' files or errors during installation. Before you report a bug, please recheck if all files from the archive are in place and accessible.