From a38735cb2adabb75f110669d5425bf389cfc7ab7 Mon Sep 17 00:00:00 2001 From: Nathan Fritz Date: Wed, 2 Jun 2010 15:54:44 -0700 Subject: [PATCH] added very, very, very basic atom stanza --- sleekxmpp/stanza/atom.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 sleekxmpp/stanza/atom.py diff --git a/sleekxmpp/stanza/atom.py b/sleekxmpp/stanza/atom.py new file mode 100644 index 0000000..5e82cb9 --- /dev/null +++ b/sleekxmpp/stanza/atom.py @@ -0,0 +1,11 @@ +from .. xmlstream.stanzabase import ElementBase, ET, JID +from xml.etree import cElementTree as ET + +class AtomEntry(ElementBase): + namespace = 'http://www.w3.org/2005/Atom' + name = 'entry' + plugin_attrib = 'entry' + interfaces = set(('title', 'summary')) + sub_interfaces = set(('title', 'summary')) + plugin_attrib_map = {} + plugin_tag_map = {}