mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-04 10:04:54 +02:00
Last batch of bridges, all implemented !
Signed-off-by: teromene <teromene@teromene.fr>
This commit is contained in:
parent
715ad3bf3f
commit
78c9dcc705
60 changed files with 1678 additions and 604 deletions
|
@ -1,18 +1,32 @@
|
|||
<?php
|
||||
/**
|
||||
* RssBridgeTwitter
|
||||
* Based on https://github.com/mitsukarenai/twitterbridge-noapi
|
||||
* 2014-05-25
|
||||
*
|
||||
* @name Twitter Bridge Extended
|
||||
* @homepage https://twitter.com/
|
||||
* @description (same as Twitter Bridge, but with avatar, replies and RTs)
|
||||
* @maintainer mitsukarenai
|
||||
* @use1(q="keyword or hashtag")
|
||||
* @use2(u="username")
|
||||
*/
|
||||
class TwitterBridgeExtended extends BridgeAbstract{
|
||||
|
||||
public function loadMetadatas() {
|
||||
|
||||
$this->maintainer = "mitsukarenai";
|
||||
$this->name = "Twitter Bridge Extended";
|
||||
$this->uri = "https://twitter.com/";
|
||||
$this->description = "(same as Twitter Bridge, but with avatar, replies and RTs)";
|
||||
$this->update = "2014-05-25";
|
||||
|
||||
$this->parameters["By keyword or hashtag"] =
|
||||
'[
|
||||
{
|
||||
"name" : "Keyword or #hashtag",
|
||||
"identifier" : "q"
|
||||
}
|
||||
]';
|
||||
|
||||
$this->parameters["By username"] =
|
||||
'[
|
||||
{
|
||||
"name" : "username",
|
||||
"identifier" : "u"
|
||||
}
|
||||
]';
|
||||
|
||||
}
|
||||
|
||||
public function collectData(array $param){
|
||||
$html = '';
|
||||
if (isset($param['q'])) { /* keyword search mode */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue