How can I help to fix that?
---------------------------
-- `by sending us an email with the article's URL <mailto:hello@wallabag.org>`_
-- by trying to fix this article by yourself :) by creating a file for the article.
- You can use `this tool <http://siteconfig.fivefilters.org/>`__.
+You can `sending us an email with the article's URL <mailto:hello@wallabag.org>`_.
+
+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 <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/ <http://siteconfig.fivefilters.org/>`_ (select which part of the content is actually the content). You can `read this documentation before <http://help.fivefilters.org/customer/en/portal/articles/223153-site-patterns>`_.
+
+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 <https://github.com/fivefilters/ftr-site-config>`_ which is the global repo for siteconfig files.
How can I try to re-fetch this article?
---------------------------------------
Comment puis-je aider pour réparer ça ?
---------------------------------------
-- `en nous envoyant un email avec l'URL de l'article <mailto:hello@wallabag.org>`_
-- 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/>`__.
+Vous pouvez `nous envoyer un email avec l'URL de l'article <mailto:hello@wallabag.org>`_.
+
+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 <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/ <http://siteconfig.fivefilters.org/>`_ (sélectionnez les parties du contenu qui correspondent à ce que vous souhaitez garder). Vous pouvez `lire cette documentation avant <http://help.fivefilters.org/customer/en/portal/articles/223153-site-patterns>`_.
+
+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 <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 ?
---------------------------------------------------
url_label: 'Url'
# is_public_label: 'Public'
save_label: 'Gem'
+ public:
+ # shared_by_wallabag: "This article has been shared by <a href=%wallabag_instance%'>wallabag</a>"
about:
page_title: 'Om'
url_label: 'URL'
is_public_label: 'Öffentlich'
save_label: 'Speichern'
+ public:
+ # shared_by_wallabag: "This article has been shared by <a href='%wallabag_instance%'>wallabag</a>"
about:
page_title: 'Über'
url_label: 'Url'
is_public_label: 'Public'
save_label: 'Save'
+ public:
+ shared_by_wallabag: "This article has been shared by <a href='%wallabag_instance%'>wallabag</a>"
about:
page_title: 'About'
url_label: 'Url'
is_public_label: 'Es Público'
save_label: 'Guardar'
+ public:
+ # shared_by_wallabag: "This article has been shared by <a href='%wallabag_instance%'>wallabag</a>"
about:
page_title: 'Acerca de'
url_label: 'نشانی'
is_public_label: 'عمومی'
save_label: 'ذخیره'
+ public:
+ # shared_by_wallabag: "This article has been shared by <a href='%wallabag_instance%'>wallabag</a>"
about:
page_title: 'درباره'
url_label: 'Url'
is_public_label: 'Public'
save_label: 'Enregistrer'
+ public:
+ shared_by_wallabag: "Cet article a été partagé par <a href='%wallabag_instance%'>wallabag</a>"
about:
page_title: 'À propos'
url_label: 'Url'
is_public_label: 'Pubblico'
save_label: 'Salva'
+ public:
+ # shared_by_wallabag: "This article has been shared by <a href='%wallabag_instance%'>wallabag</a>"
about:
page_title: 'About'
url_label: 'Url'
is_public_label: 'Public'
save_label: 'Enregistrar'
+ public:
+ # shared_by_wallabag: "This article has been shared by <a href='%wallabag_instance%'>wallabag</a>"
about:
page_title: 'A prepaus'
url_label: 'Adres URL'
is_public_label: 'Publiczny'
save_label: 'Zapisz'
+ public:
+ # shared_by_wallabag: "This article has been shared by <a href='%wallabag_instance%'>wallabag</a>"
about:
page_title: 'O nas'
import: 'Skonfigurować import'
first_steps:
title: 'Pierwsze kroki'
- description: "Teraz wallabag jest poprawnie skonfigurowany, więc czas zarchiwizować Internet. Klinknij w prawym górnym rogu na znak +, aby dodać link"
+ description: "Teraz wallabag jest poprawnie skonfigurowany, więc czas zarchiwizować Internet. Klinknij w prawym górnym rogu na znak +, aby dodać link"
new_article: 'Zapisz swój pierwszy artukuł'
unread_articles: 'I sklasyfikuj go!'
migrate:
url_label: 'Url'
# is_public_label: 'Public'
save_label: 'Salvează'
+ public:
+ # shared_by_wallabag: "This article has been shared by <a href='%wallabag_instance%'>wallabag</a>"
about:
page_title: 'Despre'
url_label: 'Url'
is_public_label: 'Herkes tarafından erişime açık olsun mu?'
save_label: 'Kaydet'
+ public:
+ # shared_by_wallabag: "This article has been shared by <a href='%wallabag_instance%'>wallabag</a>"
about:
page_title: 'Hakkımızda'
width: 600px;
}
</style>
+ <meta property="og:title" content="{{ entry.title | raw }}" />
+ <meta property="og:type" content="article" />
+ <meta property="og:url" content="{{ app.request.uri }}" />
+ {% if entry.previewPicture is not null %}
+ <meta property="og:image" content="{{ entry.previewPicture }}" />
+ {% else %}
+ <meta property="og:image" content="{{ app.request.schemeAndHttpHost }}{{ asset('bundles/wallabagcore/themes/_global/img/logo-other_themes.png') }}" />
+ {% endif %}
</head>
<body>
<header>
<h1>{{ entry.title | raw }}</h1>
- <span><a href="{{ entry.url|e }}" target="_blank" title="{{ 'entry.view.original_article'|trans }} : {{ entry.title|e }}" class="tool">{{ entry.domainName|removeWww }}</a></span>
+ <div><a href="{{ entry.url|e }}" target="_blank" title="{{ 'entry.view.original_article'|trans }} : {{ entry.title|e }}" class="tool">{{ entry.domainName|removeWww }}</a></div>
+ <div>{{ "entry.public.shared_by_wallabag"|trans({'%wallabag_instance%': url('homepage')})|raw }}</div>
</header>
<article>
{{ entry.content | raw }}
<br/>
{{ form_widget(edit_form.save, {'attr': {'class': 'btn waves-effect waves-light'}}) }}
- {{ form_rest(edit_form) }}
+ {{ form_widget(edit_form._token) }}
</form>
<p>
{{ form_start(delete_form) }}
$this->assertCount(2, $crawler->filter('div[class=entry]'));
}
- public function testCache()
+ public function testShareEntryPublicly()
{
$this->logInAs('admin');
$client = $this->getClient();
$this->assertContains('public', $client->getResponse()->headers->get('cache-control'));
$this->assertContains('s-maxage=25200', $client->getResponse()->headers->get('cache-control'));
$this->assertNotContains('no-cache', $client->getResponse()->headers->get('cache-control'));
+ $this->assertContains('og:title', $client->getResponse()->getContent());
+ $this->assertContains('og:type', $client->getResponse()->getContent());
+ $this->assertContains('og:url', $client->getResponse()->getContent());
+ $this->assertContains('og:image', $client->getResponse()->getContent());
// sharing is now disabled
$client->getContainer()->get('craue_config')->set('share_public', 0);
// Create a new user in the database
$crawler = $client->request('GET', '/users/');
- $this->assertEquals(200, $client->getResponse()->getStatusCode(), "Unexpected HTTP status code for GET /users/");
+ $this->assertEquals(200, $client->getResponse()->getStatusCode(), 'Unexpected HTTP status code for GET /users/');
$crawler = $client->click($crawler->selectLink('user.list.create_new_one')->link());
// Fill in the form and submit it