aboutsummaryrefslogtreecommitdiff
path: root/app/i18n/it/sub.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2024-10-13 15:28:45 +0200
committerGravatar GitHub <noreply@github.com> 2024-10-13 15:28:45 +0200
commitccb132523a4ee740d5b576574e9f44668021fbe6 (patch)
tree0b6977a345c56eff277abb0bc9199b0010f003a8 /app/i18n/it/sub.php
parent91624037c7d73eb545478aab2f8abc55fc224453 (diff)
New feed mode: HTML + XPath + JSON dot notation (JSON in HTML) (#6888)
* New feed mode: HTML + XPath + JSON dot notation (JSON in HTML) Same as `JSON+DotNotation` but first extracting the JSON string from an HTML document thanks to an XPath expression. Example: `//script[@type='application/json']` fix https://github.com/FreshRSS/FreshRSS/discussions/6876 * JavaScript UI to show/hide new field * Casing xPathToJson * Slight renaming
Diffstat (limited to 'app/i18n/it/sub.php')
-rw-r--r--app/i18n/it/sub.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/app/i18n/it/sub.php b/app/i18n/it/sub.php
index ff1c6f36b..e36a144ec 100644
--- a/app/i18n/it/sub.php
+++ b/app/i18n/it/sub.php
@@ -83,6 +83,13 @@ return array(
'keep_min' => 'Numero minimo di articoli da mantenere',
'kind' => array(
'_' => 'Tipo di sorgente del feed',
+ 'html_json' => array(
+ '_' => 'HTML + XPath + JSON dot notation (JSON in HTML)', // TODO
+ 'xpath' => array(
+ '_' => 'XPath for JSON in HTML', // TODO
+ 'help' => 'Example: <code>//script[@type="application/json"]</code>', // TODO
+ ),
+ ),
'html_xpath' => array(
'_' => 'HTML + XPath (Web scraping)', // IGNORE
'feed_title' => array(
@@ -139,7 +146,7 @@ return array(
'help' => 'A JSON dot notated uses dots between objects and brackets for arrays (e.g. <code>data.items[0].title</code>)', // TODO
'item' => array(
'_' => 'ricerca nuovi <strong>elementi</strong><br /><small>(più importante)</small>',
- 'help' => 'percorso JSON per l’array contenente gli elementi, es. <code>newsItems</code>',
+ 'help' => 'percorso JSON per l’array contenente gli elementi, es. <code>$</code> o <code>newsItems</code>',
),
'item_author' => 'autore elemento',
'item_categories' => 'tag elemento',