[Kanali6Bridge] Add bridge (#2798)

This commit is contained in:
Yaman Qalieh 2022-06-14 20:08:55 -04:00 committed by GitHub
parent 9503f9ad7f
commit 33e3d9b596
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 21 additions and 0 deletions

21
bridges/Kanali6Bridge.php Normal file
View File

@ -0,0 +1,21 @@
<?php
class Kanali6Bridge extends XPathAbstract {
const NAME = 'Kanali6 Latest Podcasts';
const DESCRIPTION = 'Returns the latest podcasts';
const URI = 'https://kanali6.com.cy/mp3/TOC.html';
const MAINTAINER = 'Yaman Qalieh';
const FEED_SOURCE_URL = 'https://kanali6.com.cy/mp3/TOC.xml';
const XPATH_EXPRESSION_ITEM = '//recording[position() <= 50]';
const XPATH_EXPRESSION_ITEM_TITLE = './title';
const XPATH_EXPRESSION_ITEM_CONTENT = './durationvisual';
const XPATH_EXPRESSION_ITEM_URI = './filename';
const XPATH_EXPRESSION_ITEM_AUTHOR = './/producersname';
const XPATH_EXPRESSION_ITEM_TIMESTAMP = './recfinisheddatetime';
const XPATH_EXPRESSION_ITEM_ENCLOSURES = './filename';
public function getURI() {
return self::URI;
}
}