mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-16 00:44:44 +02:00
Created The getIcon function (markdown)
parent
f0c2572937
commit
64c292a2d0
1 changed files with 9 additions and 0 deletions
9
The-getIcon-function.md
Normal file
9
The-getIcon-function.md
Normal file
|
@ -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';
|
||||
}
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue