From: Jeremy Benoist Date: Fri, 7 Oct 2016 14:02:03 +0000 (+0200) Subject: Merge pull request #2385 from wallabag/add-doc-about-siteconfig X-Git-Tag: 2.1.2~42 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=aa88d2494b1f574afcb5ab9caf098d8f0253ec33;hp=c8d2dcdafe95c7986bb9fdaa7998417a014bf6fa;p=github%2Fwallabag%2Fwallabag.git Merge pull request #2385 from wallabag/add-doc-about-siteconfig Added documentation about siteconfig fix --- diff --git a/docs/en/user/errors_during_fetching.rst b/docs/en/user/errors_during_fetching.rst index 68892750..6684563a 100644 --- a/docs/en/user/errors_during_fetching.rst +++ b/docs/en/user/errors_during_fetching.rst @@ -12,9 +12,21 @@ There may be several reasons: 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 `__. +You can `sending us an email with the article's URL `_. + +Or you can also try to fix this problem by yourself (so we can be focused on improving wallabag internally instead of writing siteconfig :) ). + +You can try to see if it works here: `http://f43.me/feed/test `_ (it uses almost the same system as wallabag to retrieve content). + +If it works here and not on wallabag, it means there is something internally in wallabag that breaks the parser (hard to fix: please open an issue about it). + +If it doesn't works, try to extract a site config using: `http://siteconfig.fivefilters.org/ `_ (select which part of the content is actually the content). You can `read this documentation before `_. + +You can test it on **f43.me** website: click on **Want to try a custom siteconfig?** and put the generated file from siteconfig.fivefilters.org. + +Repeat until you have something ok. + +Then you can submit a pull request to `https://github.com/fivefilters/ftr-site-config `_ which is the global repo for siteconfig files. How can I try to re-fetch this article? --------------------------------------- diff --git a/docs/fr/user/errors_during_fetching.rst b/docs/fr/user/errors_during_fetching.rst index 74290bef..1a60e4bd 100644 --- a/docs/fr/user/errors_during_fetching.rst +++ b/docs/fr/user/errors_during_fetching.rst @@ -12,9 +12,21 @@ Il peut y avoir plusieurs raisons : 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 `__. +Vous pouvez `nous envoyer un email avec l'URL de l'article `_. + +Ou vous pouvez aussi essayer de résoudre ce problème vous même (comme ça, nous restons concentrés pour améliorer wallabag au lieu d'écrire ces fichiers de configuration :) ). + +Vous pouvez essayer de voir si ça fonctionne ici : `http://f43.me/feed/test `_ (ce site utilise principalement la même manière de fonctionner que wallabag pour récupérer les articles). + +Si ça fonctionne ici et pas sur wallabag, c'est qu'il y a un souci avec wallabag qui casse le parser (difficile à résoudre : merci d'ouvrir un nouveau ticket à ce sujet). + +Si ça ne fonctionne pas, vous pouvez essayer de créer un fichier de configuration en utilisant : `http://siteconfig.fivefilters.org/ `_ (sélectionnez les parties du contenu qui correspondent à ce que vous souhaitez garder). Vous pouvez `lire cette documentation avant `_. + +Vous pouvez tester ce fichier sur le site **f43.me** : cliquez sur **Want to try a custom siteconfig?** et insérez le fichier généré depuis siteconfig.fivefilters.org. + +Répétez cette opération jusqu'à avoir quelque chose qui vous convienne. + +Ensuite, vous pouvez créer une pull request ici `https://github.com/fivefilters/ftr-site-config `_, qui est le projet principal pour stocker les fichiers de configuration. Comment puis-je réessayer de récupérer le contenu ? ---------------------------------------------------