ActivityPub testing again
-
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...