mod_pubsub_github/mod_pubsub_github.lua
changeset 3522 95c1c3e057cf
parent 3521 ea1edd7cfb01
child 3523 ac623080324a
equal deleted inserted replaced
3521:ea1edd7cfb01 3522:95c1c3e057cf
    49 			st.stanza("item", { id = commit.id, xmlns = "http://jabber.org/protocol/pubsub" })
    49 			st.stanza("item", { id = commit.id, xmlns = "http://jabber.org/protocol/pubsub" })
    50 			:tag("entry", { xmlns = "http://www.w3.org/2005/Atom" })
    50 			:tag("entry", { xmlns = "http://www.w3.org/2005/Atom" })
    51 				:tag("id"):text(commit.id):up()
    51 				:tag("id"):text(commit.id):up()
    52 				:tag("title"):text(commit.message):up()
    52 				:tag("title"):text(commit.message):up()
    53 				:tag("link", { rel = "alternate", href = commit.url }):up()
    53 				:tag("link", { rel = "alternate", href = commit.url }):up()
    54 				:tag("published"):text(commit.timestamp):up()
    54 				:tag("published"):text(commit.author.date):up()
    55 				:tag("author")
    55 				:tag("author")
    56 					:tag("name"):text(commit.author.name):up()
    56 					:tag("name"):text(commit.author.name):up()
    57 					:tag("email"):text(commit.author.email):up()
    57 					:tag("email"):text(commit.author.email):up()
    58 					:up()
    58 					:up()
    59 		);
    59 		);