Skip to content
  • Kategorien
  • Aktuell
  • Tags
  • World
  • Beliebt
  • Benutzer
  • Gruppen
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen

Radforum Düsseldorf

  1. Übersicht
  2. Fediverse Enhancement Proposals
  3. FEP-b2b8: Long-form Text

FEP-b2b8: Long-form Text

Geplant Angeheftet Gesperrt Verschoben Fediverse Enhancement Proposals
37 Beiträge 8 Kommentatoren 17 Aufrufe
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • silverpill@mitra.socialS silverpill@mitra.social

    @julian

    summary gets you part of the way there, but Mastodon would still strip out the inline images, and I don't want to add image assets to Article in attachment because I want to promote the support for inline images for non-Notes.

    If Mastodon can display summary, why inline images are a concern? Summary with a link should be enough for previewing.

    julian@community.nodebb.orgJ This user is from outside of this forum
    julian@community.nodebb.orgJ This user is from outside of this forum
    julian@community.nodebb.org
    schrieb zuletzt editiert von
    #28

    silverpill@mitra.social for me, summary is a stop-gap until a proper alternative representation is agreed-upon. content in Article is unusable at the moment due to aforementioned restrictions (even more so than content in Note).

    Don't worry scott@authorship.studio, stuffing the whole post body into summary isn't a "trend" you should be worried about.

    1 Antwort Letzte Antwort
    0
    • silverpill@mitra.socialS silverpill@mitra.social

      @julian

      summary gets you part of the way there, but Mastodon would still strip out the inline images, and I don't want to add image assets to Article in attachment because I want to promote the support for inline images for non-Notes.

      If Mastodon can display summary, why inline images are a concern? Summary with a link should be enough for previewing.

      wistex@socialhub.activitypub.rocksW This user is from outside of this forum
      wistex@socialhub.activitypub.rocksW This user is from outside of this forum
      wistex@socialhub.activitypub.rocks
      schrieb zuletzt editiert von
      #29

      One of the problems with using summary for a preview is that some platforms, like Hubzilla, strip out all of the HTML. And by doing that, is it really a preview anymore?

      silverpill@mitra.socialS 1 Antwort Letzte Antwort
      0
      • wistex@socialhub.activitypub.rocksW This user is from outside of this forum
        wistex@socialhub.activitypub.rocksW This user is from outside of this forum
        wistex@socialhub.activitypub.rocks
        schrieb zuletzt editiert von
        #30

        @julian By the way, I was not criticizing you personally. The entire ActivityPub situation is messed up where we have to do things that make no sense so they are compatible with certain systems.

        And if putting the whole post in summary was not intended, then there is a bug, because we are receiving the body of the post as both the summary and the body fields.

        1 Antwort Letzte Antwort
        0
        • wistex@socialhub.activitypub.rocksW This user is from outside of this forum
          wistex@socialhub.activitypub.rocksW This user is from outside of this forum
          wistex@socialhub.activitypub.rocks
          schrieb zuletzt editiert von
          #31

          A URL would be better, but in the case of a blog post, most people would expect it to deliver them to the original blog post. What WordPress would call a permalink.

          1 Antwort Letzte Antwort
          0
          • wistex@socialhub.activitypub.rocksW wistex@socialhub.activitypub.rocks

            One of the problems with using summary for a preview is that some platforms, like Hubzilla, strip out all of the HTML. And by doing that, is it really a preview anymore?

            silverpill@mitra.socialS This user is from outside of this forum
            silverpill@mitra.socialS This user is from outside of this forum
            silverpill@mitra.social
            schrieb zuletzt editiert von
            #32

            Depends on what is being stripped. Does it completely remove all HTML content, including text paragraphs, or just sanitizes it?

            ActivityStreams vocabulary defines summary as "A natural language summarization of the object encoded as HTML":

            Link Preview Image
            Activity Vocabulary

            favicon

            (www.w3.org)

            I think that means images and other media shouldn't appear in summary, because they are not natural language.

            wistex@socialhub.activitypub.rocksW 2 Antworten Letzte Antwort
            0
            • wistex@socialhub.activitypub.rocksW This user is from outside of this forum
              wistex@socialhub.activitypub.rocksW This user is from outside of this forum
              wistex@socialhub.activitypub.rocks
              schrieb zuletzt editiert von
              #33

              There is a subtle distinction between using a URL that serves as a unique identifier and a URL that directs you to the source rendered as a web page.

              When I said link, I was referring to something that resolves to a web page, typically showing the blog post or forum thread or social media post. Something you can put in the UI that users click on.

              1 Antwort Letzte Antwort
              0
              • silverpill@mitra.socialS silverpill@mitra.social

                Depends on what is being stripped. Does it completely remove all HTML content, including text paragraphs, or just sanitizes it?

                ActivityStreams vocabulary defines summary as "A natural language summarization of the object encoded as HTML":

                Link Preview Image
                Activity Vocabulary

                favicon

                (www.w3.org)

                I think that means images and other media shouldn't appear in summary, because they are not natural language.

                wistex@socialhub.activitypub.rocksW This user is from outside of this forum
                wistex@socialhub.activitypub.rocksW This user is from outside of this forum
                wistex@socialhub.activitypub.rocks
                schrieb zuletzt editiert von
                #34

                As far as I can tell as a user, Hubzilla currently treats summary as plain text.

                And I don't think Hubzilla expected HTML, since we currently have this weird situation where it converts all incoming text to BBCode, but then does not parse the BBCode for the summary field. HTML in the summary appears to be an unexpected use case for Hubzilla.

                I am not sure what Mario Vati (the head developer) plans to do about the situation. I saw a post where he was trying to get clarification of why we are receiving HTML in the summary from some platforms.

                julian@community.nodebb.orgJ 1 Antwort Letzte Antwort
                0
                • silverpill@mitra.socialS silverpill@mitra.social

                  Depends on what is being stripped. Does it completely remove all HTML content, including text paragraphs, or just sanitizes it?

                  ActivityStreams vocabulary defines summary as "A natural language summarization of the object encoded as HTML":

                  Link Preview Image
                  Activity Vocabulary

                  favicon

                  (www.w3.org)

                  I think that means images and other media shouldn't appear in summary, because they are not natural language.

                  wistex@socialhub.activitypub.rocksW This user is from outside of this forum
                  wistex@socialhub.activitypub.rocksW This user is from outside of this forum
                  wistex@socialhub.activitypub.rocks
                  schrieb zuletzt editiert von
                  #35

                  This is what we receive in the summary field and how it is displayed. You have to click on "View Article" to see the formatted version.

                  Link Preview Image

                  1 Antwort Letzte Antwort
                  0
                  • wistex@socialhub.activitypub.rocksW wistex@socialhub.activitypub.rocks

                    As far as I can tell as a user, Hubzilla currently treats summary as plain text.

                    And I don't think Hubzilla expected HTML, since we currently have this weird situation where it converts all incoming text to BBCode, but then does not parse the BBCode for the summary field. HTML in the summary appears to be an unexpected use case for Hubzilla.

                    I am not sure what Mario Vati (the head developer) plans to do about the situation. I saw a post where he was trying to get clarification of why we are receiving HTML in the summary from some platforms.

                    julian@community.nodebb.orgJ This user is from outside of this forum
                    julian@community.nodebb.orgJ This user is from outside of this forum
                    julian@community.nodebb.org
                    schrieb zuletzt editiert von
                    #36

                    Can you point me to where Mario is asking for feedback?

                    1 Antwort Letzte Antwort
                    0
                    Antworten
                    • In einem neuen Thema antworten
                    Anmelden zum Antworten
                    • Älteste zuerst
                    • Neuste zuerst
                    • Meiste Stimmen


                    Diese Artikel könnten Dich auch interessieren.

                    Powered by NodeBB | Contributors
                    © 2021 - 2023 linux-nerds.org
                    • Anmelden

                    • Du hast noch kein Konto? Registrieren

                    • Anmelden oder registrieren, um zu suchen
                    • Erster Beitrag
                      Letzter Beitrag
                    0
                    • Kategorien
                    • Aktuell
                    • Tags
                    • World
                    • Beliebt
                    • Benutzer
                    • Gruppen