diff options
author | Jozef Selesi <jozefs@users.sourceforge.net> | 2008-11-23 00:24:56 +0000 |
---|---|---|
committer | Jozef Selesi <jozefs@users.sourceforge.net> | 2008-11-23 00:24:56 +0000 |
commit | d14d312d0699677a00c71e38b9d3ce26d6629597 (patch) | |
tree | 088bb2333e878b96ab4d17cc959440189a118d90 /modules/atom/libraries/Atom_Entry.php | |
parent | d93d37a10c289d9ffe99e765c45f47209686c893 (diff) |
* 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.
Diffstat (limited to 'modules/atom/libraries/Atom_Entry.php')
-rw-r--r-- | modules/atom/libraries/Atom_Entry.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/atom/libraries/Atom_Entry.php b/modules/atom/libraries/Atom_Entry.php index d566f49b..345755c2 100644 --- a/modules/atom/libraries/Atom_Entry.php +++ b/modules/atom/libraries/Atom_Entry.php @@ -17,6 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ + class Atom_Entry_Core extends Atom_Base { public function id($id) { $this->element->appendChild($this->dom->createElement("id", $id)); |