From d14d312d0699677a00c71e38b9d3ce26d6629597 Mon Sep 17 00:00:00 2001 From: Jozef Selesi Date: Sun, 23 Nov 2008 00:24:56 +0000 Subject: * Individual comment views now output valid Atom 1.0 entries: http://example.gallery.com/index.php/comments/{comment_id}?_format=atom * Changed Content-Type of Atom feeds and entries to XML for easier debugging. * Added an Atom helper class with some common functions and cleaned up entry and feed generation code a bit in the comment helper. * Style fixes. --- modules/atom/helpers/atom.php | 52 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 modules/atom/helpers/atom.php (limited to 'modules/atom/helpers') diff --git a/modules/atom/helpers/atom.php b/modules/atom/helpers/atom.php new file mode 100644 index 00000000..fed15eb7 --- /dev/null +++ b/modules/atom/helpers/atom.php @@ -0,0 +1,52 @@ +