summaryrefslogtreecommitdiff
path: root/sleekxmpp/stanza
diff options
context:
space:
mode:
authorNathan Fritz <nathan@andyet.net>2010-06-02 15:54:44 -0700
committerNathan Fritz <nathan@andyet.net>2010-06-02 15:54:44 -0700
commita38735cb2adabb75f110669d5425bf389cfc7ab7 (patch)
treeed2a613f8463f9ab9e45e6e4d47bbeccffeda856 /sleekxmpp/stanza
parent18e27d65ce47d877d6b2c810979df640aba7d8ba (diff)
downloadslixmpp-a38735cb2adabb75f110669d5425bf389cfc7ab7.tar.gz
slixmpp-a38735cb2adabb75f110669d5425bf389cfc7ab7.tar.bz2
slixmpp-a38735cb2adabb75f110669d5425bf389cfc7ab7.tar.xz
slixmpp-a38735cb2adabb75f110669d5425bf389cfc7ab7.zip
added very, very, very basic atom stanza
Diffstat (limited to 'sleekxmpp/stanza')
-rw-r--r--sleekxmpp/stanza/atom.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/sleekxmpp/stanza/atom.py b/sleekxmpp/stanza/atom.py
new file mode 100644
index 00000000..5e82cb98
--- /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 = {}