aboutsummaryrefslogtreecommitdiff
path: root/app/i18n/it/sub.php
diff options
context:
space:
mode:
authorGravatar eta-orionis <3466670+eta-orionis@users.noreply.github.com> 2024-01-10 08:23:45 +0100
committerGravatar GitHub <noreply@github.com> 2024-01-10 08:23:45 +0100
commit9c97d8ca729e3cfb067445c0d3c9ad8284132aeb (patch)
tree256588d7a65cc8658c808bc7852c816f6ccc1cd2 /app/i18n/it/sub.php
parent9a80dde238caf1338b803f67003cd459393efdc3 (diff)
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 <elmasllari@factorsixty.com> Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'app/i18n/it/sub.php')
-rw-r--r--app/i18n/it/sub.php44
1 files changed, 44 insertions, 0 deletions
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: <code>meta.title</code> or a static string: <code>"My custom feed"</code>', // TODO
+ ),
+ 'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. <code>data.items[0].title</code>)', // TODO
+ 'item' => array(
+ '_' => 'finding news <strong>items</strong><br /><small>(most important)</small>', // TODO
+ 'help' => 'JSON path to the array containing the items, e.g. <code>newsItems</code>', // 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. <code>content</code>', // TODO
+ ),
+ 'item_thumbnail' => array(
+ '_' => 'item thumbnail', // TODO
+ 'help' => 'Example: <code>image</code>', // TODO
+ ),
+ 'item_timeFormat' => array(
+ '_' => 'Custom date/time format', // TODO
+ 'help' => 'Optional. A format supported by <a href="https://php.net/datetime.createfromformat" target="_blank"><code>DateTime::createFromFormat()</code></a> such as <code>d-m-Y H:i:s</code>', // TODO
+ ),
+ 'item_timestamp' => array(
+ '_' => 'item date', // TODO
+ 'help' => 'The result will be parsed by <a href="https://php.net/strtotime" target="_blank"><code>strtotime()</code></a>', // TODO
+ ),
+ 'item_title' => 'item title', // TODO
+ 'item_uid' => 'item unique ID', // TODO
+ 'item_uri' => array(
+ '_' => 'item link (URL)', // TODO
+ 'help' => 'Example: <code>permalink</code>', // 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 <code>application/x-www-form-urlencoded</code> and <code>application/json</code>', // TODO
+ 'method_postparams' => 'Payload for POST', // TODO
'moved_category_deleted' => 'Cancellando una categoria i feed al suo interno verranno classificati automaticamente come <em>%s</em>.',
'mute' => 'muta',
'no_selected' => 'Nessun feed selezionato.',