1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-03 15:17:33 +02:00

[BridgeAbstract] Mention 'enclosure' element

LogMANOriginal
2016-11-09 19:31:48 +01:00
parent dd16c078df
commit 90cd40a95b

@@ -148,11 +148,12 @@ $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 usage
Which items are necessary depends on the output format. There are two formats that support literally any property in the `$item`:
Which items are possible depends on the output format used. There are two formats that support literally any property in the `$item`:
* JSON
* Plaintext
@@ -166,6 +167,7 @@ Parameter | ATOM | HTML | (M)RSS
`timestamp`|X|X|X
`author`|X|X|X
`content`|X|X|X
`enclosure`|X|X|X
## The `getName` function