diff --git a/formats/HtmlFormat.php b/formats/HtmlFormat.php index 6c75a8e..19b7702 100644 --- a/formats/HtmlFormat.php +++ b/formats/HtmlFormat.php @@ -13,6 +13,7 @@ class HtmlFormat extends FormatAbstract{ $title = htmlspecialchars($extraInfos['name']); $uri = htmlspecialchars($extraInfos['uri']); $atomquery = str_replace('format=HtmlFormat', 'format=AtomFormat', htmlentities($_SERVER['QUERY_STRING'])); + $mrssquery = str_replace('format=HtmlFormat', 'format=MrssFormat', htmlentities($_SERVER['QUERY_STRING'])); $entries = ''; foreach($this->getDatas() as $data){ @@ -24,10 +25,10 @@ class HtmlFormat extends FormatAbstract{ $entries .= << -

{$entryTitle}

- {$entryTimestamp} - {$entryAuthor} - {$entryContent} +

{$entryTitle}

+ {$entryTimestamp} + {$entryAuthor} + {$entryContent} EOD; @@ -39,14 +40,18 @@ EOD; - - {$title} - - + + {$title} + + -

{$title}

-
+

{$title}

+
+ + + +
{$entries}