diff --git a/epub.php b/epub.php index 69fafaa..c652d7c 100644 --- a/epub.php +++ b/epub.php @@ -332,10 +332,17 @@ $result = '
' . $author . '
'; - //$result .= '' . $item->pubDate . '
'; + // authors + $result .= ''; + $creators = ($data->initialState->{ $item->bylines[0]->id })->creators; + foreach ($creators as $creator) + { + $author = $data->initialState->{ $creator->id }; + $result .= $author->displayName . ' '; + } + $result .= '
'; + $result .= '' . $item->lastMajorModification . '
'; $result .= '' . $summary . '
'; $article = file_get_contents($item->url, false, $context);