Publishing now has a space for an article and a title. Also reduced amount of copying

This commit is contained in:
Blue 2025-03-31 18:46:40 +03:00
parent 98bfab4ba5
commit 8187d045cd
Signed by: blue
GPG key ID: 9B203B252A63EE38
8 changed files with 76 additions and 35 deletions

View file

@ -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()));