From 90cd40a95bd7ec551cf4a82847213df893136063 Mon Sep 17 00:00:00 2001 From: LogMANOriginal Date: Wed, 9 Nov 2016 19:31:48 +0100 Subject: [PATCH] [BridgeAbstract] Mention 'enclosure' element --- BridgeAbstract.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/BridgeAbstract.md b/BridgeAbstract.md index 54c9d20..d536923 100644 --- a/BridgeAbstract.md +++ b/BridgeAbstract.md @@ -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