From c4f32c31a8d45cd5e860ecb991aa9f0d50c9f7e1 Mon Sep 17 00:00:00 2001 From: rogerdc Date: Tue, 29 May 2018 04:28:22 -0500 Subject: [PATCH] Add ChristianDailyReporterBridge (#697) --- bridges/ChristianDailyReporterBridge.php | 25 ++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 bridges/ChristianDailyReporterBridge.php diff --git a/bridges/ChristianDailyReporterBridge.php b/bridges/ChristianDailyReporterBridge.php new file mode 100644 index 0000000..b8cbf3c --- /dev/null +++ b/bridges/ChristianDailyReporterBridge.php @@ -0,0 +1,25 @@ +find('div.top p a,div.column p a') as $element) { + $item = array(); + // Title + $item['title'] = $element->innertext; + // URL + $item['uri'] = $element->href; + $this->items[] = $item; + } + } +}