aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app/i18n/en/sub.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/i18n/en/sub.php')
-rw-r--r--app/i18n/en/sub.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/i18n/en/sub.php b/app/i18n/en/sub.php
index c6e2c24d9..dfb59bfc3 100644
--- a/app/i18n/en/sub.php
+++ b/app/i18n/en/sub.php
@@ -85,10 +85,10 @@ return array(
'kind' => array(
'_' => 'Type of feed source',
'html_json' => array(
- '_' => 'HTML + XPath + JSON dot notation (JSON in HTML)', // TODO
+ '_' => 'HTML + XPath + JSON dot notation (JSON in HTML)',
'xpath' => array(
- '_' => 'XPath for JSON in HTML', // TODO
- 'help' => 'Example: <code>//script[@type="application/json"]</code>', // TODO
+ '_' => 'XPath for JSON in HTML',
+ 'help' => 'Example: <code>normalize-space(//script[@type="application/json"])</code> (single JSON)<br />or: <code>//script[@type="application/ld+json"]</code> (one JSON object per article)',
),
),
'html_xpath' => array(