mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-21 19:24:47 +02:00
docs
* refactor * docs
This commit is contained in:
parent
6a24e53d6c
commit
9cabf60144
11 changed files with 64 additions and 196 deletions
|
@ -27,4 +27,5 @@ The file must start with the PHP tags and end with an empty line. The closing ta
|
|||
// This line is empty (just imagine it!)
|
||||
```
|
||||
|
||||
The next step is to extend one of the base classes. Refer to one of an base classes listed on the [Bridge API](../05_Bridge_API/index.md) page.
|
||||
The next step is to extend one of the base classes.
|
||||
Refer to one of an base classes listed on the [Bridge API](../05_Bridge_API/index.md) page.
|
||||
|
|
|
@ -50,10 +50,10 @@ For example: `MyBridge.php` => `MyBridge`
|
|||
|
||||
```PHP
|
||||
<?PHP
|
||||
class MyBridge extends BridgeAbstract {
|
||||
class MyBridge extends BridgeAbstract
|
||||
{
|
||||
|
||||
}
|
||||
// This line is empty (just imagine it!)
|
||||
```
|
||||
|
||||
</div></details>
|
||||
|
@ -76,7 +76,8 @@ const CACHE_TIMEOUT // (optional) Defines the maximum duration for the cache in
|
|||
```PHP
|
||||
<?php
|
||||
|
||||
class MyBridge extends BridgeAbstract {
|
||||
class MyBridge extends BridgeAbstract
|
||||
{
|
||||
const NAME = 'My Bridge';
|
||||
const URI = 'https://rss-bridge.github.io/rss-bridge/Bridge_API/BridgeAbstract.html';
|
||||
const DESCRIPTION = 'Returns "Hello World!"';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue