$html = $content['html'];
if (false === $html) {
- $html = '<p>Unable to retrieve readable content.</p>';
+ $html = $this->fetchingErrorMessage;
if (isset($content['open_graph']['og_description'])) {
$html .= '<p><i>But we found a short description: </i></p>';
{
$data = [
'title' => $entry['name'],
- 'html' => '',
+ 'html' => false,
'url' => $entry['url'],
'is_archived' => $this->markAsRead,
'tags' => '',
{
$data = [
'title' => $entry['title'],
- 'html' => '',
+ 'html' => false,
'url' => $entry['uri'],
'is_archived' => $this->markAsRead,
'tags' => '',
'is_starred' => $data[3] === 'Starred',
'content_type' => '',
'language' => '',
+ 'html' => false,
];
}
fclose($handle);
'is_archived' => $importedEntry['archive'] || $this->markAsRead,
'is_starred' => $importedEntry['favorite'],
'created_at' => $importedEntry['date_added'],
+ 'html' => false,
];
$entry = new Entry($this->user);