From fe5597c433a676bf20ab7a22131d81befc2537b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Mon, 22 Feb 2016 13:30:17 +0100 Subject: Display a human message when graby fails to fetch articles --- src/Wallabag/CoreBundle/Resources/config/services.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Wallabag/CoreBundle/Resources/config/services.yml b/src/Wallabag/CoreBundle/Resources/config/services.yml index 1aa66be1..27f6f97f 100644 --- a/src/Wallabag/CoreBundle/Resources/config/services.yml +++ b/src/Wallabag/CoreBundle/Resources/config/services.yml @@ -39,7 +39,7 @@ services: wallabag_core.graby: class: Graby\Graby arguments: - - { error_message: false } + - { error_message: "wallabag can't retrieve contents for this article. Please contact us if problem persists." } calls: - [ setLogger, [ "@logger" ] ] tags: -- cgit v1.2.3 From 924ef7cacd3990fd239ccfa969a648f2e14e1bde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Mon, 22 Feb 2016 22:00:52 +0100 Subject: Added documentation about errors during fetching --- docs/en/index.rst | 1 + docs/en/user/errors_during_fetching.rst | 27 +++++++++++++++++++++++++++ docs/fr/index.rst | 1 + docs/fr/user/errors_during_fetching.rst | 27 +++++++++++++++++++++++++++ docs/img/user/refetch.png | Bin 0 -> 1956 bytes 5 files changed, 56 insertions(+) create mode 100644 docs/en/user/errors_during_fetching.rst create mode 100644 docs/fr/user/errors_during_fetching.rst create mode 100644 docs/img/user/refetch.png diff --git a/docs/en/index.rst b/docs/en/index.rst index 17e375d2..fd6260de 100644 --- a/docs/en/index.rst +++ b/docs/en/index.rst @@ -28,6 +28,7 @@ The main documentation for this application is organized into a couple sections: user/login user/configuration user/first_article + user/errors_during_fetching user/import user/download_articles user/filters diff --git a/docs/en/user/errors_during_fetching.rst b/docs/en/user/errors_during_fetching.rst new file mode 100644 index 00000000..d3efc848 --- /dev/null +++ b/docs/en/user/errors_during_fetching.rst @@ -0,0 +1,27 @@ +Errors during fetching articles +=============================== + +Why does the fetch of an article fail? +-------------------------------------- + +There may be several reasons: + +- network problem +- wallabag can't fetch content due to the website structure + +How can I help to fix that? +--------------------------- + +- `by sending us an email with the article's URL `_ +- by trying to fix this article by yourself :) by creating a file for the article. + You can use this tool http://siteconfig.fivefilters.org/. + +How can I try to re-fetch this article? +--------------------------------------- + +If wallabag failed when fetching an article, you can click on the reload button +(the third on the below picture). + +.. image:: ../../img/user/refetch.png + :alt: Refetch content + :align: center diff --git a/docs/fr/index.rst b/docs/fr/index.rst index a47b8a62..29ee2935 100644 --- a/docs/fr/index.rst +++ b/docs/fr/index.rst @@ -29,6 +29,7 @@ La documentation principale de cette application est découpée en plusieurs sec user/login user/configuration user/first_article + user/errors_during_fetching user/import user/download_articles user/filters diff --git a/docs/fr/user/errors_during_fetching.rst b/docs/fr/user/errors_during_fetching.rst new file mode 100644 index 00000000..b20e5973 --- /dev/null +++ b/docs/fr/user/errors_during_fetching.rst @@ -0,0 +1,27 @@ +Erreur durant la récupération des articles +========================================== + +Pourquoi la récupération des articles échoue ? +---------------------------------------------- + +Il peut y avoir plusieurs raisons : + +- problème de connexion internet +- wallabag ne peut pas récupérer le contenu à cause de la structure du site web + +Comment puis-je aider pour réparer ça ? +--------------------------------------- + +- `en nous envoyant un email avec l'URL de l'article `_ +- en essayant de réparer cet article par vous-même :) en créant un fichier pour l'article. + Vous pouvez utiliser cet outil http://siteconfig.fivefilters.org/. + +Comment puis-je réessayer de récupérer le contenu ? +--------------------------------------------------- + +Si wallabag échoue en récupérant l'article, vous pouvez cliquer sur le bouton suivant +(le troisième sur l'image ci-dessous). + +.. image:: ../../img/user/refetch.png + :alt: Refetch content + :align: center diff --git a/docs/img/user/refetch.png b/docs/img/user/refetch.png new file mode 100644 index 00000000..ff905248 Binary files /dev/null and b/docs/img/user/refetch.png differ -- cgit v1.2.3 From bb17ddea616229721b7987bf04680d7610303a0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Mon, 22 Feb 2016 22:14:56 +0100 Subject: changed error message --- src/Wallabag/CoreBundle/Resources/config/services.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Wallabag/CoreBundle/Resources/config/services.yml b/src/Wallabag/CoreBundle/Resources/config/services.yml index 27f6f97f..677c33da 100644 --- a/src/Wallabag/CoreBundle/Resources/config/services.yml +++ b/src/Wallabag/CoreBundle/Resources/config/services.yml @@ -39,7 +39,7 @@ services: wallabag_core.graby: class: Graby\Graby arguments: - - { error_message: "wallabag can't retrieve contents for this article. Please contact us if problem persists." } + - { error_message: "wallabag can't retrieve contents for this article. Please report this issue to us." } calls: - [ setLogger, [ "@logger" ] ] tags: -- cgit v1.2.3