From 64c292a2d05df1e2aed098212a05c224544ee3cf Mon Sep 17 00:00:00 2001 From: LogMANOriginal Date: Sat, 15 Sep 2018 17:43:55 +0200 Subject: [PATCH] Created The getIcon function (markdown) --- The-getIcon-function.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 The-getIcon-function.md diff --git a/The-getIcon-function.md b/The-getIcon-function.md new file mode 100644 index 0000000..fd9252c --- /dev/null +++ b/The-getIcon-function.md @@ -0,0 +1,9 @@ +The `getIcon` function returns the URI for an icon, used as favicon in feeds. + +If no icon is specified by the bridge, RSS-Bridge will use a default location: `static::URI . '/favicon.ico'` (i.e. "https://github.com/favicon.ico") which may or may not exist. + +```PHP + public function getIcon(){ + return self::URI . '/favicon.ico'; + } +``` \ No newline at end of file