1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-27 01:54:40 +02:00

style: Fix coding styles

This commit is contained in:
logmanoriginal
2017-02-14 17:28:07 +01:00
parent d8f5aa3c79
commit ff83410534
26 changed files with 109 additions and 114 deletions

View File

@@ -37,9 +37,9 @@ class RTBFBridge extends BridgeAbstract {
$thumbnailUriLastSrc = end($thumbnailUriSrcSet);
$thumbnailUri = explode(' ', $thumbnailUriLastSrc)[0];
$item['title'] = trim($element->find('h3',0)->plaintext)
$item['title'] = trim($element->find('h3', 0)->plaintext)
. ' - '
. trim($element->find('h4',0)->plaintext);
. trim($element->find('h4', 0)->plaintext);
$item['timestamp'] = strtotime($element->find('time', 0)->getAttribute('datetime'));
$item['content'] = '<a href="' . $item['uri'] . '"><img src="' . $thumbnailUri . '" /></a>';