xmpp_p2p
    Preparing search index...

    Function parseMicroblogEntry

    • Parses an Atom entry or plain post body into a normalized feed post.

      Parameters

      • topic: string

        PubSub topic for the feed.

      • itemEl: Element

        PubSub item element containing the entry.

      • from: string

        Sender JID or peer reference.

      • Optionalnode: string

        Optional PubSub node name.

      Returns XmppFeedPost | undefined

      A normalized feed post or undefined when the payload is not usable.