GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    さやまめ (sayabeans@misskey.niri.la)'s status on Sunday, 12-Jan-2025 22:42:13 JST さやまめ さやまめ
    in reply to
    • anatawa12 :vrc::unity::unityerror:

    @anatawa12 plainっぽい(vrcjp.hostodonで覗いてきた)

    In conversation about 5 months ago from misskey.niri.la permalink
    • Embed this notice
      のえる (noellabo@fedibird.com)'s status on Sunday, 12-Jan-2025 22:42:13 JST のえる のえる
      in reply to
      • かき@GNUsocialJP
      • anatawa12 :vrc::unity::unityerror:

      @Sayabeans @anatawa12 Mastodonはリモート投稿の場合、contentのHTMLをそのままデータベースに保持して、

      REST応答を返す時にサニタイズ(受け入れない要素を除去)し、

      クライアントのWebUI側でアンカーとREST中のメンションを付き合わせてReactの内部リンクに差し替える、

      という処理の仕方をします。

      URLもメンション形式の記載も、リンク化したりはせず、そのままいじりません。

      絵文字は元になるデータをRESTに添えて同時に渡し、クライアント・WebUI側でHTMLをパースして、テキスト部分からショートコードを探して置換します。

      In conversation about 5 months ago permalink

      Attachments


      1. https://s3.fedibird.com/media_attachments/files/113/815/514/275/872/674/original/4cf87fc2f8971e88.png
    • Embed this notice
      anatawa12 :vrc::unity::unityerror: (anatawa12@misskey.niri.la)'s status on Sunday, 12-Jan-2025 22:42:14 JST anatawa12 :vrc::unity::unityerror: anatawa12 :vrc::unity::unityerror:

      そういえば mastodon って @anatawa12@misskey.niri.la (plainの中のメンション)ってどんな表示になるんだろ

      In conversation about 5 months ago permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.