@ted wordpress caching does not support content negotiation by default. it caches what was requested and returned. if mastodon requests the page content in JSON after it was federated, the cache would take this response and cache it. so either you disable caching or you disable content negotiation for user facing sites.
-
-
@pfefferle ahhh i get you. that's a bummer. Thanks for the info!
-
@ted you're welcome

It is not always easy to deal with the WordPress beast

-
@seindal this sounds like your reader needs fixing / a "Show more" feature.
Seriously. There is nothing in the spec that says "must not use more than 500 characters" or something. This is one of the *strong* points of the Fe*diverse*.
-
@janeckhoff I will check with them to maybe truncate the quotes!
the weird JS output is already fixed and will be published with the next release. I will also how to limit the podcast episode to the summary!
sorry about that!
-
@pfefferle that sounds great, thanks — I honestly didn’t realize you were exactly the right person to address this bug at its root tbh, I merely thought that maybe you want to edit your post if you‘re made aware of this problem

-
@pfefferle @snarfed.org @anewsocial excited to listen now!
fyi heres how your post looks in @phanpy / the latest version of mastodon

-
WordPress sometimes returns JSON to a Webbrowser instead of the HTML page. · Issue #580 · Automattic/wordpress-activitypub
Quick summary Sometimes and for some users WordPress returns a JSON object to a regular browser request interested of the normal website. This (sometimes) persists on reload Steps to reproduce No idea 🤷 What you expected to happen The no...
GitHub (github.com)
…and to clarify, that was the default behavior, but afaik the plugin was updated to support both caching and content negotiation together.
on a related note, content negotiation sucks
https://snarfed.org/2023-03-24_49619-2 -
@quillmatiq you should post about this on the @anewsocial account!
-
@liaizon Tysm for the heads up!
-
@liaizon @snarfed.org @anewsocial @phanpy yes, the podcast plugin is adding a JS embed! I fixed it and it will be patched in the next version!
-
@pfefferle oh glad it was already figured out! Just thought I'd report just in case
Ciao! Sembra che tu sia interessato a questa conversazione, ma non hai ancora un account.
Stanco di dover scorrere gli stessi post a ogni visita? Quando registri un account, tornerai sempre esattamente dove eri rimasto e potrai scegliere di essere avvisato delle nuove risposte (tramite email o notifica push). Potrai anche salvare segnalibri e votare i post per mostrare il tuo apprezzamento agli altri membri della comunità.
Con il tuo contributo, questo post potrebbe essere ancora migliore 💗
Registrati Accedi
Citiverse è un progetto che si basa su NodeBB ed è federato! | Categorie federate | Chat | 📱 Installa web app o APK | 🧡 Donazioni | Privacy Policy

