{* SPDX-FileCopyrightText: © 2024 Olivier Meunier SPDX-License-Identifier: AGPL-3.0-only *} {{ extends "./base" }} {{ import "/_libs/forms"}} {{- block title() -}}{{ gettext("Import your Pocket Articles") }}{{- end -}} {{- block mainContent() -}}

{{ yield title() }}

{{ gettext(` You can export your articles on Pocket by visiting:
%[2]s. `, "link", "https://getpocket.com/export" )|raw }}

{{ gettext(` Upload this file in the form below and Readeck will fetch and save every link found it the file. `) }}

{{- yield message() content -}} {{ gettext(` Please note that Pocket does not allow the article content to be exported. This could lead to different results in Readeck than what you currently see in Pocket. `) }} {{- end -}}
{{ yield formErrors(form=.Form) }} {{- yield fileDropField( field=.Form.Get("data"), required=true, label=gettext("File"), class="field-h", help=gettext("Note: upload the ZIP file directly, not its contents") ) -}} {{ include "./options" }}

{{ gettext("Cancel") }}

{{- end -}}