mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-04 07:37:27 +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['author'] // Name of the author
|
||||
$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
|
||||
@@ -167,7 +167,7 @@ Parameter | ATOM | HTML | (M)RSS
|
||||
`timestamp`|X|X|X
|
||||
`author`|X|X|X
|
||||
`content`|X|X|X
|
||||
`enclosure`|X|X|X
|
||||
`enclosures`|X|X|X
|
||||
|
||||
## The `getName` function
|
||||
|
||||
|
Reference in New Issue
Block a user