diff options
| author | 2022-10-09 15:43:30 +0200 | |
|---|---|---|
| committer | 2022-10-09 15:43:30 +0200 | |
| commit | 648a876d77a7591eac6c4ad5f14b30988e18ce20 (patch) | |
| tree | 5832c068fd7d4d0a1fa80096849dde18a25887d4 /docs/en/developers | |
| parent | 72265c1eca41424f761246abc5a7fe84fd8bc0f9 (diff) | |
Add support for custom XPath date/time format (#4703)
* Add support for custom XPath date/time format
#fix https://github.com/FreshRSS/FreshRSS/issues/4701
Improvement of https://github.com/FreshRSS/FreshRSS/pull/4220
* Format is not XPath
* Remove TODOs in en-GB
Diffstat (limited to 'docs/en/developers')
| -rw-r--r-- | docs/en/developers/OPML.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/en/developers/OPML.md b/docs/en/developers/OPML.md index 859d99c72..2190a1de3 100644 --- a/docs/en/developers/OPML.md +++ b/docs/en/developers/OPML.md @@ -36,6 +36,7 @@ The following attributes are using similar naming conventions than [RSS-Bridge]( * `frss:xPathItemAuthor`: XPath expression for extracting an item author from the item context. * Example: `"Anonymous"` * `frss:xPathItemTimestamp`: XPath expression for extracting an item timestamp from the item context. The result will be parsed by [`strtotime()`](https://php.net/strtotime). +* `frss:xPathItemTimeFormat`: Date/Time format to parse the timestamp, according to [`DateTime::createFromFormat()`](https://php.net/datetime.createfromformat). * `frss:xPathItemThumbnail`: XPath expression for extracting an item’s thumbnail (image) URL from the item context. * Example: `descendant::img/@src` * `frss:xPathItemCategories`: XPath expression for extracting a list of categories (tags) from the item context. |
