mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-28 22:09:01 +02:00
[BridgeAbstract] Mention 'enclosure' element
parent
dd16c078df
commit
90cd40a95b
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue