Compare commits

..

25 Commits
1.3.0 ... 1.3.1

Author SHA1 Message Date
b4b22940df Merge pull request #387 from inthepoche/dev
poche 1.3.1
2014-01-07 04:20:23 -08:00
e1cf0fda27 [add] user_agent in file_get_contents 2014-01-07 13:15:43 +01:00
f41d00ed8a Merge branch 'dev' of https://github.com/inthepoche/poche into dev 2014-01-07 13:13:30 +01:00
d866e8be91 [change] poche logo is now at SVG format, see #373 2014-01-07 13:13:24 +01:00
be4c8197eb Merge pull request #381 from tcitworld/dev
Flattr Class : Bug 359
2014-01-06 10:07:29 -08:00
fcb5fd27e2 [change] update poche version in compatibility test file 2014-01-06 08:32:28 +01:00
9c9b226589 Merge pull request #382 from aaa2000/table_tags_entries_already_exists
Create sqlite table tags_entries only if not already exists
2014-01-05 10:39:44 -08:00
a562e3905a Create sqlite table tags_entries only if not already exists 2014-01-05 15:03:05 +01:00
607e12b4f2 Fixes bug 359 2014-01-04 21:50:08 +01:00
7f66783976 Merge pull request #1 from inthepoche/dev
Dev
2014-01-04 12:30:31 -08:00
2abcccb371 Merge branch 'dev' of https://github.com/inthepoche/poche into dev 2014-01-03 15:18:32 +01:00
9bc32632af [fix] #375 Readability.com changed its export format 2014-01-03 15:18:13 +01:00
52e3f58c72 Merge pull request #380 from F1reF0x/dev
Change Permissions in pochePictures.php
2014-01-03 02:20:40 -08:00
b5c1ed1227 Change Permissions in pochePictures.php
Stored Pictures are not accessible (on my server), when permission is set to 0705, but instead, when using 0755 (or for example to 0715) all is working as expected. So maybe it would be good, considering in changing the permission of created directories in the assets directory
2014-01-03 11:17:15 +01:00
4d058d4824 [fix] code display when printing a page was buggy 2014-01-03 10:33:01 +01:00
cb4fba5a33 [del] remove inthepoche.com config file, website has changed 2014-01-03 10:22:12 +01:00
4a84d94e91 [add] config file for interviewmagazine.com 2014-01-03 10:21:18 +01:00
0b57c6825a [fix] bugs #374 and #376 - encoding in rss 2014-01-03 10:15:05 +01:00
529db4861d Merge branch 'dev' of https://github.com/inthepoche/poche into dev 2014-01-03 10:06:33 +01:00
9de34d4e84 [fix] error in query to get entries and tags 2014-01-03 10:06:26 +01:00
d7ad5d6560 Merge pull request #379 from williamtheaker/dev
Minor changes to tag edit and config pages
2014-01-02 21:54:50 -08:00
aeea7c6af0 Updated config page 2014-01-02 21:15:41 -05:00
b1bfd4cb0c Updated tag edit page 2014-01-02 21:04:56 -05:00
2eb111a300 Merge pull request #370 from DmitrySandalov/dev
docs link, typos
2013-12-28 05:04:45 -08:00
76e487cd7e docs link, typos 2013-12-28 11:47:10 +04:00
33 changed files with 117 additions and 103 deletions

View File

