From 9c97d8ca729e3cfb067445c0d3c9ad8284132aeb Mon Sep 17 00:00:00 2001 From: eta-orionis <3466670+eta-orionis@users.noreply.github.com> Date: Wed, 10 Jan 2024 08:23:45 +0100 Subject: JSONFeeds, JSON scraping, and POST requests for feeds (#5662) * allow POST requests for feeds * added json dotpath and jsonfeed subscriptions. No translation strings yet * debug and fix jsonfeed parser * bugfix params saved when editing feed * added translations for JSON features * Update docs for web scraping * make fix-all and revert unrelated changes, plus a few manual fixes, but there are still several type errors * Fix some i18n * refactor json parsing for both feed types * cleanup unnecessary comment * refactored generation of SimplePie for XPath and JSON feeds * Fix merge error * Update to newer FreshRSS code * A bit of refactoring * doc, whitespace * JSON Feed is in two words * Add support for array syntax * Whitespace * Add OPML export/import * Work on i18n * Accept application/feed+json * Rework POST * Fix update * OPML for cURL options * Fix types * Fix Typos --------- Co-authored-by: Erion Elmasllari Co-authored-by: Alexandre Alapetite --- app/i18n/cz/sub.php | 44 ++++++++++++++++++++++++++++++++++++++++++++ app/i18n/de/sub.php | 44 ++++++++++++++++++++++++++++++++++++++++++++ app/i18n/el/sub.php | 44 ++++++++++++++++++++++++++++++++++++++++++++ app/i18n/en-us/sub.php | 44 ++++++++++++++++++++++++++++++++++++++++++++ app/i18n/en/sub.php | 44 ++++++++++++++++++++++++++++++++++++++++++++ app/i18n/es/sub.php | 46 +++++++++++++++++++++++++++++++++++++++++++++- app/i18n/fa/sub.php | 44 ++++++++++++++++++++++++++++++++++++++++++++ app/i18n/fr/sub.php | 46 +++++++++++++++++++++++++++++++++++++++++++++- app/i18n/he/sub.php | 44 ++++++++++++++++++++++++++++++++++++++++++++ app/i18n/hu/sub.php | 44 ++++++++++++++++++++++++++++++++++++++++++++ app/i18n/id/sub.php | 44 ++++++++++++++++++++++++++++++++++++++++++++ app/i18n/it/sub.php | 44 ++++++++++++++++++++++++++++++++++++++++++++ app/i18n/ja/sub.php | 44 ++++++++++++++++++++++++++++++++++++++++++++ app/i18n/ko/sub.php | 44 ++++++++++++++++++++++++++++++++++++++++++++ app/i18n/lv/sub.php | 44 ++++++++++++++++++++++++++++++++++++++++++++ app/i18n/nl/sub.php | 44 ++++++++++++++++++++++++++++++++++++++++++++ app/i18n/oc/sub.php | 44 ++++++++++++++++++++++++++++++++++++++++++++ app/i18n/pl/sub.php | 44 ++++++++++++++++++++++++++++++++++++++++++++ app/i18n/pt-br/sub.php | 44 ++++++++++++++++++++++++++++++++++++++++++++ app/i18n/ru/sub.php | 44 ++++++++++++++++++++++++++++++++++++++++++++ app/i18n/sk/sub.php | 44 ++++++++++++++++++++++++++++++++++++++++++++ app/i18n/tr/sub.php | 44 ++++++++++++++++++++++++++++++++++++++++++++ app/i18n/zh-cn/sub.php | 44 ++++++++++++++++++++++++++++++++++++++++++++ app/i18n/zh-tw/sub.php | 44 ++++++++++++++++++++++++++++++++++++++++++++ 24 files changed, 1058 insertions(+), 2 deletions(-) (limited to 'app/i18n') diff --git a/app/i18n/cz/sub.php b/app/i18n/cz/sub.php index 199766ad9..db398a593 100644 --- a/app/i18n/cz/sub.php +++ b/app/i18n/cz/sub.php @@ -121,6 +121,45 @@ return array( 'relative' => 'XPath (vzhledem k položce) pro:', 'xpath' => 'XPath pro:', ), + 'json_dotpath' => array( + '_' => 'JSON (Dotted paths)', // TODO + 'feed_title' => array( + '_' => 'feed title', // TODO + 'help' => 'Example: meta.title or a static string: "My custom feed"', // TODO + ), + 'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. data.items[0].title)', // TODO + 'item' => array( + '_' => 'finding news items
(most important)', // TODO + 'help' => 'JSON path to the array containing the items, e.g. newsItems', // TODO + ), + 'item_author' => 'item author', // TODO + 'item_categories' => 'item tags', // TODO + 'item_content' => array( + '_' => 'item content', // TODO + 'help' => 'Key under which the content is found, e.g. content', // TODO + ), + 'item_thumbnail' => array( + '_' => 'item thumbnail', // TODO + 'help' => 'Example: image', // TODO + ), + 'item_timeFormat' => array( + '_' => 'Custom date/time format', // TODO + 'help' => 'Optional. A format supported by DateTime::createFromFormat() such as d-m-Y H:i:s', // TODO + ), + 'item_timestamp' => array( + '_' => 'item date', // TODO + 'help' => 'The result will be parsed by strtotime()', // TODO + ), + 'item_title' => 'item title', // TODO + 'item_uid' => 'item unique ID', // TODO + 'item_uri' => array( + '_' => 'item link (URL)', // TODO + 'help' => 'Example: permalink', // TODO + ), + 'json' => 'Dotted Path for:', // TODO + 'relative' => 'Dotted Path (relative to item) for:', // TODO + ), + 'jsonfeed' => 'JSON Feed', // TODO 'rss' => 'RSS / Atom (výchozí)', 'xml_xpath' => 'XML + XPath', // TODO ), @@ -133,6 +172,11 @@ return array( ), 'max_http_redir' => 'Maximální počet přesměrování HTTP', 'max_http_redir_help' => 'Nastavte na 0 nebo nechte prázdné pro zakázání, -1 pro neomezené přesměrování.', + 'method' => array( + '_' => 'HTTP Method', // TODO + ), + 'method_help' => 'The POST payload has automatic support for application/x-www-form-urlencoded and application/json', // TODO + 'method_postparams' => 'Payload for POST', // TODO 'moved_category_deleted' => 'Když odstraníte kategorii, její kanály jsou automaticky přesunuty do %s.', 'mute' => 'ztlumit', 'no_selected' => 'Nejsou vybrány žádné kanály.', diff --git a/app/i18n/de/sub.php b/app/i18n/de/sub.php index 51d9669f9..ba6309757 100644 --- a/app/i18n/de/sub.php +++ b/app/i18n/de/sub.php @@ -121,6 +121,45 @@ return array( 'relative' => 'XPath (relativ zum Artikel) für:', 'xpath' => 'XPath für:', ), + 'json_dotpath' => array( + '_' => 'JSON (Dotted paths)', // TODO + 'feed_title' => array( + '_' => 'feed title', // TODO + 'help' => 'Example: meta.title or a static string: "My custom feed"', // TODO + ), + 'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. data.items[0].title)', // TODO + 'item' => array( + '_' => 'finding news items
(most important)', // TODO + 'help' => 'JSON path to the array containing the items, e.g. newsItems', // TODO + ), + 'item_author' => 'item author', // TODO + 'item_categories' => 'item tags', // TODO + 'item_content' => array( + '_' => 'item content', // TODO + 'help' => 'Key under which the content is found, e.g. content', // TODO + ), + 'item_thumbnail' => array( + '_' => 'item thumbnail', // TODO + 'help' => 'Example: image', // TODO + ), + 'item_timeFormat' => array( + '_' => 'Custom date/time format', // TODO + 'help' => 'Optional. A format supported by DateTime::createFromFormat() such as d-m-Y H:i:s', // TODO + ), + 'item_timestamp' => array( + '_' => 'item date', // TODO + 'help' => 'The result will be parsed by strtotime()', // TODO + ), + 'item_title' => 'item title', // TODO + 'item_uid' => 'item unique ID', // TODO + 'item_uri' => array( + '_' => 'item link (URL)', // TODO + 'help' => 'Example: permalink', // TODO + ), + 'json' => 'Dotted Path for:', // TODO + 'relative' => 'Dotted Path (relative to item) for:', // TODO + ), + 'jsonfeed' => 'JSON Feed', // TODO 'rss' => 'RSS / Atom (Standard)', 'xml_xpath' => 'XML + XPath', // IGNORE ), @@ -133,6 +172,11 @@ return array( ), 'max_http_redir' => 'Max HTTP Umleitungen', 'max_http_redir_help' => '0 oder leeres Feld = deaktiviert; -1 für unendlich viele Umleitungen', + 'method' => array( + '_' => 'HTTP Method', // TODO + ), + 'method_help' => 'The POST payload has automatic support for application/x-www-form-urlencoded and application/json', // TODO + 'method_postparams' => 'Payload for POST', // TODO 'moved_category_deleted' => 'Wenn Sie eine Kategorie entfernen, werden deren Feeds automatisch in die Kategorie %s eingefügt.', 'mute' => 'Stumm schalten', 'no_selected' => 'Kein Feed ausgewählt.', diff --git a/app/i18n/el/sub.php b/app/i18n/el/sub.php index c101600b4..8de9a77fd 100644 --- a/app/i18n/el/sub.php +++ b/app/i18n/el/sub.php @@ -121,6 +121,45 @@ return array( 'relative' => 'XPath (relative to item) for:', // TODO 'xpath' => 'XPath for:', // TODO ), + 'json_dotpath' => array( + '_' => 'JSON (Dotted paths)', // TODO + 'feed_title' => array( + '_' => 'feed title', // TODO + 'help' => 'Example: meta.title or a static string: "My custom feed"', // TODO + ), + 'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. data.items[0].title)', // TODO + 'item' => array( + '_' => 'finding news items
(most important)', // TODO + 'help' => 'JSON path to the array containing the items, e.g. newsItems', // TODO + ), + 'item_author' => 'item author', // TODO + 'item_categories' => 'item tags', // TODO + 'item_content' => array( + '_' => 'item content', // TODO + 'help' => 'Key under which the content is found, e.g. content', // TODO + ), + 'item_thumbnail' => array( + '_' => 'item thumbnail', // TODO + 'help' => 'Example: image', // TODO + ), + 'item_timeFormat' => array( + '_' => 'Custom date/time format', // TODO + 'help' => 'Optional. A format supported by DateTime::createFromFormat() such as d-m-Y H:i:s', // TODO + ), + 'item_timestamp' => array( + '_' => 'item date', // TODO + 'help' => 'The result will be parsed by strtotime()', // TODO + ), + 'item_title' => 'item title', // TODO + 'item_uid' => 'item unique ID', // TODO + 'item_uri' => array( + '_' => 'item link (URL)', // TODO + 'help' => 'Example: permalink', // TODO + ), + 'json' => 'Dotted Path for:', // TODO + 'relative' => 'Dotted Path (relative to item) for:', // TODO + ), + 'jsonfeed' => 'JSON Feed', // TODO 'rss' => 'RSS / Atom (default)', // TODO 'xml_xpath' => 'XML + XPath', // TODO ), @@ -133,6 +172,11 @@ return array( ), 'max_http_redir' => 'Max HTTP redirects', // TODO 'max_http_redir_help' => 'Set to 0 or leave blank to disable, -1 for unlimited redirects', // TODO + 'method' => array( + '_' => 'HTTP Method', // TODO + ), + 'method_help' => 'The POST payload has automatic support for application/x-www-form-urlencoded and application/json', // TODO + 'method_postparams' => 'Payload for POST', // TODO 'moved_category_deleted' => 'When you delete a category, its feeds are automatically classified under %s.', // TODO 'mute' => 'mute', // TODO 'no_selected' => 'No feed selected.', // TODO diff --git a/app/i18n/en-us/sub.php b/app/i18n/en-us/sub.php index 591c52dec..e6eae591c 100644 --- a/app/i18n/en-us/sub.php +++ b/app/i18n/en-us/sub.php @@ -121,6 +121,45 @@ return array( 'relative' => 'XPath (relative to item) for:', // IGNORE 'xpath' => 'XPath for:', // IGNORE ), + 'json_dotpath' => array( + '_' => 'JSON (Dotted paths)', // IGNORE + 'feed_title' => array( + '_' => 'feed title', // IGNORE + 'help' => 'Example: meta.title or a static string: "My custom feed"', // IGNORE + ), + 'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. data.items[0].title)', // IGNORE + 'item' => array( + '_' => 'finding news items
(most important)', // IGNORE + 'help' => 'JSON path to the array containing the items, e.g. newsItems', // IGNORE + ), + 'item_author' => 'item author', // IGNORE + 'item_categories' => 'item tags', // IGNORE + 'item_content' => array( + '_' => 'item content', // IGNORE + 'help' => 'Key under which the content is found, e.g. content', // IGNORE + ), + 'item_thumbnail' => array( + '_' => 'item thumbnail', // IGNORE + 'help' => 'Example: image', // IGNORE + ), + 'item_timeFormat' => array( + '_' => 'Custom date/time format', // IGNORE + 'help' => 'Optional. A format supported by DateTime::createFromFormat() such as d-m-Y H:i:s', // IGNORE + ), + 'item_timestamp' => array( + '_' => 'item date', // IGNORE + 'help' => 'The result will be parsed by strtotime()', // IGNORE + ), + 'item_title' => 'item title', // IGNORE + 'item_uid' => 'item unique ID', // IGNORE + 'item_uri' => array( + '_' => 'item link (URL)', // IGNORE + 'help' => 'Example: permalink', // IGNORE + ), + 'json' => 'Dotted Path for:', // IGNORE + 'relative' => 'Dotted Path (relative to item) for:', // IGNORE + ), + 'jsonfeed' => 'JSON Feed', // IGNORE 'rss' => 'RSS / Atom (default)', // IGNORE 'xml_xpath' => 'XML + XPath', // IGNORE ), @@ -133,6 +172,11 @@ return array( ), 'max_http_redir' => 'Max HTTP redirects', // IGNORE 'max_http_redir_help' => 'Set to 0 or leave blank to disable, -1 for unlimited redirects', // IGNORE + 'method' => array( + '_' => 'HTTP Method', // IGNORE + ), + 'method_help' => 'The POST payload has automatic support for application/x-www-form-urlencoded and application/json', // IGNORE + 'method_postparams' => 'Payload for POST', // IGNORE 'moved_category_deleted' => 'When you delete a category, its feeds are automatically classified under %s.', // IGNORE 'mute' => 'mute', // IGNORE 'no_selected' => 'No feed selected.', // IGNORE diff --git a/app/i18n/en/sub.php b/app/i18n/en/sub.php index f6aebca4b..e76051212 100644 --- a/app/i18n/en/sub.php +++ b/app/i18n/en/sub.php @@ -121,6 +121,45 @@ return array( 'relative' => 'XPath (relative to item) for:', 'xpath' => 'XPath for:', ), + 'json_dotpath' => array( + '_' => 'JSON (Dotted paths)', + 'feed_title' => array( + '_' => 'feed title', + 'help' => 'Example: meta.title or a static string: "My custom feed"', + ), + 'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. data.items[0].title)', + 'item' => array( + '_' => 'finding news items
(most important)', + 'help' => 'JSON path to the array containing the items, e.g. newsItems', + ), + 'item_author' => 'item author', + 'item_categories' => 'item tags', + 'item_content' => array( + '_' => 'item content', + 'help' => 'Key under which the content is found, e.g. content', + ), + 'item_thumbnail' => array( + '_' => 'item thumbnail', + 'help' => 'Example: image', + ), + 'item_timeFormat' => array( + '_' => 'Custom date/time format', + 'help' => 'Optional. A format supported by DateTime::createFromFormat() such as d-m-Y H:i:s', + ), + 'item_timestamp' => array( + '_' => 'item date', + 'help' => 'The result will be parsed by strtotime()', + ), + 'item_title' => 'item title', + 'item_uid' => 'item unique ID', + 'item_uri' => array( + '_' => 'item link (URL)', + 'help' => 'Example: permalink', + ), + 'json' => 'Dotted Path for:', + 'relative' => 'Dotted Path (relative to item) for:', + ), + 'jsonfeed' => 'JSON Feed', 'rss' => 'RSS / Atom (default)', 'xml_xpath' => 'XML + XPath', ), @@ -133,6 +172,11 @@ return array( ), 'max_http_redir' => 'Max HTTP redirects', 'max_http_redir_help' => 'Set to 0 or leave blank to disable, -1 for unlimited redirects', + 'method' => array( + '_' => 'HTTP Method', + ), + 'method_help' => 'The POST payload has automatic support for application/x-www-form-urlencoded and application/json', + 'method_postparams' => 'Payload for POST', 'moved_category_deleted' => 'When you delete a category, its feeds are automatically classified under %s.', 'mute' => 'mute', 'no_selected' => 'No feed selected.', diff --git a/app/i18n/es/sub.php b/app/i18n/es/sub.php index 6fc8031fb..e466472ca 100644 --- a/app/i18n/es/sub.php +++ b/app/i18n/es/sub.php @@ -26,7 +26,7 @@ return array( 'archiving' => 'Archivo', 'dynamic_opml' => array( '_' => 'OPML dinámico', - 'help' => 'Provee la URL a un archivo OPML para llenar dinámicamente esta categoría con feeds', + 'help' => 'Provee la URL a un archivo OPML para llenar dinámicamente esta categoría con feeds', ), 'empty' => 'Vaciar categoría', 'information' => 'Información', @@ -121,6 +121,45 @@ return array( 'relative' => 'XPath (relativo al elemento) para:', 'xpath' => 'XPath para:', ), + 'json_dotpath' => array( + '_' => 'JSON (Dotted paths)', // TODO + 'feed_title' => array( + '_' => 'feed title', // TODO + 'help' => 'Example: meta.title or a static string: "My custom feed"', // TODO + ), + 'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. data.items[0].title)', // TODO + 'item' => array( + '_' => 'finding news items
(most important)', // TODO + 'help' => 'JSON path to the array containing the items, e.g. newsItems', // TODO + ), + 'item_author' => 'item author', // TODO + 'item_categories' => 'item tags', // TODO + 'item_content' => array( + '_' => 'item content', // TODO + 'help' => 'Key under which the content is found, e.g. content', // TODO + ), + 'item_thumbnail' => array( + '_' => 'item thumbnail', // TODO + 'help' => 'Example: image', // TODO + ), + 'item_timeFormat' => array( + '_' => 'Custom date/time format', // TODO + 'help' => 'Optional. A format supported by DateTime::createFromFormat() such as d-m-Y H:i:s', // TODO + ), + 'item_timestamp' => array( + '_' => 'item date', // TODO + 'help' => 'The result will be parsed by strtotime()', // TODO + ), + 'item_title' => 'item title', // TODO + 'item_uid' => 'item unique ID', // TODO + 'item_uri' => array( + '_' => 'item link (URL)', // TODO + 'help' => 'Example: permalink', // TODO + ), + 'json' => 'Dotted Path for:', // TODO + 'relative' => 'Dotted Path (relative to item) for:', // TODO + ), + 'jsonfeed' => 'JSON Feed', // TODO 'rss' => 'RSS / Atom (por defecto)', 'xml_xpath' => 'XML + XPath', // IGNORE ), @@ -133,6 +172,11 @@ return array( ), 'max_http_redir' => 'Máximas redirecciones HTTP', 'max_http_redir_help' => 'Escribir 0 o dejarlo en blanco para deshabilitarlo, -1 para redirecciones ilimitadas', + 'method' => array( + '_' => 'HTTP Method', // TODO + ), + 'method_help' => 'The POST payload has automatic support for application/x-www-form-urlencoded and application/json', // TODO + 'method_postparams' => 'Payload for POST', // TODO 'moved_category_deleted' => 'Al borrar una categoría todas sus fuentes pasan automáticamente a la categoría %s.', 'mute' => 'silenciar', 'no_selected' => 'No hay funentes seleccionadas.', diff --git a/app/i18n/fa/sub.php b/app/i18n/fa/sub.php index eb520f54f..d6f267e20 100644 --- a/app/i18n/fa/sub.php +++ b/app/i18n/fa/sub.php @@ -121,6 +121,45 @@ return array( 'relative' => 'XPath (نسبت به مورد) برای:', 'xpath' => ' XPath برای:', ), + 'json_dotpath' => array( + '_' => 'JSON (Dotted paths)', // TODO + 'feed_title' => array( + '_' => 'feed title', // TODO + 'help' => 'Example: meta.title or a static string: "My custom feed"', // TODO + ), + 'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. data.items[0].title)', // TODO + 'item' => array( + '_' => 'finding news items
(most important)', // TODO + 'help' => 'JSON path to the array containing the items, e.g. newsItems', // TODO + ), + 'item_author' => 'item author', // TODO + 'item_categories' => 'item tags', // TODO + 'item_content' => array( + '_' => 'item content', // TODO + 'help' => 'Key under which the content is found, e.g. content', // TODO + ), + 'item_thumbnail' => array( + '_' => 'item thumbnail', // TODO + 'help' => 'Example: image', // TODO + ), + 'item_timeFormat' => array( + '_' => 'Custom date/time format', // TODO + 'help' => 'Optional. A format supported by DateTime::createFromFormat() such as d-m-Y H:i:s', // TODO + ), + 'item_timestamp' => array( + '_' => 'item date', // TODO + 'help' => 'The result will be parsed by strtotime()', // TODO + ), + 'item_title' => 'item title', // TODO + 'item_uid' => 'item unique ID', // TODO + 'item_uri' => array( + '_' => 'item link (URL)', // TODO + 'help' => 'Example: permalink', // TODO + ), + 'json' => 'Dotted Path for:', // TODO + 'relative' => 'Dotted Path (relative to item) for:', // TODO + ), + 'jsonfeed' => 'JSON Feed', // TODO 'rss' => ' RSS / Atom (پیش‌فرض)', 'xml_xpath' => ' XML + XPath', ), @@ -133,6 +172,11 @@ return array( ), 'max_http_redir' => ' حداکثر تغییر مسیر HTTP', 'max_http_redir_help' => ' روی 0 تنظیم کنید یا برای غیرفعال کردن آن را خالی بگذارید', + 'method' => array( + '_' => 'HTTP Method', // TODO + ), + 'method_help' => 'The POST payload has automatic support for application/x-www-form-urlencoded and application/json', // TODO + 'method_postparams' => 'Payload for POST', // TODO 'moved_category_deleted' => ' هنگامی که یک دسته را حذف می کنید', 'mute' => ' بی صدا', 'no_selected' => ' هیچ خوراکی انتخاب نشده است.', diff --git a/app/i18n/fr/sub.php b/app/i18n/fr/sub.php index c2ecfc6a9..f9c78c583 100644 --- a/app/i18n/fr/sub.php +++ b/app/i18n/fr/sub.php @@ -82,7 +82,7 @@ return array( ), 'help' => 'XPath 1.0 est un langage de requête pour les utilisateurs avancés, supporté par FreshRSS pour le moissonnage du Web (Web scraping).', 'item' => array( - '_' => 'trouver les articles', + '_' => 'trouver les articles
(c’est le plus important)', 'help' => 'Exemple : //div[@class="article"]', ), 'item_author' => array( @@ -121,6 +121,45 @@ return array( 'relative' => 'XPath (relatif à l’article) pour :', 'xpath' => 'XPath pour :', ), + 'json_dotpath' => array( + '_' => 'JSON (Chemin)', + 'feed_title' => array( + '_' => 'titre de flux', + 'help' => 'Exemple : meta.title ou un texte statique : "Mon flux personnalisé"', + ), + 'help' => 'Un chemin JSON utilise le point comme séparateur objet, et des crochets pour un tableau : (ex : data.items[0].title)', + 'item' => array( + '_' => 'trouver les articles
(c’est le plus important)', + 'help' => 'Chemin vers le tableau contenant les articles, par exemple newsItems', + ), + 'item_author' => 'auteur de l’article', + 'item_categories' => 'catégories (tags) de l’article', + 'item_content' => array( + '_' => 'contenu de l’article', + 'help' => 'Chemin JSON pour le contenu, par exemple content', + ), + 'item_thumbnail' => array( + '_' => 'miniature de l’article', + 'help' => 'Exemple : image', + ), + 'item_timeFormat' => array( + '_' => 'Format personnalisé pour interpréter la date', + 'help' => 'Optionnel. Un format supporté par DateTime::createFromFormat() comme d-m-Y H:i:s', + ), + 'item_timestamp' => array( + '_' => 'date de l’article', + 'help' => 'Le résultat sera passé à la fonction strtotime()', + ), + 'item_title' => 'titre de l’article', + 'item_uid' => 'identifiant unique de l’article', + 'item_uri' => array( + '_' => 'lien (URL) de l’article', + 'help' => 'Exemple : permalink', + ), + 'json' => 'Chemin JSON pour :', + 'relative' => 'Chemin relatif à l’article pour :', + ), + 'jsonfeed' => 'JSON Feed', // IGNORE 'rss' => 'RSS / Atom (par défaut)', 'xml_xpath' => 'XML + XPath', // IGNORE ), @@ -133,6 +172,11 @@ return array( ), 'max_http_redir' => 'Maximum de redirections HTTP', 'max_http_redir_help' => 'Mettre à 0 ou vide pour désactiver, -1 pour un nombre illimité de redirections', + 'method' => array( + '_' => 'Méthode HTTP', + ), + 'method_help' => 'Les données POST supportent automatiquement application/x-www-form-urlencoded et application/json', + 'method_postparams' => 'Données pour POST', 'moved_category_deleted' => 'Lors de la suppression d’une catégorie, ses flux seront automatiquement classés dans %s.', 'mute' => 'désactivé', 'no_selected' => 'Aucun flux sélectionné.', diff --git a/app/i18n/he/sub.php b/app/i18n/he/sub.php index 70f34e3be..83e0f2e95 100644 --- a/app/i18n/he/sub.php +++ b/app/i18n/he/sub.php @@ -121,6 +121,45 @@ return array( 'relative' => 'XPath (relative to item) for:', // TODO 'xpath' => 'XPath for:', // TODO ), + 'json_dotpath' => array( + '_' => 'JSON (Dotted paths)', // TODO + 'feed_title' => array( + '_' => 'feed title', // TODO + 'help' => 'Example: meta.title or a static string: "My custom feed"', // TODO + ), + 'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. data.items[0].title)', // TODO + 'item' => array( + '_' => 'finding news items
(most important)', // TODO + 'help' => 'JSON path to the array containing the items, e.g. newsItems', // TODO + ), + 'item_author' => 'item author', // TODO + 'item_categories' => 'item tags', // TODO + 'item_content' => array( + '_' => 'item content', // TODO + 'help' => 'Key under which the content is found, e.g. content', // TODO + ), + 'item_thumbnail' => array( + '_' => 'item thumbnail', // TODO + 'help' => 'Example: image', // TODO + ), + 'item_timeFormat' => array( + '_' => 'Custom date/time format', // TODO + 'help' => 'Optional. A format supported by DateTime::createFromFormat() such as d-m-Y H:i:s', // TODO + ), + 'item_timestamp' => array( + '_' => 'item date', // TODO + 'help' => 'The result will be parsed by strtotime()', // TODO + ), + 'item_title' => 'item title', // TODO + 'item_uid' => 'item unique ID', // TODO + 'item_uri' => array( + '_' => 'item link (URL)', // TODO + 'help' => 'Example: permalink', // TODO + ), + 'json' => 'Dotted Path for:', // TODO + 'relative' => 'Dotted Path (relative to item) for:', // TODO + ), + 'jsonfeed' => 'JSON Feed', // TODO 'rss' => 'RSS / Atom (default)', // TODO 'xml_xpath' => 'XML + XPath', // TODO ), @@ -133,6 +172,11 @@ return array( ), 'max_http_redir' => 'Max HTTP redirects', // TODO 'max_http_redir_help' => 'Set to 0 or leave blank to disable, -1 for unlimited redirects', // TODO + 'method' => array( + '_' => 'HTTP Method', // TODO + ), + 'method_help' => 'The POST payload has automatic support for application/x-www-form-urlencoded and application/json', // TODO + 'method_postparams' => 'Payload for POST', // TODO 'moved_category_deleted' => 'כאשר הקטגוריה נמחקת ההזנות שבתוכה אוטומטית מקוטלגות תחת %s.', 'mute' => 'mute', // TODO 'no_selected' => 'אף הזנה לא נבחרה.', diff --git a/app/i18n/hu/sub.php b/app/i18n/hu/sub.php index d618b9346..1934b0f06 100644 --- a/app/i18n/hu/sub.php +++ b/app/i18n/hu/sub.php @@ -121,6 +121,45 @@ return array( 'relative' => 'XPath (az elemhez viszonyítva) ehhez:', 'xpath' => 'XPath ehhez:', ), + 'json_dotpath' => array( + '_' => 'JSON (Dotted paths)', // TODO + 'feed_title' => array( + '_' => 'feed title', // TODO + 'help' => 'Example: meta.title or a static string: "My custom feed"', // TODO + ), + 'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. data.items[0].title)', // TODO + 'item' => array( + '_' => 'finding news items
(most important)', // TODO + 'help' => 'JSON path to the array containing the items, e.g. newsItems', // TODO + ), + 'item_author' => 'item author', // TODO + 'item_categories' => 'item tags', // TODO + 'item_content' => array( + '_' => 'item content', // TODO + 'help' => 'Key under which the content is found, e.g. content', // TODO + ), + 'item_thumbnail' => array( + '_' => 'item thumbnail', // TODO + 'help' => 'Example: image', // TODO + ), + 'item_timeFormat' => array( + '_' => 'Custom date/time format', // TODO + 'help' => 'Optional. A format supported by DateTime::createFromFormat() such as d-m-Y H:i:s', // TODO + ), + 'item_timestamp' => array( + '_' => 'item date', // TODO + 'help' => 'The result will be parsed by strtotime()', // TODO + ), + 'item_title' => 'item title', // TODO + 'item_uid' => 'item unique ID', // TODO + 'item_uri' => array( + '_' => 'item link (URL)', // TODO + 'help' => 'Example: permalink', // TODO + ), + 'json' => 'Dotted Path for:', // TODO + 'relative' => 'Dotted Path (relative to item) for:', // TODO + ), + 'jsonfeed' => 'JSON Feed', // TODO 'rss' => 'RSS / Atom (alapértelmezett)', 'xml_xpath' => 'XML + XPath', // IGNORE ), @@ -133,6 +172,11 @@ return array( ), 'max_http_redir' => 'Max HTTP átirányítás', 'max_http_redir_help' => '0 vagy üresen hagyva kikapcsolt, -1 a végtelen átirányításhoz', + 'method' => array( + '_' => 'HTTP Method', // TODO + ), + 'method_help' => 'The POST payload has automatic support for application/x-www-form-urlencoded and application/json', // TODO + 'method_postparams' => 'Payload for POST', // TODO 'moved_category_deleted' => 'Ha kitörölsz egy kategóriát, az alá tartozó hírforrások automatikusan ide kerülnek %s.', 'mute' => 'némítás', 'no_selected' => 'Nincsen hírforrás kiválasztva.', diff --git a/app/i18n/id/sub.php b/app/i18n/id/sub.php index 51e6c5704..d08746ba1 100644 --- a/app/i18n/id/sub.php +++ b/app/i18n/id/sub.php @@ -121,6 +121,45 @@ return array( 'relative' => 'XPath (relative to item) for:', // TODO 'xpath' => 'XPath for:', // TODO ), + 'json_dotpath' => array( + '_' => 'JSON (Dotted paths)', // TODO + 'feed_title' => array( + '_' => 'feed title', // TODO + 'help' => 'Example: meta.title or a static string: "My custom feed"', // TODO + ), + 'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. data.items[0].title)', // TODO + 'item' => array( + '_' => 'finding news items
(most important)', // TODO + 'help' => 'JSON path to the array containing the items, e.g. newsItems', // TODO + ), + 'item_author' => 'item author', // TODO + 'item_categories' => 'item tags', // TODO + 'item_content' => array( + '_' => 'item content', // TODO + 'help' => 'Key under which the content is found, e.g. content', // TODO + ), + 'item_thumbnail' => array( + '_' => 'item thumbnail', // TODO + 'help' => 'Example: image', // TODO + ), + 'item_timeFormat' => array( + '_' => 'Custom date/time format', // TODO + 'help' => 'Optional. A format supported by DateTime::createFromFormat() such as d-m-Y H:i:s', // TODO + ), + 'item_timestamp' => array( + '_' => 'item date', // TODO + 'help' => 'The result will be parsed by strtotime()', // TODO + ), + 'item_title' => 'item title', // TODO + 'item_uid' => 'item unique ID', // TODO + 'item_uri' => array( + '_' => 'item link (URL)', // TODO + 'help' => 'Example: permalink', // TODO + ), + 'json' => 'Dotted Path for:', // TODO + 'relative' => 'Dotted Path (relative to item) for:', // TODO + ), + 'jsonfeed' => 'JSON Feed', // TODO 'rss' => 'RSS / Atom (default)', // TODO 'xml_xpath' => 'XML + XPath', // TODO ), @@ -133,6 +172,11 @@ return array( ), 'max_http_redir' => 'Max HTTP redirects', // TODO 'max_http_redir_help' => 'Set to 0 or leave blank to disable, -1 for unlimited redirects', // TODO + 'method' => array( + '_' => 'HTTP Method', // TODO + ), + 'method_help' => 'The POST payload has automatic support for application/x-www-form-urlencoded and application/json', // TODO + 'method_postparams' => 'Payload for POST', // TODO 'moved_category_deleted' => 'When you delete a category, its feeds are automatically classified under %s.', // TODO 'mute' => 'mute', // TODO 'no_selected' => 'No feed selected.', // TODO diff --git a/app/i18n/it/sub.php b/app/i18n/it/sub.php index 0e5a05e19..4b953903b 100644 --- a/app/i18n/it/sub.php +++ b/app/i18n/it/sub.php @@ -121,6 +121,45 @@ return array( 'relative' => 'XPath (relativo all’oggetto) per:', 'xpath' => 'XPath per:', ), + 'json_dotpath' => array( + '_' => 'JSON (Dotted paths)', // TODO + 'feed_title' => array( + '_' => 'feed title', // TODO + 'help' => 'Example: meta.title or a static string: "My custom feed"', // TODO + ), + 'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. data.items[0].title)', // TODO + 'item' => array( + '_' => 'finding news items
(most important)', // TODO + 'help' => 'JSON path to the array containing the items, e.g. newsItems', // TODO + ), + 'item_author' => 'item author', // TODO + 'item_categories' => 'item tags', // TODO + 'item_content' => array( + '_' => 'item content', // TODO + 'help' => 'Key under which the content is found, e.g. content', // TODO + ), + 'item_thumbnail' => array( + '_' => 'item thumbnail', // TODO + 'help' => 'Example: image', // TODO + ), + 'item_timeFormat' => array( + '_' => 'Custom date/time format', // TODO + 'help' => 'Optional. A format supported by DateTime::createFromFormat() such as d-m-Y H:i:s', // TODO + ), + 'item_timestamp' => array( + '_' => 'item date', // TODO + 'help' => 'The result will be parsed by strtotime()', // TODO + ), + 'item_title' => 'item title', // TODO + 'item_uid' => 'item unique ID', // TODO + 'item_uri' => array( + '_' => 'item link (URL)', // TODO + 'help' => 'Example: permalink', // TODO + ), + 'json' => 'Dotted Path for:', // TODO + 'relative' => 'Dotted Path (relative to item) for:', // TODO + ), + 'jsonfeed' => 'JSON Feed', // TODO 'rss' => 'RSS / Atom (predefinito)', 'xml_xpath' => 'XML + XPath', // TODO ), @@ -133,6 +172,11 @@ return array( ), 'max_http_redir' => 'Numero massimo di redirect HTTP', 'max_http_redir_help' => 'Imposta a 0 o lascia in bianco per disabilitare, -1 per impostare un numero illimitato di redirect', + 'method' => array( + '_' => 'HTTP Method', // TODO + ), + 'method_help' => 'The POST payload has automatic support for application/x-www-form-urlencoded and application/json', // TODO + 'method_postparams' => 'Payload for POST', // TODO 'moved_category_deleted' => 'Cancellando una categoria i feed al suo interno verranno classificati automaticamente come %s.', 'mute' => 'muta', 'no_selected' => 'Nessun feed selezionato.', diff --git a/app/i18n/ja/sub.php b/app/i18n/ja/sub.php index 2a8cfbc21..188f3f25a 100644 --- a/app/i18n/ja/sub.php +++ b/app/i18n/ja/sub.php @@ -121,6 +121,45 @@ return array( 'relative' => 'XPath (関連する項目):', 'xpath' => 'XPathは:', ), + 'json_dotpath' => array( + '_' => 'JSON (Dotted paths)', // TODO + 'feed_title' => array( + '_' => 'feed title', // TODO + 'help' => 'Example: meta.title or a static string: "My custom feed"', // TODO + ), + 'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. data.items[0].title)', // TODO + 'item' => array( + '_' => 'finding news items
(most important)', // TODO + 'help' => 'JSON path to the array containing the items, e.g. newsItems', // TODO + ), + 'item_author' => 'item author', // TODO + 'item_categories' => 'item tags', // TODO + 'item_content' => array( + '_' => 'item content', // TODO + 'help' => 'Key under which the content is found, e.g. content', // TODO + ), + 'item_thumbnail' => array( + '_' => 'item thumbnail', // TODO + 'help' => 'Example: image', // TODO + ), + 'item_timeFormat' => array( + '_' => 'Custom date/time format', // TODO + 'help' => 'Optional. A format supported by DateTime::createFromFormat() such as d-m-Y H:i:s', // TODO + ), + 'item_timestamp' => array( + '_' => 'item date', // TODO + 'help' => 'The result will be parsed by strtotime()', // TODO + ), + 'item_title' => 'item title', // TODO + 'item_uid' => 'item unique ID', // TODO + 'item_uri' => array( + '_' => 'item link (URL)', // TODO + 'help' => 'Example: permalink', // TODO + ), + 'json' => 'Dotted Path for:', // TODO + 'relative' => 'Dotted Path (relative to item) for:', // TODO + ), + 'jsonfeed' => 'JSON Feed', // TODO 'rss' => 'RSS / Atom (標準)', 'xml_xpath' => 'XML + XPath', // TODO ), @@ -133,6 +172,11 @@ return array( ), 'max_http_redir' => 'HTTPのリダイレクトの上限', 'max_http_redir_help' => '0を設定するか、空白のままにすると無効になり、-1を設定するとリダイレクト数が無制限になります。', + 'method' => array( + '_' => 'HTTP Method', // TODO + ), + 'method_help' => 'The POST payload has automatic support for application/x-www-form-urlencoded and application/json', // TODO + 'method_postparams' => 'Payload for POST', // TODO 'moved_category_deleted' => 'カテゴリを削除したとき、フィードは自動的に%s下に分類されます。', 'mute' => 'ミュート', 'no_selected' => 'どのフィードも選択されていません', diff --git a/app/i18n/ko/sub.php b/app/i18n/ko/sub.php index 8509235fe..762922c80 100644 --- a/app/i18n/ko/sub.php +++ b/app/i18n/ko/sub.php @@ -121,6 +121,45 @@ return array( 'relative' => '다음의 (기사와 관련된) XPath:', 'xpath' => '다음의 XPath:', ), + 'json_dotpath' => array( + '_' => 'JSON (Dotted paths)', // TODO + 'feed_title' => array( + '_' => 'feed title', // TODO + 'help' => 'Example: meta.title or a static string: "My custom feed"', // TODO + ), + 'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. data.items[0].title)', // TODO + 'item' => array( + '_' => 'finding news items
(most important)', // TODO + 'help' => 'JSON path to the array containing the items, e.g. newsItems', // TODO + ), + 'item_author' => 'item author', // TODO + 'item_categories' => 'item tags', // TODO + 'item_content' => array( + '_' => 'item content', // TODO + 'help' => 'Key under which the content is found, e.g. content', // TODO + ), + 'item_thumbnail' => array( + '_' => 'item thumbnail', // TODO + 'help' => 'Example: image', // TODO + ), + 'item_timeFormat' => array( + '_' => 'Custom date/time format', // TODO + 'help' => 'Optional. A format supported by DateTime::createFromFormat() such as d-m-Y H:i:s', // TODO + ), + 'item_timestamp' => array( + '_' => 'item date', // TODO + 'help' => 'The result will be parsed by strtotime()', // TODO + ), + 'item_title' => 'item title', // TODO + 'item_uid' => 'item unique ID', // TODO + 'item_uri' => array( + '_' => 'item link (URL)', // TODO + 'help' => 'Example: permalink', // TODO + ), + 'json' => 'Dotted Path for:', // TODO + 'relative' => 'Dotted Path (relative to item) for:', // TODO + ), + 'jsonfeed' => 'JSON Feed', // TODO 'rss' => 'RSS / Atom (기본값)', 'xml_xpath' => 'XML + XPath', // TODO ), @@ -133,6 +172,11 @@ return array( ), 'max_http_redir' => '최대 HTTP 리다이렉션', 'max_http_redir_help' => '값을 비워두거나 0으로 설정하면 비활성화하며, -1으로 설정하면 무제한 리다이렉션합니다', + 'method' => array( + '_' => 'HTTP Method', // TODO + ), + 'method_help' => 'The POST payload has automatic support for application/x-www-form-urlencoded and application/json', // TODO + 'method_postparams' => 'Payload for POST', // TODO 'moved_category_deleted' => '카테고리를 삭제하면, 해당 카테고리 아래에 있던 피드들은 자동적으로 %s 아래로 분류됩니다.', 'mute' => '무기한 새로고침 금지', 'no_selected' => '선택된 피드가 없습니다.', diff --git a/app/i18n/lv/sub.php b/app/i18n/lv/sub.php index e2079d2ce..c10ac166f 100644 --- a/app/i18n/lv/sub.php +++ b/app/i18n/lv/sub.php @@ -121,6 +121,45 @@ return array( 'relative' => 'XPath (relatīvs rakstam) priekš:', 'xpath' => 'XPath priekš:', ), + 'json_dotpath' => array( + '_' => 'JSON (Dotted paths)', // TODO + 'feed_title' => array( + '_' => 'feed title', // TODO + 'help' => 'Example: meta.title or a static string: "My custom feed"', // TODO + ), + 'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. data.items[0].title)', // TODO + 'item' => array( + '_' => 'finding news items
(most important)', // TODO + 'help' => 'JSON path to the array containing the items, e.g. newsItems', // TODO + ), + 'item_author' => 'item author', // TODO + 'item_categories' => 'item tags', // TODO + 'item_content' => array( + '_' => 'item content', // TODO + 'help' => 'Key under which the content is found, e.g. content', // TODO + ), + 'item_thumbnail' => array( + '_' => 'item thumbnail', // TODO + 'help' => 'Example: image', // TODO + ), + 'item_timeFormat' => array( + '_' => 'Custom date/time format', // TODO + 'help' => 'Optional. A format supported by DateTime::createFromFormat() such as d-m-Y H:i:s', // TODO + ), + 'item_timestamp' => array( + '_' => 'item date', // TODO + 'help' => 'The result will be parsed by strtotime()', // TODO + ), + 'item_title' => 'item title', // TODO + 'item_uid' => 'item unique ID', // TODO + 'item_uri' => array( + '_' => 'item link (URL)', // TODO + 'help' => 'Example: permalink', // TODO + ), + 'json' => 'Dotted Path for:', // TODO + 'relative' => 'Dotted Path (relative to item) for:', // TODO + ), + 'jsonfeed' => 'JSON Feed', // TODO 'rss' => 'RSS / Atom (noklusējums)', 'xml_xpath' => 'XML + XPath', // TODO ), @@ -133,6 +172,11 @@ return array( ), 'max_http_redir' => 'Maksimālais HTTP novirzījumu skaits', 'max_http_redir_help' => 'Iestatiet 0 vai atstājiet tukšu, lai atspējotu, -1 neierobežotai novirzīšanai', + 'method' => array( + '_' => 'HTTP Method', // TODO + ), + 'method_help' => 'The POST payload has automatic support for application/x-www-form-urlencoded and application/json', // TODO + 'method_postparams' => 'Payload for POST', // TODO 'moved_category_deleted' => 'Kad dzēšat kategoriju, tās plūsmas automātiski tiek automātiski klasificētas kategorijā %s.', 'mute' => 'klusināt', 'no_selected' => 'Barotne nav izvēlēta.', diff --git a/app/i18n/nl/sub.php b/app/i18n/nl/sub.php index 78991614f..87c7b3e4b 100644 --- a/app/i18n/nl/sub.php +++ b/app/i18n/nl/sub.php @@ -121,6 +121,45 @@ return array( 'relative' => 'XPath (relatief naar bericht) voor:', 'xpath' => 'XPath voor:', ), + 'json_dotpath' => array( + '_' => 'JSON (Dotted paths)', // TODO + 'feed_title' => array( + '_' => 'feed title', // TODO + 'help' => 'Example: meta.title or a static string: "My custom feed"', // TODO + ), + 'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. data.items[0].title)', // TODO + 'item' => array( + '_' => 'finding news items
(most important)', // TODO + 'help' => 'JSON path to the array containing the items, e.g. newsItems', // TODO + ), + 'item_author' => 'item author', // TODO + 'item_categories' => 'item tags', // TODO + 'item_content' => array( + '_' => 'item content', // TODO + 'help' => 'Key under which the content is found, e.g. content', // TODO + ), + 'item_thumbnail' => array( + '_' => 'item thumbnail', // TODO + 'help' => 'Example: image', // TODO + ), + 'item_timeFormat' => array( + '_' => 'Custom date/time format', // TODO + 'help' => 'Optional. A format supported by DateTime::createFromFormat() such as d-m-Y H:i:s', // TODO + ), + 'item_timestamp' => array( + '_' => 'item date', // TODO + 'help' => 'The result will be parsed by strtotime()', // TODO + ), + 'item_title' => 'item title', // TODO + 'item_uid' => 'item unique ID', // TODO + 'item_uri' => array( + '_' => 'item link (URL)', // TODO + 'help' => 'Example: permalink', // TODO + ), + 'json' => 'Dotted Path for:', // TODO + 'relative' => 'Dotted Path (relative to item) for:', // TODO + ), + 'jsonfeed' => 'JSON Feed', // TODO 'rss' => 'RSS / Atom (standaard)', 'xml_xpath' => 'XML + XPath', // IGNORE ), @@ -133,6 +172,11 @@ return array( ), 'max_http_redir' => 'Max HTTP redirects', // IGNORE 'max_http_redir_help' => 'Stel in op 0 of laat leeg om uit te schakelen, -1 voor ongelimiteerde redirects', + 'method' => array( + '_' => 'HTTP Method', // TODO + ), + 'method_help' => 'The POST payload has automatic support for application/x-www-form-urlencoded and application/json', // TODO + 'method_postparams' => 'Payload for POST', // TODO 'moved_category_deleted' => 'Als u een categorie verwijderd, worden de feeds automatisch geclassificeerd onder %s.', 'mute' => 'demp', 'no_selected' => 'Geen feed geselecteerd.', diff --git a/app/i18n/oc/sub.php b/app/i18n/oc/sub.php index 0845ef54c..9931519f8 100644 --- a/app/i18n/oc/sub.php +++ b/app/i18n/oc/sub.php @@ -121,6 +121,45 @@ return array( 'relative' => 'XPath (relatiu a l’element) per :', 'xpath' => 'XPath per :', ), + 'json_dotpath' => array( + '_' => 'JSON (Dotted paths)', // TODO + 'feed_title' => array( + '_' => 'feed title', // TODO + 'help' => 'Example: meta.title or a static string: "My custom feed"', // TODO + ), + 'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. data.items[0].title)', // TODO + 'item' => array( + '_' => 'finding news items
(most important)', // TODO + 'help' => 'JSON path to the array containing the items, e.g. newsItems', // TODO + ), + 'item_author' => 'item author', // TODO + 'item_categories' => 'item tags', // TODO + 'item_content' => array( + '_' => 'item content', // TODO + 'help' => 'Key under which the content is found, e.g. content', // TODO + ), + 'item_thumbnail' => array( + '_' => 'item thumbnail', // TODO + 'help' => 'Example: image', // TODO + ), + 'item_timeFormat' => array( + '_' => 'Custom date/time format', // TODO + 'help' => 'Optional. A format supported by DateTime::createFromFormat() such as d-m-Y H:i:s', // TODO + ), + 'item_timestamp' => array( + '_' => 'item date', // TODO + 'help' => 'The result will be parsed by strtotime()', // TODO + ), + 'item_title' => 'item title', // TODO + 'item_uid' => 'item unique ID', // TODO + 'item_uri' => array( + '_' => 'item link (URL)', // TODO + 'help' => 'Example: permalink', // TODO + ), + 'json' => 'Dotted Path for:', // TODO + 'relative' => 'Dotted Path (relative to item) for:', // TODO + ), + 'jsonfeed' => 'JSON Feed', // TODO 'rss' => 'RSS / Atom (defaut)', 'xml_xpath' => 'XML + XPath', // TODO ), @@ -133,6 +172,11 @@ return array( ), 'max_http_redir' => 'Max HTTP redireccions', 'max_http_redir_help' => 'Definir a 0 o daissar void per lo desactivar, -1 per de redireccions illimitadas', + 'method' => array( + '_' => 'HTTP Method', // TODO + ), + 'method_help' => 'The POST payload has automatic support for application/x-www-form-urlencoded and application/json', // TODO + 'method_postparams' => 'Payload for POST', // TODO 'moved_category_deleted' => 'Quand escafatz una categoria, sos fluxes son automaticament classats dins %s.', 'mute' => 'mut', 'no_selected' => 'Cap de flux pas seleccionat.', diff --git a/app/i18n/pl/sub.php b/app/i18n/pl/sub.php index b2928f2ed..01521fe5b 100644 --- a/app/i18n/pl/sub.php +++ b/app/i18n/pl/sub.php @@ -121,6 +121,45 @@ return array( 'relative' => 'XPath (względem wiadomości) dla:', 'xpath' => 'XPath dla:', ), + 'json_dotpath' => array( + '_' => 'JSON (Dotted paths)', // TODO + 'feed_title' => array( + '_' => 'feed title', // TODO + 'help' => 'Example: meta.title or a static string: "My custom feed"', // TODO + ), + 'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. data.items[0].title)', // TODO + 'item' => array( + '_' => 'finding news items
(most important)', // TODO + 'help' => 'JSON path to the array containing the items, e.g. newsItems', // TODO + ), + 'item_author' => 'item author', // TODO + 'item_categories' => 'item tags', // TODO + 'item_content' => array( + '_' => 'item content', // TODO + 'help' => 'Key under which the content is found, e.g. content', // TODO + ), + 'item_thumbnail' => array( + '_' => 'item thumbnail', // TODO + 'help' => 'Example: image', // TODO + ), + 'item_timeFormat' => array( + '_' => 'Custom date/time format', // TODO + 'help' => 'Optional. A format supported by DateTime::createFromFormat() such as d-m-Y H:i:s', // TODO + ), + 'item_timestamp' => array( + '_' => 'item date', // TODO + 'help' => 'The result will be parsed by strtotime()', // TODO + ), + 'item_title' => 'item title', // TODO + 'item_uid' => 'item unique ID', // TODO + 'item_uri' => array( + '_' => 'item link (URL)', // TODO + 'help' => 'Example: permalink', // TODO + ), + 'json' => 'Dotted Path for:', // TODO + 'relative' => 'Dotted Path (relative to item) for:', // TODO + ), + 'jsonfeed' => 'JSON Feed', // TODO 'rss' => 'RSS / Atom (domyślne)', 'xml_xpath' => 'XML + XPath', // TODO ), @@ -133,6 +172,11 @@ return array( ), 'max_http_redir' => 'Limit przekierowań HTTP', 'max_http_redir_help' => 'Ustaw na 0, albo pozostaw puste, by zabronić przekierowywania. Wartość -1 wyłącza limit.', + 'method' => array( + '_' => 'HTTP Method', // TODO + ), + 'method_help' => 'The POST payload has automatic support for application/x-www-form-urlencoded and application/json', // TODO + 'method_postparams' => 'Payload for POST', // TODO 'moved_category_deleted' => 'Po usunięciu kategorii znajdujące się w niej kanały zostaną automatycznie przeniesione do %s.', 'mute' => 'wycisz', 'no_selected' => 'Brak kanałów.', diff --git a/app/i18n/pt-br/sub.php b/app/i18n/pt-br/sub.php index 202b559a7..2777ab2e4 100644 --- a/app/i18n/pt-br/sub.php +++ b/app/i18n/pt-br/sub.php @@ -121,6 +121,45 @@ return array( 'relative' => 'XPath (relativo do item) para:', 'xpath' => 'XPath para:', ), + 'json_dotpath' => array( + '_' => 'JSON (Dotted paths)', // TODO + 'feed_title' => array( + '_' => 'feed title', // TODO + 'help' => 'Example: meta.title or a static string: "My custom feed"', // TODO + ), + 'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. data.items[0].title)', // TODO + 'item' => array( + '_' => 'finding news items
(most important)', // TODO + 'help' => 'JSON path to the array containing the items, e.g. newsItems', // TODO + ), + 'item_author' => 'item author', // TODO + 'item_categories' => 'item tags', // TODO + 'item_content' => array( + '_' => 'item content', // TODO + 'help' => 'Key under which the content is found, e.g. content', // TODO + ), + 'item_thumbnail' => array( + '_' => 'item thumbnail', // TODO + 'help' => 'Example: image', // TODO + ), + 'item_timeFormat' => array( + '_' => 'Custom date/time format', // TODO + 'help' => 'Optional. A format supported by DateTime::createFromFormat() such as d-m-Y H:i:s', // TODO + ), + 'item_timestamp' => array( + '_' => 'item date', // TODO + 'help' => 'The result will be parsed by strtotime()', // TODO + ), + 'item_title' => 'item title', // TODO + 'item_uid' => 'item unique ID', // TODO + 'item_uri' => array( + '_' => 'item link (URL)', // TODO + 'help' => 'Example: permalink', // TODO + ), + 'json' => 'Dotted Path for:', // TODO + 'relative' => 'Dotted Path (relative to item) for:', // TODO + ), + 'jsonfeed' => 'JSON Feed', // TODO 'rss' => 'RSS / Atom (padrão)', 'xml_xpath' => 'XML + XPath', // TODO ), @@ -133,6 +172,11 @@ return array( ), 'max_http_redir' => 'Quantidade máxima de redirecionamentos HTTP', 'max_http_redir_help' => 'Defina como 0 ou deixe em branco para desabilitar, -1 para redirecionamentos ilimitados', + 'method' => array( + '_' => 'HTTP Method', // TODO + ), + 'method_help' => 'The POST payload has automatic support for application/x-www-form-urlencoded and application/json', // TODO + 'method_postparams' => 'Payload for POST', // TODO 'moved_category_deleted' => 'Quando você deleta uma categoria, seus feeds são automaticamente classificados como %s.', 'mute' => 'silenciar', 'no_selected' => 'Nenhum feed selecionado.', diff --git a/app/i18n/ru/sub.php b/app/i18n/ru/sub.php index e3b98c536..e9090b997 100644 --- a/app/i18n/ru/sub.php +++ b/app/i18n/ru/sub.php @@ -121,6 +121,45 @@ return array( 'relative' => 'XPath (относительно элемента) для:', 'xpath' => 'XPath для:', ), + 'json_dotpath' => array( + '_' => 'JSON (Dotted paths)', // TODO + 'feed_title' => array( + '_' => 'feed title', // TODO + 'help' => 'Example: meta.title or a static string: "My custom feed"', // TODO + ), + 'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. data.items[0].title)', // TODO + 'item' => array( + '_' => 'finding news items
(most important)', // TODO + 'help' => 'JSON path to the array containing the items, e.g. newsItems', // TODO + ), + 'item_author' => 'item author', // TODO + 'item_categories' => 'item tags', // TODO + 'item_content' => array( + '_' => 'item content', // TODO + 'help' => 'Key under which the content is found, e.g. content', // TODO + ), + 'item_thumbnail' => array( + '_' => 'item thumbnail', // TODO + 'help' => 'Example: image', // TODO + ), + 'item_timeFormat' => array( + '_' => 'Custom date/time format', // TODO + 'help' => 'Optional. A format supported by DateTime::createFromFormat() such as d-m-Y H:i:s', // TODO + ), + 'item_timestamp' => array( + '_' => 'item date', // TODO + 'help' => 'The result will be parsed by strtotime()', // TODO + ), + 'item_title' => 'item title', // TODO + 'item_uid' => 'item unique ID', // TODO + 'item_uri' => array( + '_' => 'item link (URL)', // TODO + 'help' => 'Example: permalink', // TODO + ), + 'json' => 'Dotted Path for:', // TODO + 'relative' => 'Dotted Path (relative to item) for:', // TODO + ), + 'jsonfeed' => 'JSON Feed', // TODO 'rss' => 'RSS / Atom (по умолчанию)', 'xml_xpath' => 'XML + XPath', // TODO ), @@ -133,6 +172,11 @@ return array( ), 'max_http_redir' => 'Максимум HTTP переводов', 'max_http_redir_help' => 'Установите 0 или оставьте пустым, чтобы отключить, -1 для бесконечных переводов', + 'method' => array( + '_' => 'HTTP Method', // TODO + ), + 'method_help' => 'The POST payload has automatic support for application/x-www-form-urlencoded and application/json', // TODO + 'method_postparams' => 'Payload for POST', // TODO 'moved_category_deleted' => 'Когда вы удаляете категорию, ленты категории автоматически попадают в категорию %s.', 'mute' => 'заглушить', 'no_selected' => 'Ленты не выбраны.', diff --git a/app/i18n/sk/sub.php b/app/i18n/sk/sub.php index 71d52995c..029ed4e75 100644 --- a/app/i18n/sk/sub.php +++ b/app/i18n/sk/sub.php @@ -121,6 +121,45 @@ return array( 'relative' => 'XPath (relatívne k položke) pre:', 'xpath' => 'XPath pre:', ), + 'json_dotpath' => array( + '_' => 'JSON (Dotted paths)', // TODO + 'feed_title' => array( + '_' => 'feed title', // TODO + 'help' => 'Example: meta.title or a static string: "My custom feed"', // TODO + ), + 'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. data.items[0].title)', // TODO + 'item' => array( + '_' => 'finding news items
(most important)', // TODO + 'help' => 'JSON path to the array containing the items, e.g. newsItems', // TODO + ), + 'item_author' => 'item author', // TODO + 'item_categories' => 'item tags', // TODO + 'item_content' => array( + '_' => 'item content', // TODO + 'help' => 'Key under which the content is found, e.g. content', // TODO + ), + 'item_thumbnail' => array( + '_' => 'item thumbnail', // TODO + 'help' => 'Example: image', // TODO + ), + 'item_timeFormat' => array( + '_' => 'Custom date/time format', // TODO + 'help' => 'Optional. A format supported by DateTime::createFromFormat() such as d-m-Y H:i:s', // TODO + ), + 'item_timestamp' => array( + '_' => 'item date', // TODO + 'help' => 'The result will be parsed by strtotime()', // TODO + ), + 'item_title' => 'item title', // TODO + 'item_uid' => 'item unique ID', // TODO + 'item_uri' => array( + '_' => 'item link (URL)', // TODO + 'help' => 'Example: permalink', // TODO + ), + 'json' => 'Dotted Path for:', // TODO + 'relative' => 'Dotted Path (relative to item) for:', // TODO + ), + 'jsonfeed' => 'JSON Feed', // TODO 'rss' => 'RSS / Atom (prednastavené)', 'xml_xpath' => 'XML + XPath', // TODO ), @@ -133,6 +172,11 @@ return array( ), 'max_http_redir' => 'Max HTTP presmerovaní', 'max_http_redir_help' => 'Nastavte na 0 alebo nechajte prázdne na zakázanie, -1 pre neobmedzené množstvo presmerovaní', + 'method' => array( + '_' => 'HTTP Method', // TODO + ), + 'method_help' => 'The POST payload has automatic support for application/x-www-form-urlencoded and application/json', // TODO + 'method_postparams' => 'Payload for POST', // TODO 'moved_category_deleted' => 'Keď vymažete kategóriu, jej kanály sa automaticky zaradia pod %s.', 'mute' => 'stíšiť', 'no_selected' => 'Nevybrali ste kanál.', diff --git a/app/i18n/tr/sub.php b/app/i18n/tr/sub.php index 538770d03..b461d83f4 100644 --- a/app/i18n/tr/sub.php +++ b/app/i18n/tr/sub.php @@ -121,6 +121,45 @@ return array( 'relative' => 'XPath (nesneye ait):', 'xpath' => 'XPath:', ), + 'json_dotpath' => array( + '_' => 'JSON (Dotted paths)', // TODO + 'feed_title' => array( + '_' => 'feed title', // TODO + 'help' => 'Example: meta.title or a static string: "My custom feed"', // TODO + ), + 'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. data.items[0].title)', // TODO + 'item' => array( + '_' => 'finding news items
(most important)', // TODO + 'help' => 'JSON path to the array containing the items, e.g. newsItems', // TODO + ), + 'item_author' => 'item author', // TODO + 'item_categories' => 'item tags', // TODO + 'item_content' => array( + '_' => 'item content', // TODO + 'help' => 'Key under which the content is found, e.g. content', // TODO + ), + 'item_thumbnail' => array( + '_' => 'item thumbnail', // TODO + 'help' => 'Example: image', // TODO + ), + 'item_timeFormat' => array( + '_' => 'Custom date/time format', // TODO + 'help' => 'Optional. A format supported by DateTime::createFromFormat() such as d-m-Y H:i:s', // TODO + ), + 'item_timestamp' => array( + '_' => 'item date', // TODO + 'help' => 'The result will be parsed by strtotime()', // TODO + ), + 'item_title' => 'item title', // TODO + 'item_uid' => 'item unique ID', // TODO + 'item_uri' => array( + '_' => 'item link (URL)', // TODO + 'help' => 'Example: permalink', // TODO + ), + 'json' => 'Dotted Path for:', // TODO + 'relative' => 'Dotted Path (relative to item) for:', // TODO + ), + 'jsonfeed' => 'JSON Feed', // TODO 'rss' => 'RSS / Atom (varsayılan)', 'xml_xpath' => 'XML + XPath', // TODO ), @@ -133,6 +172,11 @@ return array( ), 'max_http_redir' => 'Maksimum HTTP yönlendirme sayısı', 'max_http_redir_help' => 'Devre dışı bırakmak için boş bırakın ya da 0 olarak bırakın. Sınırsız yönlendirme için -1 olarak tanımlayın', + 'method' => array( + '_' => 'HTTP Method', // TODO + ), + 'method_help' => 'The POST payload has automatic support for application/x-www-form-urlencoded and application/json', // TODO + 'method_postparams' => 'Payload for POST', // TODO 'moved_category_deleted' => 'Bir kategoriyi silerseniz, içerisindeki akışlar %s içerisine yerleşir.', 'mute' => 'sessize al', 'no_selected' => 'Hiçbir akış seçilmedi.', diff --git a/app/i18n/zh-cn/sub.php b/app/i18n/zh-cn/sub.php index 63de97950..cf6922f4c 100644 --- a/app/i18n/zh-cn/sub.php +++ b/app/i18n/zh-cn/sub.php @@ -121,6 +121,45 @@ return array( 'relative' => 'XPath(文章):', 'xpath' => 'XPath 定位:', ), + 'json_dotpath' => array( + '_' => 'JSON (Dotted paths)', // TODO + 'feed_title' => array( + '_' => 'feed title', // TODO + 'help' => 'Example: meta.title or a static string: "My custom feed"', // TODO + ), + 'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. data.items[0].title)', // TODO + 'item' => array( + '_' => 'finding news items
(most important)', // TODO + 'help' => 'JSON path to the array containing the items, e.g. newsItems', // TODO + ), + 'item_author' => 'item author', // TODO + 'item_categories' => 'item tags', // TODO + 'item_content' => array( + '_' => 'item content', // TODO + 'help' => 'Key under which the content is found, e.g. content', // TODO + ), + 'item_thumbnail' => array( + '_' => 'item thumbnail', // TODO + 'help' => 'Example: image', // TODO + ), + 'item_timeFormat' => array( + '_' => 'Custom date/time format', // TODO + 'help' => 'Optional. A format supported by DateTime::createFromFormat() such as d-m-Y H:i:s', // TODO + ), + 'item_timestamp' => array( + '_' => 'item date', // TODO + 'help' => 'The result will be parsed by strtotime()', // TODO + ), + 'item_title' => 'item title', // TODO + 'item_uid' => 'item unique ID', // TODO + 'item_uri' => array( + '_' => 'item link (URL)', // TODO + 'help' => 'Example: permalink', // TODO + ), + 'json' => 'Dotted Path for:', // TODO + 'relative' => 'Dotted Path (relative to item) for:', // TODO + ), + 'jsonfeed' => 'JSON Feed', // TODO 'rss' => 'RSS / Atom (默认)', 'xml_xpath' => 'XML + XPath', // TODO ), @@ -133,6 +172,11 @@ return array( ), 'max_http_redir' => '最大 HTTP 重定向', 'max_http_redir_help' => '设置为 0 或留空以禁用,-1 表示无限重定向', + 'method' => array( + '_' => 'HTTP Method', // TODO + ), + 'method_help' => 'The POST payload has automatic support for application/x-www-form-urlencoded and application/json', // TODO + 'method_postparams' => 'Payload for POST', // TODO 'moved_category_deleted' => '删除分类时,其中的订阅源会自动归类到 %s', 'mute' => '暂停', 'no_selected' => '未选择订阅源', diff --git a/app/i18n/zh-tw/sub.php b/app/i18n/zh-tw/sub.php index 3e5e03823..2b5847343 100644 --- a/app/i18n/zh-tw/sub.php +++ b/app/i18n/zh-tw/sub.php @@ -121,6 +121,45 @@ return array( 'relative' => 'XPath(文章):', 'xpath' => 'XPath 定位:', ), + 'json_dotpath' => array( + '_' => 'JSON (Dotted paths)', // TODO + 'feed_title' => array( + '_' => 'feed title', // TODO + 'help' => 'Example: meta.title or a static string: "My custom feed"', // TODO + ), + 'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. data.items[0].title)', // TODO + 'item' => array( + '_' => 'finding news items
(most important)', // TODO + 'help' => 'JSON path to the array containing the items, e.g. newsItems', // TODO + ), + 'item_author' => 'item author', // TODO + 'item_categories' => 'item tags', // TODO + 'item_content' => array( + '_' => 'item content', // TODO + 'help' => 'Key under which the content is found, e.g. content', // TODO + ), + 'item_thumbnail' => array( + '_' => 'item thumbnail', // TODO + 'help' => 'Example: image', // TODO + ), + 'item_timeFormat' => array( + '_' => 'Custom date/time format', // TODO + 'help' => 'Optional. A format supported by DateTime::createFromFormat() such as d-m-Y H:i:s', // TODO + ), + 'item_timestamp' => array( + '_' => 'item date', // TODO + 'help' => 'The result will be parsed by strtotime()', // TODO + ), + 'item_title' => 'item title', // TODO + 'item_uid' => 'item unique ID', // TODO + 'item_uri' => array( + '_' => 'item link (URL)', // TODO + 'help' => 'Example: permalink', // TODO + ), + 'json' => 'Dotted Path for:', // TODO + 'relative' => 'Dotted Path (relative to item) for:', // TODO + ), + 'jsonfeed' => 'JSON Feed', // TODO 'rss' => 'RSS / Atom (默認)', 'xml_xpath' => 'XML + XPath', // TODO ), @@ -133,6 +172,11 @@ return array( ), 'max_http_redir' => '最大 HTTP 重定向', 'max_http_redir_help' => '設置為 0 或留空以禁用,-1 表示無限重定向', + 'method' => array( + '_' => 'HTTP Method', // TODO + ), + 'method_help' => 'The POST payload has automatic support for application/x-www-form-urlencoded and application/json', // TODO + 'method_postparams' => 'Payload for POST', // TODO 'moved_category_deleted' => '刪除分類時,其中的訂閱源會自動歸類到 %s', 'mute' => '暫停', 'no_selected' => '未選擇訂閱源', -- cgit v1.2.3