diff --git a/bridges/MozillaSecurity.php b/bridges/MozillaSecurity.php new file mode 100644 index 00000000..0b951a14 --- /dev/null +++ b/bridges/MozillaSecurity.php @@ -0,0 +1,28 @@ +find('div[itemprop="articleBody"] h2'); + + foreach ($articles as $element) { + $item['title'] = $element->innertext; + $item['timestamp'] = strtotime($element->innertext); + $item['content'] = $element->next_sibling()->innertext; + $item['uri'] = self::URI; + $this->items[] = $item; + } + } +}