Publishing now has a space for an article and a title. Also reduced amount of copying
This commit is contained in:
parent
98bfab4ba5
commit
8187d045cd
8 changed files with 76 additions and 35 deletions
|
@ -76,7 +76,7 @@ void Connection::publish(const std::string& service, const std::string& node, co
|
|||
|
||||
entry->addChild(new gloox::Tag("id", "urn:uuid:" + Shared::getUUID()));
|
||||
entry->addChild(new gloox::Tag("title", title));
|
||||
entry->addChild(new gloox::Tag("summary", body));
|
||||
entry->addChild(new gloox::Tag("content", body));
|
||||
entry->addChild(new gloox::Tag("updated", Shared::getISOTimestamp()));
|
||||
entry->addChild(new gloox::Tag("published", Shared::getISOTimestamp()));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue