0
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2024-11-23 07:37:35 +00:00
RSS-Bridge_rss-bridge/bridges/FliegermagazinBridge.php
hleskien 1262cc982c
added new bridges (#3920)
* added new bridges

* lint

---------

Co-authored-by: Dag <me@dvikan.no>
2024-01-24 19:12:38 +01:00

23 lines
960 B
PHP

<?php
class FliegermagazinBridge extends XPathAbstract
{
const NAME = 'fliegermagazin';
const URI = 'https://www.fliegermagazin.de/news-fuer-piloten/';
const DESCRIPTION = 'News für Piloten';
const MAINTAINER = 'hleskien';
const FEED_SOURCE_URL = 'https://www.fliegermagazin.de/news-fuer-piloten/';
const XPATH_EXPRESSION_FEED_ICON = './/link[@rel="shortcut icon"]/@href';
const XPATH_EXPRESSION_ITEM = '//article[@data-type="post"]';
const XPATH_EXPRESSION_ITEM_TITLE = './/h3/a/text()';
const XPATH_EXPRESSION_ITEM_CONTENT = './/h3/a/text()';
const XPATH_EXPRESSION_ITEM_URI = './/h3/a/@href';
const XPATH_EXPRESSION_ITEM_AUTHOR = './/p[@class="author-field"]';
// Timestamp kann nur durch Laden des Artikels herausgefunden werden
//const XPATH_EXPRESSION_ITEM_TIMESTAMP = './/span/i';
const XPATH_EXPRESSION_ITEM_ENCLOSURES = './/img/@src';
//const XPATH_EXPRESSION_ITEM_CATEGORIES = './/';
}