ActivityPub testing again
-
Elena Brescacinreplied to Matthias Pfefferle on last edited by
@pfefferle @network I'll try some more experiments using the excerpt field. It's worth experimenting! As this blog contains very long stories in it, having a full-length post on display especially for mastodon 500-character-long readers, would be uncomfortable.
-
Elena Brescacinreplied to Matthias Pfefferle on last edited by
@pfefferle I will wait for your writings about post formats; I wouldn't like to lose followers because Fediverse doesn't render them well, even before starting to acquire them...
-
Matthias Pfefferlereplied to Elena Brescacin on last edited by
-
PlusBrothersreplied to Matthias Pfefferle on last edited by
@pfefferle – In “block themes”, the “read more” is a Gutenberg block; in the “classic themes” it is a tag, anyways the main suggestion is to give bloggers the ability to control how, where and when the post will be truncated. Through “read more” block/tag, a certain number of characters/words, a single paragraph (the closure of a /p html paragraph tag), the post excerpt, whatever parameter could be implemented – I’m really sorry I’m not a coder, I can not go beyond suggestions.
-
@network @pfefferle Involving @informapirata in the discussion about post formats too, we were just talking about this in the Italian instance some minutes ago, we talked about how differently various #fediverse platforms treat posts and Informapirata said "I've decided to post just title and excerpt from #WordPress otherwise Mastodon messes up text and pics". And I replied "I'm in touch with Matthias Pfefferle to collect feedbacks about formats and improve it"
-
Matthias Pfefferlereplied to Elena Brescacin on last edited by
@talksina @network @informapirata I added a draft to support "read more" for the Post-Formats feature https://github.com/Automattic/wordpress-activitypub/pull/856
-
@pfefferle @talksina @network @informapirata This would also be beneficial for https://github.com/Automattic/wordpress-activitypub/issues/556.
-
-
@matze @talksina @network @informapirata is this something that should be an extra shortcode or should it be like: if there is a "read more" use that as excerpt, if not generate the excerpt?!?
-
@matze @talksina @network @informapirata I think the "fall back to excerpt" might make more sense, because you might not want to use "read more" on every post?!?
-
Elena Brescacinreplied to Matthias Pfefferle on last edited by
@pfefferle @matze Yes, I agree with this: if the plugin gets the excerpt, it displays the excerpt; if it detects the "read more" it posts the text before the "read more" block; and I'd also give an alternative of the shortcode. Such as: [ap_message] - blocks - [/ap_message] - PS I disconnected my blog and the other user from the thread as I found another incoherence in Fediverse-to-WordPress interaction but I'll let you know somewhere else.
-
Matthias Pfefferlereplied to Elena Brescacin on last edited by
@talksina @matze so my proposal for the summary would be
1. if excerpt is set, use that
2. if read-more is set use that
3. generate excerpt from content and use thathow does that sound?
the problem with a dedicated shortcode is, if you use it and have a post without read-more (maybe because the text is too short) it will show nothing. that's why I would prefer the fallback solution I mention above.
-
Elena Brescacinreplied to Matthias Pfefferle on last edited by
@pfefferle @matze Yeah, this can be a good compromise. Then, regarding excerpt my question is: if I put a # hashtag or a @ mention in there, does ActivityPub get it as correct reference links, on Fediverse platforms? Using the "note" activity-object it didn't, with "wordpress format" I have yet to test
-
Matthias Pfefferlereplied to Elena Brescacin on last edited by
-
Elena Brescacinreplied to Matthias Pfefferle on last edited by
@pfefferle @matze OK, let me know. Unfortunately I just have the production environment to test, so I reluctantly over-post in my blog without something useful to say...