[ForensicArchitecture] Remove for bugfixing (#4297)

This commit is contained in:
Bocki 2024-10-16 19:21:24 +02:00 committed by GitHub
parent 0c96a47e8c
commit e7d6f89887
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,25 +0,0 @@
<?php
class ForensicArchitectureBridge extends BridgeAbstract
{
const NAME = 'Forensic Architecture';
const URI = 'https://forensic-architecture.org/';
const DESCRIPTION = 'Generates content feeds from forensic-architecture.org';
const MAINTAINER = 'tillcash';
public function collectData()
{
$url = 'https://forensic-architecture.org/api/fa/v1/investigations';
$jsonData = json_decode(getContents($url));
foreach ($jsonData->investigations as $investigation) {
$this->items[] = [
'content' => $investigation->abstract,
'timestamp' => $investigation->publication_date,
'title' => $investigation->title,
'uid' => $investigation->id,
'uri' => self::URI . 'investigation/' . $investigation->slug,
];
}
}
}