mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-04 23:57:29 +02:00
[BridgeAbstract] Update 'enclosure' to 'enclosures' (multiple enclosures are now supported)
@@ -148,7 +148,7 @@ $item['title'] // Title of the item
|
|||||||
$item['timestamp'] // Timestamp of the item in numeric format (use `strtotime`)
|
$item['timestamp'] // Timestamp of the item in numeric format (use `strtotime`)
|
||||||
$item['author'] // Name of the author
|
$item['author'] // Name of the author
|
||||||
$item['content'] // Content in HTML format
|
$item['content'] // Content in HTML format
|
||||||
$item['enclosure'] // URI to an attachment (picture, file, etc...)
|
$item['enclosures'] // Array of URIs to an attachments (pictures, files, etc...)
|
||||||
```
|
```
|
||||||
|
|
||||||
### Item usage
|
### Item usage
|
||||||
@@ -167,7 +167,7 @@ Parameter | ATOM | HTML | (M)RSS
|
|||||||
`timestamp`|X|X|X
|
`timestamp`|X|X|X
|
||||||
`author`|X|X|X
|
`author`|X|X|X
|
||||||
`content`|X|X|X
|
`content`|X|X|X
|
||||||
`enclosure`|X|X|X
|
`enclosures`|X|X|X
|
||||||
|
|
||||||
## The `getName` function
|
## The `getName` function
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user