mirror of
https://github.com/moparisthebest/wallabag
synced 2024-11-23 17:42:15 -05:00
Merge pull request #535 from bobmaerten/clarify-import-process
Changed config section to clarify import process.
This commit is contained in:
commit
d47a05a9a5
@ -105,7 +105,8 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<h2>{% trans "Import" %}</h2>
|
<h2>{% trans "Import" %}</h2>
|
||||||
<p>1. {% trans "Select a file on your computer and upload it." %}</p>
|
<p>{% 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." %}</p>
|
||||||
|
<p>1. {% trans "First, select the export file on your computer and upload it." %}</p>
|
||||||
<form method="post" action="?uploadfile" name="uploadfile" enctype="multipart/form-data">
|
<form method="post" action="?uploadfile" name="uploadfile" enctype="multipart/form-data">
|
||||||
<fieldset class="w500p">
|
<fieldset class="w500p">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
@ -130,8 +131,8 @@
|
|||||||
{% if token == '' %}
|
{% if token == '' %}
|
||||||
<p>{% trans "3. Your feed token is currently empty and must first be generated to fetch content. Click <a href='?feed&action=generate'>here to generate it</a>." %}</p>
|
<p>{% trans "3. Your feed token is currently empty and must first be generated to fetch content. Click <a href='?feed&action=generate'>here to generate it</a>." %}</p>
|
||||||
{% else %}
|
{% else %}
|
||||||
<p>3. {% trans "You can fetch content for imported items." %} <a href="cron.php?limit=10&user-id={{ user_id }}&token={{token}}" target="_blank">Click here</a> to fetch content for 10 articles.</p>
|
<p>3. {% trans "Finaly, you have to fetch content for imported items." %} <a href="cron.php?limit=10&user-id={{ user_id }}&token={{token}}" target="_blank">{% trans "Click here" %}</a> {% trans "to fetch content for 10 articles" %}.</p>
|
||||||
<p>{% trans "You can also create a cron task:" %}</p>
|
<p>{% trans "If you have console access to your server, you can also create a cron task:" %}</p>
|
||||||
<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>
|
<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>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user