diff options
| author | 2024-01-10 08:23:45 +0100 | |
|---|---|---|
| committer | 2024-01-10 08:23:45 +0100 | |
| commit | 9c97d8ca729e3cfb067445c0d3c9ad8284132aeb (patch) | |
| tree | 256588d7a65cc8658c808bc7852c816f6ccc1cd2 /app/i18n/es/sub.php | |
| parent | 9a80dde238caf1338b803f67003cd459393efdc3 (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/es/sub.php')
| -rw-r--r-- | app/i18n/es/sub.php | 46 |
1 files changed, 45 insertions, 1 deletions
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 <a href=http://opml.org/ target=_blank>archivo OPML</a> para llenar dinámicamente esta categoría con feeds', + 'help' => 'Provee la URL a un <a href=http://opml.org/ target="_blank">archivo OPML</a> 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: <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 (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 <code>application/x-www-form-urlencoded</code> and <code>application/json</code>', // 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 <em>%s</em>.', 'mute' => 'silenciar', 'no_selected' => 'No hay funentes seleccionadas.', |
