aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/baggy/config.twig
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2014-02-28 21:49:38 +0100
committerNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2014-02-28 21:49:38 +0100
commit53e3158dfe697ea59da1fa0e401e8da75ae13030 (patch)
tree60cac2249e5ebedc7b87f33025048f3b66490ab3 /themes/baggy/config.twig
parent31a10069a52c2fd2aca3a835a7bdc1accae197f5 (diff)
downloadwallabag-53e3158dfe697ea59da1fa0e401e8da75ae13030.tar.gz
wallabag-53e3158dfe697ea59da1fa0e401e8da75ae13030.tar.zst
wallabag-53e3158dfe697ea59da1fa0e401e8da75ae13030.zip
[add] cron to fetch content on imported entries
Diffstat (limited to 'themes/baggy/config.twig')
-rw-r--r--themes/baggy/config.twig8
1 files changed, 8 insertions, 0 deletions
diff --git a/themes/baggy/config.twig b/themes/baggy/config.twig
index 4026bf28..8f35d797 100644
--- a/themes/baggy/config.twig
+++ b/themes/baggy/config.twig
@@ -125,6 +125,14 @@
125 <li><a href="./?import&amp;from=poche">{% trans "Import from wallabag" %}</a> {{ '(after uploaded %s file)'|trans|format(constant('POCHE_FILE')) }}</li> 125 <li><a href="./?import&amp;from=poche">{% trans "Import from wallabag" %}</a> {{ '(after uploaded %s file)'|trans|format(constant('POCHE_FILE')) }}</li>
126 </ul> 126 </ul>
127 127
128 {% if token == '' %}
129 <p>{% trans "3. Your feed token is currently empty and must first be generated to fetch content. Click <a href='?feed&amp;action=generate'>here to generate it</a>." %}</p>
130 {% else %}
131 <p>3. {% trans "You can fetch content for imported items." %} <a href="cron.php?limit=10&amp;user-id={{ user_id }}&amp;token={{token}}" target="_blank">Click here</a> to fetch content for 10 articles.</p>
132 <p>{% trans "You can also create a cron task:" %}</p>
133 <pre><code>0 */4 * * * cd /path/to/wallabag && php cron.php --limit=10 --user-id={{user_id}} --token={{token}} >/dev/null 2>&1</code></pre>
134 {% endif %}
135
128 <h2>{% trans "Export your wallabag data" %}</h2> 136 <h2>{% trans "Export your wallabag data" %}</h2>
129 {% if constant('STORAGE') == 'sqlite' %} 137 {% if constant('STORAGE') == 'sqlite' %}
130 <p><a href="?download" target="_blank">{% trans "Click here" %}</a> {% trans "to download your database." %}</p>{% endif %} 138 <p><a href="?download" target="_blank">{% trans "Click here" %}</a> {% trans "to download your database." %}</p>{% endif %}