2024-08-30 05:37:40 +03:00
|
|
|
RSS-Bridge supports calls via CLI.
|
|
|
|
You can use the same parameters as you would normally use via the URI. Example:
|
2022-03-22 23:33:29 +03:00
|
|
|
|
|
|
|
`php index.php action=display bridge=DansTonChat format=Json`
|
|
|
|
|
|
|
|
## Required parameters
|
|
|
|
|
2024-08-30 05:37:40 +03:00
|
|
|
RSS-Bridge requires a few parameters that must be specified on every call.
|
|
|
|
Omitting these parameters will result in error messages:
|
2022-03-22 23:33:29 +03:00
|
|
|
|
|
|
|
### action
|
|
|
|
|
|
|
|
Defines how RSS-Bridge responds to the request.
|
|
|
|
|
|
|
|
Value | Description
|
|
|
|
----- | -----------
|
|
|
|
`action=list` | Returns a JSON formatted list of bridges. Other parameters are ignored.
|
|
|
|
`action=display` | Returns (displays) a feed.
|
|
|
|
|
|
|
|
### bridge
|
|
|
|
|
2024-08-30 05:37:40 +03:00
|
|
|
This parameter specifies the name of the bridge RSS-Bridge should return feeds from.
|
|
|
|
The name of the bridge equals the class name of the bridges in the ./bridges/ folder without the 'Bridge' prefix.
|
|
|
|
For example: DansTonChatBridge => DansTonChat.
|
2022-03-22 23:33:29 +03:00
|
|
|
|
|
|
|
### format
|
|
|
|
|
2024-08-30 05:37:40 +03:00
|
|
|
This parameter specifies the format in which RSS-Bridge returns the contents.
|
2022-03-22 23:33:29 +03:00
|
|
|
|
|
|
|
## Optional parameters
|
|
|
|
|
2024-08-30 05:37:40 +03:00
|
|
|
RSS-Bridge supports optional parameters.
|
|
|
|
These parameters are only valid if the options have been enabled in the index.php script.
|
2022-03-22 23:33:29 +03:00
|
|
|
|
2022-07-24 20:26:12 +03:00
|
|
|
### \_noproxy
|
2022-03-22 23:33:29 +03:00
|
|
|
|
2024-08-30 05:37:40 +03:00
|
|
|
This parameter is only available if a proxy server has been specified via `proxy.url` and `proxy.by_bridge`
|
|
|
|
has been enabled. This is a Boolean parameter that can be set to `true` or `false`.
|
2022-03-22 23:33:29 +03:00
|
|
|
|
|
|
|
## Bridge parameters
|
|
|
|
|
2024-08-30 05:37:40 +03:00
|
|
|
Each bridge can specify its own set of parameters.
|
|
|
|
As in the example above, some bridges don't specify any parameters or only optional parameters that can be neglected.
|
|
|
|
For more details read the `PARAMETERS` definition for your bridge.
|