-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Temporary change theme for Webmention request #38
Comments
Does everyone use this in their user agent? |
I don't think so, but even if we get > 70% it is worth trying?!? |
From the spec:
|
@Aaronok @indieweb/wordpress what do you think? |
hrm, i'm not sure. sounds like this would have most of the problems we've documented in https://indieweb.org/sidefile-antipattern . i imagine you'll end up with different content in this special theme, and that will diverge from the user-visible theme even more over time. not to mention you then have twice the maintenance work since there are two themes instead of one. |
Sounds kind of like doing content negotiation to return a different document for a specific request. I'm not a huge fan of requiring content negotiation but it seems that would be a better approach than this theme switching, since at least there are existing defined behaviors for it. Theme switching seems like it'd be full of problems like if there is a cache plugin or if it's behind a caching cdn... |
@aaronpk for example a jf2 feed as fallback if theme does not support mf2? Like: |
Yeah exactly, that way the client can tell the server what formats it can handle, so the server can decide to return a jf2feed (or maybe just the microformats json?) instead. This should also work behind caching proxies since they should take the Accept header into account. Just to be clear, I'm not sold on this idea to begin with, but I would hate to see a super non-standard way of doing it. |
I already started an experimental plugin over a year ago https://github.com/pfefferle/wordpress-uf2-feed But I got your point, perhaps we can start a brainstorming page in the wiki... |
|
What about bundling a microformatted default barebone theme (no style, just POSH) and use this theme if the request useragent is
/.*webmention.*/
?The text was updated successfully, but these errors were encountered: