{% extends "layout.twig" %} {% block title %}{% trans "config" %}{% endblock %} {% block menu %} {% include '_menu.twig' %} {% endblock %} {% block content %}
{% trans "There are several ways to save an article:" %} (?)
{% trans "Your feed token is currently empty and must first be generated to enable feeds. Click here to generate it." %}
{% else %}{% trans "Your token:" %} {{token}}
{% trans "Your user id:" %} {{user_id}}
{% trans "You can regenerate your token: generate!." %}
{% endif %}{% trans "Importing from other services can be quite long, and webservers default configuration often prevents long scripts execution time, so it must be done in multiple parts." %}
1. {% trans "First, select the export file on your computer and upload it." %}
2. {% trans "Then, click on the right link below." %}
{% trans "3. Your feed token is currently empty and must first be generated to fetch content. Click here to generate it." %}
{% else %}3. {% trans "Finally, you have to fetch content for imported items." %} {% trans "Click here" %} {% trans "to fetch content for 10 articles" %}.
{% trans "If you have console access to your server, you can also create a cron task:" %}
0 */4 * * * cd /path/to/wallabag && php cron.php --limit=10 --user-id={{user_id}} --token={{token}} >/dev/null 2>&1
{% endif %}
{% trans "Click here" %} {% trans "to download your database." %}
{% endif %}{% trans "Click here" %} {% trans "to export your wallabag data." %}
{% trans "Click here" %} {% trans "to delete cache." %}
{% endblock %}