class
XMPP::Stanza::Bookmarks
- XMPP::Stanza::Bookmarks
- Reference
- Object
Overview
Bookmarks implements XEP-0048 - Bookmark Conformance.
Bookmarks are the user's saved chat rooms (and URLs in v1.0). They are conventionally stored on the PEP node "storage:bookmarks" (XEP-0402) and may also be carried in private XML storage (XEP-0049). Items published to the PEP node use this payload.
Defined in:
xmpp/stanza/bookmarks.crConstructors
Class Method Summary
-
.from_node(node : Node) : Bookmarks | Nil
from_node converts a generic Item payload (as delivered in a PEP notification) back into a Bookmarks model.
- .xml_name : String
Instance Method Summary
- #conferences : Array(BookmarkConference)
-
#to_node : Node
to_node converts the model into the generic Item payload used when publishing to the "storage:bookmarks" PEP node.
- #to_xml(xml : XML::Builder)
- #urls : Array(BookmarkURL)
Constructor Detail
Class Method Detail
from_node converts a generic Item payload (as delivered in a PEP notification) back into a Bookmarks model.
Instance Method Detail
to_node converts the model into the generic Item payload used when publishing to the "storage:bookmarks" PEP node.