summaryrefslogtreecommitdiffstats
path: root/fetcher
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2015-08-18 11:44:25 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2015-08-18 11:45:25 +0200
commit0bfe523ba188979f6176bd5b5ccc529c764a4312 (patch)
treea54176c395972c76f7a627ae7a440a8e205e89d9 /fetcher
parent4f304e39cc8404e1b8eaf824b709d48e2d1ad4e0 (diff)
better feed not found message @blizzz
Diffstat (limited to 'fetcher')
-rw-r--r--fetcher/feedfetcher.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/fetcher/feedfetcher.php b/fetcher/feedfetcher.php
index 3222a8419..0dbe99cbe 100644
--- a/fetcher/feedfetcher.php
+++ b/fetcher/feedfetcher.php
@@ -114,7 +114,10 @@ class FeedFetcher implements IFeedFetcher {
if ($ex instanceof MalFormedXmlException) {
$msg = $this->l10n->t('Feed contains invalid XML');
} else if ($ex instanceof SubscriptionNotFoundException) {
- $msg = $this->l10n->t('Could not find a feed');
+ $msg = $this->l10n->t('Feed not found: either the website ' .
+ 'does not provide a feed or blocks access. To rule out ' .
+ 'blocking, curl the feed on your server, e.g.: curl ' .
+ 'http://the-feed.tld');
} else if ($ex instanceof UnsupportedFeedFormatException) {
$msg = $this->l10n->t('Detected feed format is not supported');
} else if ($ex instanceof InvalidCertificateException) {