mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-12-30 08:08:22 +03:00
26 lines
653 B
PHP
26 lines
653 B
PHP
|
<?php
|
||
|
|
||
|
class SteamGroupAnnouncementsBridge extends FeedExpander
|
||
|
{
|
||
|
const MAINTAINER = 'Jisagi';
|
||
|
const NAME = 'Steam Group Announcements';
|
||
|
const URI = 'https://steamcommunity.com/';
|
||
|
const DESCRIPTION = 'Returns latest announcements from a steam group.';
|
||
|
|
||
|
const PARAMETERS = [
|
||
|
[
|
||
|
'g' => [
|
||
|
'name' => 'Group name',
|
||
|
'exampleValue' => 'freegamesfinders',
|
||
|
'required' => true
|
||
|
]
|
||
|
]
|
||
|
];
|
||
|
|
||
|
public function collectData()
|
||
|
{
|
||
|
$uri = self::URI . 'groups/' . $this->getInput('g') . '/rss';
|
||
|
$this->collectExpandableDatas($uri, 10);
|
||
|
}
|
||
|
}
|