@ -14,12 +14,12 @@ class FlattrItem {
$flattrResponse = file_get_contents(CACHE . "/flattr/".$id.".cache");
if($flattrResponse != FALSE) {
$result = json_decode($flattrResponse);
if (isset($result->message)){
if (isset($result->message)){
if ($result->message == "flattrable") {
$this->status = FLATTRABLE;
}
}
elseif ($result->link) {
elseif (is_object($result) && $result->link) {
$this->status = FLATTRED;
$this->flattrItemURL = $result->link;
$this->numflattrs = $result->flattrs;

View File

@ -0,0 +1,4 @@
title: //title
body: //div[contains(@class, 'block')]
test_url: http://www.interviewmagazine.com/film/spike-jonze

View File

@ -1,7 +0,0 @@
title: //title
body: //div[@class='post-content']
prune: no
tidy: no
test_url: http://www.inthepoche.com/?post/poche-hosting

View File

@ -81,7 +81,7 @@ class Database {
if (STORAGE == 'sqlite') {
$sql = '
CREATE TABLE tags_entries (
CREATE TABLE IF NOT EXISTS tags_entries (
id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL UNIQUE,
entry_id INTEGER,
tag_id INTEGER,
@ -337,7 +337,7 @@ class Database {
public function retrieveEntriesByTag($tag_id) {
$sql =
"SELECT * FROM entries
"SELECT entries.* FROM entries
LEFT JOIN tags_entries ON tags_entries.entry_id=entries.id
WHERE tags_entries.tag_id = ?";
$query = $this->executeQuery($sql, array($tag_id));
@ -348,7 +348,7 @@ class Database {
public function retrieveTagsByEntry($entry_id) {
$sql =
"SELECT * FROM tags
"SELECT tags.* FROM tags
LEFT JOIN tags_entries ON tags_entries.tag_id=tags.id
WHERE tags_entries.entry_id = ?";
$query = $this->executeQuery($sql, array($entry_id));

View File

@ -333,7 +333,9 @@ class Poche
switch ($action)
{
case 'add':
$json = file_get_contents(Tools::getPocheUrl() . '/inc/3rdparty/makefulltextfeed.php?url='.urlencode($url->getUrl()).'&max=5&links=preserve&exc=&format=json&submit=Create+Feed');
$options = array('http' => array('user_agent' => 'poche'));
$context = stream_context_create($options);
$json = file_get_contents(Tools::getPocheUrl() . '/inc/3rdparty/makefulltextfeed.php?url='.urlencode($url->getUrl()).'&max=5&links=preserve&exc=&format=json&submit=Create+Feed', false, $context);
$content = json_decode($json, true);
$title = $content['rss']['channel']['item']['title'];
$body = $content['rss']['channel']['item']['description'];
@ -806,34 +808,37 @@ class Poche
$url = NULL;
$favorite = FALSE;
$archive = FALSE;
foreach ($value as $attr => $attr_value) {
if ($attr == 'article__url') {
$url = new Url(base64_encode($attr_value));
}
$sequence = '';
if (STORAGE == 'postgres') {
$sequence = 'entries_id_seq';
}
if ($attr_value == 'true') {
if ($attr == 'favorite') {
$favorite = TRUE;
foreach ($value as $item) {
foreach ($item as $attr => $value) {
if ($attr == 'article__url') {
$url = new Url(base64_encode($value));
}
if ($attr == 'archive') {
$archive = TRUE;
$sequence = '';
if (STORAGE == 'postgres') {
$sequence = 'entries_id_seq';
}
if ($value == 'true') {
if ($attr == 'favorite') {
$favorite = TRUE;
}
if ($attr == 'archive') {
$archive = TRUE;
}
}
}
}
# we can add the url
if (!is_null($url) && $url->isCorrect()) {
$this->action('add', $url, 0, TRUE);
$count++;
if ($favorite) {
$last_id = $this->store->getLastId($sequence);
$this->action('toggle_fav', $url, $last_id, TRUE);
}
if ($archive) {
$last_id = $this->store->getLastId($sequence);
$this->action('toggle_archive', $url, $last_id, TRUE);
# we can add the url
if (!is_null($url) && $url->isCorrect()) {
$this->action('add', $url, 0, TRUE);
$count++;
if ($favorite) {
$last_id = $this->store->getLastId($sequence);
$this->action('toggle_fav', $url, $last_id, TRUE);
}
if ($archive) {
$last_id = $this->store->getLastId($sequence);
$this->action('toggle_archive', $url, $last_id, TRUE);
}
}
}
}
@ -951,7 +956,7 @@ class Poche
if (count($entries) > 0) {
foreach ($entries as $entry) {
$newItem = $feed->createNewItem();
$newItem->setTitle(htmlentities($entry['title']));
$newItem->setTitle($entry['title']);
$newItem->setLink(Tools::getPocheUrl() . '?view=view&id=' . $entry['id']);
$newItem->setDate(time());
$newItem->setDescription($entry['content']);

View File

@ -84,12 +84,12 @@ function create_assets_directory($id)
{
$assets_path = ABS_PATH;
if(!is_dir($assets_path)) {
mkdir($assets_path, 0705);
mkdir($assets_path, 0715);
}
$article_directory = $assets_path . $id;
if(!is_dir($article_directory)) {
mkdir($article_directory, 0705);
mkdir($article_directory, 0715);
}
return $article_directory;
@ -107,4 +107,4 @@ function remove_directory($directory)
}
return rmdir($directory);
}
}
}

View File

@ -73,7 +73,7 @@ msgstr "Importovat"
msgid "Please execute the import script locally, it can take a very long time."
msgstr "Spusťte importní skript lokálně, může to dlouho trvat."
msgid "More infos in the official doc:"
msgid "More info in the official doc:"
msgstr "Více informací v oficiální dokumentaci:"
msgid "import from Pocket"
@ -85,13 +85,13 @@ msgstr "importovat z Readability"
msgid "import from Instapaper"
msgstr "importovat z Instapaper"
msgid "Export your poche datas"
msgid "Export your poche data"
msgstr "Export dat"
msgid "Click here"
msgstr "Klikněte zde"
msgid "to export your poche datas."
msgid "to export your poche data."
msgstr "pro export vašich dat."
msgid "back to home"
@ -105,11 +105,11 @@ msgstr "instalovat"
msgid ""
"poche is still not installed. Please fill the below form to install it. "
"Don't hesitate to <a href='http://inthepoche.com/doc'>read the documentation "
"Don't hesitate to <a href='http://doc.inthepoche.com'>read the documentation "
"on poche website</a>."
msgstr ""
"poche ještě není nainstalováno. Pro instalaci vyplňte níže uvedený formulář. "
"Nezapomeňte <a href='http://inthepoche.com/doc'>si přečíst dokumentaci</a> "
"Nezapomeňte <a href='http://doc.inthepoche.com'>si přečíst dokumentaci</a> "
"na stránkách programu."
msgid "Login"

View File

@ -67,7 +67,7 @@ msgstr "Import"
msgid "Please execute the import script locally, it can take a very long time."
msgstr "Bitte führe das Import Script lokal aus, dies kann eine Weile dauern."
msgid "More infos in the official doc:"
msgid "More info in the official doc:"
msgstr "Mehr Informationen in der offiziellen Dokumentation:"
msgid "import from Pocket"
@ -79,13 +79,13 @@ msgstr "Import aus Readability"
msgid "import from Instapaper"
msgstr "Import aus Instapaper"
msgid "Export your poche datas"
msgid "Export your poche data"
msgstr "Exportieren Sie Ihre Poche Daten."
msgid "Click here"
msgstr "Klicke hier"
msgid "to export your poche datas."
msgid "to export your poche data."
msgstr "um deine Daten aus Poche zu exportieren."
msgid "back to home"
@ -99,7 +99,7 @@ msgstr "Installiere dein Poche"
msgid ""
"poche is still not installed. Please fill the below form to install it. "
"Don't hesitate to <a href='http://inthepoche.com/doc'>read the documentation "
"Don't hesitate to <a href='http://doc.inthepoche.com'>read the documentation "
"on poche website</a>."
msgstr ""
"Poche ist noch nicht installiert. Bitte fülle die Felder unten aus, um die "

View File

@ -68,8 +68,8 @@ msgid "Please execute the import script locally, it can take a very long time."
msgstr ""
"Please execute the import script locally, it can take a very long time."
msgid "More infos in the official doc:"
msgstr "More infos in the official doc:"
msgid "More info in the official doc:"
msgstr "More info in the official doc:"
msgid "import from Pocket"
msgstr "import from Pocket"
@ -80,14 +80,14 @@ msgstr "import from Readability"
msgid "import from Instapaper"
msgstr "import from Instapaper"
msgid "Export your poche datas"
msgstr "Export your poche datas"
msgid "Export your poche data"
msgstr "Export your poche data"
msgid "Click here"
msgstr "Click here"
msgid "to export your poche datas."
msgstr "to export your poche datas."
msgid "to export your poche data."
msgstr "to export your poche data."
msgid "back to home"
msgstr "back to home"
@ -100,11 +100,11 @@ msgstr "install your poche"
msgid ""
"poche is still not installed. Please fill the below form to install it. "
"Don't hesitate to <a href='http://inthepoche.com/doc'>read the documentation "
"Don't hesitate to <a href='http://doc.inthepoche.com'>read the documentation "
"on poche website</a>."
msgstr ""
"poche is still not installed. Please fill the below form to install it. "
"Don't hesitate to <a href='http://inthepoche.com/doc'>read the documentation "
"Don't hesitate to <a href='http://doc.inthepoche.com'>read the documentation "
"on poche website</a>."
msgid "Login"

View File

@ -68,7 +68,7 @@ msgid "Please execute the import script locally, it can take a very long time."
msgstr ""
"Por favor, ejecute la importación en local, esto puede demorar un tiempo."
msgid "More infos in the official doc:"
msgid "More info in the official doc:"
msgstr "Más información en la documentación oficial :"
msgid "import from Pocket"
@ -80,13 +80,13 @@ msgstr "importación desde Readability"
msgid "import from Instapaper"
msgstr "importación desde Instapaper"
msgid "Export your poche datas"
msgid "Export your poche data"
msgstr "Exportar sus datos de poche"
msgid "Click here"
msgstr "Haga clic aquí"
msgid "to export your poche datas."
msgid "to export your poche data."
msgstr "para exportar sus datos de poche."
msgid "back to home"
@ -100,11 +100,11 @@ msgstr "instala tu Poche"
msgid ""
"Poche is still not installed. Please fill the below form to install it. "
"Don't hesitate to <a href='http://inthepoche.com/doc'>read the documentation "
"Don't hesitate to <a href='http://doc.inthepoche.com'>read the documentation "
"on poche website</a>."
msgstr ""
"Poche todavia no està instalado. Por favor, completa los campos siguientes "
"para instalarlo. No dudes de <a href='http://inthepoche.com/doc'>leer la "
"para instalarlo. No dudes de <a href='http://doc.inthepoche.com'>leer la "
"documentación en el sitio de Poche</a>."
msgid "Login"

View File

@ -67,7 +67,7 @@ msgstr "درون‌ریزی"
msgid "Please execute the import script locally, it can take a very long time."
msgstr "لطفاً برنامهٔ درون‌ریزی را به‌طور محلی اجرا کنید، شاید خیلی طول بکشد."
msgid "More infos in the official doc:"
msgid "More info in the official doc:"
msgstr "اطلاعات بیشتر در راهنمای رسمی:"
msgid "import from Pocket"
@ -79,13 +79,13 @@ msgstr "درون‌ریزی از Readability"
msgid "import from Instapaper"
msgstr "درون‌ریزی از Instapaper"
msgid "Export your poche datas"
msgid "Export your poche data"
msgstr "داده‌های poche خود را برون‌بری کنید"
msgid "Click here"
msgstr "اینجا را کلیک کنید"
msgid "to export your poche datas."
msgid "to export your poche data."
msgstr "برای برون‌بری داده‌های poche شما"
msgid "back to home"
@ -99,11 +99,11 @@ msgstr "poche خود را نصب کنید"
msgid ""
"poche is still not installed. Please fill the below form to install it. "
"Don't hesitate to <a href='http://inthepoche.com/doc'>read the documentation "
"Don't hesitate to <a href='http://doc.inthepoche.com'>read the documentation "
"on poche website</a>."
msgstr ""
"poche هنوز نصب نیست. برای نصب لطفاً فرم زیر را پر کنید. خواندن <a "
"href='http://inthepoche.com/doc'>راهنما در وبگاه poche</a> را از یاد نبرید."
"href='http://doc.inthepoche.com'>راهنما در وبگاه poche</a> را از یاد نبرید."
msgid "Login"
msgstr "ورود"

View File

@ -67,7 +67,7 @@ msgstr "Importer"
msgid "Please execute the import script locally, it can take a very long time."
msgstr "Merci d'exécuter l'import en local, cela peut prendre du temps."
msgid "More infos in the official doc:"
msgid "More info in the official doc:"
msgstr "Plus d'infos sur la documentation officielle"
msgid "import from Pocket"
@ -79,13 +79,13 @@ msgstr "import depuis Readability"
msgid "import from Instapaper"
msgstr "import depuis Instapaper"
msgid "Export your poche datas"
msgid "Export your poche data"
msgstr "Exporter vos données de poche"
msgid "Click here"
msgstr "Cliquez-ici"
msgid "to export your poche datas."
msgid "to export your poche data."
msgstr "pour exporter vos données de poche."
msgid "back to home"
@ -99,11 +99,11 @@ msgstr "installez votre poche"
msgid ""
"poche is still not installed. Please fill the below form to install it. "
"Don't hesitate to <a href='http://inthepoche.com/doc'>read the documentation "
"Don't hesitate to <a href='http://doc.inthepoche.com'>read the documentation "
"on poche website</a>."
msgstr ""
"poche n'est pas encore installé. Merci de remplir le formulaire suivant pour "
"l'installer. N'hésitez pas à <a href='http://inthepoche.com/doc'>lire la "
"l'installer. N'hésitez pas à <a href='http://doc.inthepoche.com'>lire la "
"documentation sur le site de poche</a>."
msgid "Login"

View File

@ -75,7 +75,7 @@ msgstr ""
"Si prega di eseguire lo script di importazione a livello locale, può "
"richiedere un tempo molto lungo."
msgid "More infos in the official doc:"
msgid "More info in the official doc:"
msgstr "Maggiori info nella documentazione ufficiale"
msgid "import from Pocket"
@ -87,13 +87,13 @@ msgstr "Importa da Readability"
msgid "import from Instapaper"
msgstr "Importa da Instapaper"
msgid "Export your poche datas"
msgid "Export your poche data"
msgstr "Esporta i tuoi dati di poche"
msgid "Click here"
msgstr "Fai clic qui"
msgid "to export your poche datas."
msgid "to export your poche data."
msgstr "per esportare i tuoi dati di poche."
msgid "back to home"
@ -107,11 +107,11 @@ msgstr "installa il tuo poche"
msgid ""
"poche is still not installed. Please fill the below form to install it. "
"Don't hesitate to <a href='http://inthepoche.com/doc'>read the documentation "
"Don't hesitate to <a href='http://doc.inthepoche.com'>read the documentation "
"on poche website</a>."
msgstr ""
"poche non è ancora installato. Si prega di riempire il modulo sottostante "
"per completare l'installazione. <a href='http://inthepoche.com/doc'>Leggere "
"per completare l'installazione. <a href='http://doc.inthepoche.com'>Leggere "
"la documentazione sul sito di poche</a>."
msgid "Login"

View File

@ -68,7 +68,7 @@ msgid "Please execute the import script locally, it can take a very long time."
msgstr ""
"Выполните сценарий импорта локально - он может занять слишком много времени."
msgid "More infos in the official doc:"
msgid "More info in the official doc:"
msgstr "Больше сведений в официальной документации:"
msgid "import from Pocket"
@ -80,13 +80,13 @@ msgstr "импортировать из Readability"
msgid "import from Instapaper"
msgstr "импортировать из Instapaper"
msgid "Export your poche datas"
msgid "Export your poche data"
msgstr "Экспортировать данные poche"
msgid "Click here"
msgstr "Кликни сюда"
msgid "to export your poche datas."
msgid "to export your poche data."
msgstr "чтобы экспортировать твои записи из poche."
msgid "back to home"
@ -100,11 +100,11 @@ msgstr "установить твой poche"
msgid ""
"poche is still not installed. Please fill the below form to install it. "
"Don't hesitate to <a href='http://inthepoche.com/doc'>read the documentation "
"Don't hesitate to <a href='http://doc.inthepoche.com'>read the documentation "
"on poche website</a>."
msgstr ""
"poche всё ещё не установлен. Надо заполнить форму ниже, чтобы установить "
"его. Неплохо также <a href='http://inthepoche.com/doc'>прочесть документацию "
"его. Неплохо также <a href='http://doc.inthepoche.com'>прочесть документацию "
"на сайте poche</a>."
msgid "Login"

View File

@ -1,5 +1,5 @@
<?php
$app_name = 'poche 1.0';
$app_name = 'poche 1.3';
$php_ok = (function_exists('version_compare') && version_compare(phpversion(), '5.3.3', '>='));
$pcre_ok = extension_loaded('pcre');

View File

@ -24,7 +24,7 @@ That's all !
## create a theme
Just have a look to this short documentation : http://inthepoche.com/doc/doku.php?id=designers:creating_theme
Just have a look to this short documentation : http://doc.inthepoche.com/doku.php?id=designers:creating_theme
## send a theme

View File

@ -1,6 +1,6 @@
<header class="w600p center mbm">
<h1>
{% if view == 'home' %}{% block logo %}<img src="{{ poche_url }}/themes/{{ constant('DEFAULT_THEME') }}/img/logo.png" alt="logo poche" />{% endblock %}
{% if view == 'home' %}{% block logo %}<img src="{{ poche_url }}/themes/{{ constant('DEFAULT_THEME') }}/img/logo.svg" alt="logo poche" />{% endblock %}
{% else %}<a href="./" title="{% trans "return home" %}" >{{ block('logo') }}</a>
{% endif %}
</h1>

View File

@ -6,11 +6,11 @@
{% endblock %}
{% block content %}
<h2>{% trans "Poching links" %}</h2>
<p>{% trans "There are several ways to poche a link::" %} (<a href="http://doc.inthepoche.com/" title="{% trans "read the documentation" %}">?</a>)</p>
<p>{% trans "There are several ways to poche a link:" %} (<a href="http://doc.inthepoche.com/" title="{% trans "read the documentation" %}">?</a>)</p>
<ul>
<li>Firefox: <a href="https://addons.mozilla.org/firefox/addon/poche/" title="download the firefox extension">{% trans "download the extension" %}</a></li>
<li>Chrome: <a href="http://doc.inthepoche.com/doku.php?id=users:chrome_extension" title="download the chrome extension">{% trans "download the extension" %}</a></li>
<li>Android: <a href="https://f-droid.org/repository/browse/?fdid=fr.gaulupeau.apps.Poche" title="download the application">{% trans "via f-droid" %}</a> {% trans " or " %} <a href="https://play.google.com/store/apps/details?id=fr.gaulupeau.apps.InThePoche" title="download the application">{% trans "via Google Play" %}</a></li>
<li>Android: <a href="https://f-droid.org/repository/browse/?fdid=fr.gaulupeau.apps.Poche" title="download the application">{% trans "via F-Droid" %}</a> {% trans " or " %} <a href="https://play.google.com/store/apps/details?id=fr.gaulupeau.apps.InThePoche" title="download the application">{% trans "via Google Play" %}</a></li>
<li>Windows Phone: <a href="https://www.windowsphone.com/en-us/store/app/poche/334de2f0-51b5-4826-8549-a3d805a37e83" title="download the window phone application">{% trans "download the application" %}</a></li>
<li>
<form method="get" action="index.php">
@ -31,12 +31,12 @@
<h2>{% trans "Feeds" %}</h2>
{% if token == '' %}
<p>{% trans "The token is empty, you have to generate it to use feeds. Click <a href='?feed&amp;action=generate'>here to generate it</a>." %}</p>
<p>{% trans "Your feed token is currently empty and must first be generated to enable feeds. Click <a href='?feed&amp;action=generate'>here to generate it</a>." %}</p>
{% else %}
<ul>
<li><a href="?feed&amp;type=home&amp;user_id={{ user_id }}&amp;token={{ token }}" target="_blank">{% trans "unread feed" %}</a></li>
<li><a href="?feed&amp;type=fav&amp;user_id={{ user_id }}&amp;token={{ token }}" target="_blank">{% trans "favorites feed" %}</a></li>
<li><a href="?feed&amp;type=archive&amp;user_id={{ user_id }}&amp;token={{ token }}" target="_blank">{% trans "archive feed" %}</a></li>
<li><a href="?feed&amp;type=home&amp;user_id={{ user_id }}&amp;token={{ token }}" target="_blank">{% trans "Unread feed" %}</a></li>
<li><a href="?feed&amp;type=fav&amp;user_id={{ user_id }}&amp;token={{ token }}" target="_blank">{% trans "Favorites feed" %}</a></li>
<li><a href="?feed&amp;type=archive&amp;user_id={{ user_id }}&amp;token={{ token }}" target="_blank">{% trans "Archive feed" %}</a></li>
</ul>
<p>{% trans "You can regenerate your token: <a href='?feed&amp;action=generate'>generate!</a>." %}</p>
{% endif %}
@ -101,12 +101,12 @@
{% endif %}
<h2>{% trans "Import" %}</h2>
<p>{% trans "Please execute the import script locally, it can take a very long time." %}</p>
<p>{% trans "More info in the official docs:" %} <a href="http://doc.inthepoche.com/">inthepoche.com</a></p>
<p>{% trans "Please execute the import script locally as it can take a very long time." %}</p>
<p>{% trans "More info in the official docs:" %} <a href="http://doc.inthepoche.com/doku.php?id=users:migrate">inthepoche.com</a></p>
<ul>
<li><a href="./?import&amp;from=pocket">{% trans "import from Pocket" %}</a> {{ '(you must have a %s file on your server)'|trans|format(constant('POCKET_FILE')) }}</li>
<li><a href="./?import&amp;from=readability">{% trans "import from Readability" %}</a> {{ '(you must have a %s file on your server)'|trans|format(constant('READABILITY_FILE')) }}</li>
<li><a href="./?import&amp;from=instapaper">{% trans "import from Instapaper" %}</a> {{ '(you must have a %s file on your server)'|trans|format(constant('INSTAPAPER_FILE')) }}</li>
<li><a href="./?import&amp;from=pocket">{% trans "Import from Pocket" %}</a> {{ '(you must have a %s file on your server)'|trans|format(constant('POCKET_FILE')) }}</li>
<li><a href="./?import&amp;from=readability">{% trans "Import from Readability" %}</a> {{ '(you must have a %s file on your server)'|trans|format(constant('READABILITY_FILE')) }}</li>
<li><a href="./?import&amp;from=instapaper">{% trans "Import from Instapaper" %}</a> {{ '(you must have a %s file on your server)'|trans|format(constant('INSTAPAPER_FILE')) }}</li>
</ul>
<h2>{% trans "Export your poche data" %}</h2>

View File

@ -33,6 +33,10 @@ article {
border: none !important;
}
pre code {
line-height: 1.6em;
}
/* Add URL after links */
.vieworiginal a:after {
content: " (" attr(href) ")";

View File

@ -11,10 +11,10 @@ no tags
{% for tag in tags %}<li>{{ tag.value }} <a href="./?action=remove_tag&amp;tag_id={{ tag.id }}&amp;id={{ entry_id }}">✘</a></li>{% endfor %}
</ul>
<form method="post" action="./?action=add_tag">
<label for="value">New tags: </label><input type="text" id="value" name="value" required="required" />
<p>{% trans "you can type several tags, separated by comma" %}</p>
<label for="value">Add tags: </label><input type="text" placeholder="interview, editorial, video" id="value" name="value" required="required" />
<p>{% trans "You can enter multiple tags, separated by commas." %}</p>
<input type="hidden" name="entry_id" value="{{ entry_id }}" />
<input type="submit" value="add tags" />
<input type="submit" value="Tag" />
</form>
<a href="./?view=view&id={{ entry_id }}">{% trans "back to the article" %}</a>
{% endblock %}
<a href="./?view=view&id={{ entry_id }}">{% trans "return to article" %}</a>
{% endblock %}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.2 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.0 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="64" height="64">
<circle cx="32" cy="32" r="29.5" style="fill:#000" />
<path d="m 16,18 33,0 0,26 -16.5,6 -16.5,-6 z" fill="#fff" />
<rect width="9" height="2.5" x="17.5" y="24.5" fill="#000" />
<rect width="9" height="2.5" x="28" y="24.5" fill="#000" />
<rect width="9" height="2.5" x="38.5" y="24.5" fill="#000" />
</svg>

After

Width:  |  Height:  |  Size: 444 B