+ $publishedBy = $entry->getPublishedBy();
+ $authors = $this->translator->trans('export.unknown');
+ if (!empty($publishedBy)) {
+ $authors = implode(',', $publishedBy);
+ }
+
+ $pdf->addPage();
+ $html = '<h1>' . $entry->getTitle() . '</h1>' .
+ '<dl>' .
+ '<dt>' . $this->translator->trans('entry.view.published_by') . '</dt><dd>' . $authors . '</dd>' .
+ '<dt>' . $this->translator->trans('entry.metadata.reading_time') . '</dt><dd>' . $this->translator->trans('entry.metadata.reading_time_minutes_short', ['%readingTime%' => $entry->getReadingTime()]) . '</dd>' .
+ '<dt>' . $this->translator->trans('entry.metadata.added_on') . '</dt><dd>' . $entry->getCreatedAt()->format('Y-m-d') . '</dd>' .
+ '<dt>' . $this->translator->trans('entry.metadata.address') . '</dt><dd><a href="' . $entry->getUrl() . '">' . $entry->getUrl() . '</a></dd>' .
+ '</dl>';
+ $pdf->writeHTMLCell(0, 0, '', '', $html, 0, 1, 0, true, '', true);
+