scripting / wordlandSupport

A place for developer support for WordLand.
0 stars 0 forks source link

ActivityPub update #8

Open scripting opened 1 week ago

scripting commented 1 week ago

Here's a screen shot of a post in WordLand.

image

Note it has a title and an image.

Here's the post on wordpress.com.

Here's the post as viewed via ActivityPub.

Note that the post on AP has a title! This is good. Progress.

But the picture doesn't appear. I will investigate, comments welcome.

Note the image-posting features aren't deployed in the public version of WL yet. Probably later today.

pfefferle commented 1 week ago

This is because it is not saved as a Block! We have to check how we can fallback to classic HTML parsing properly.

scripting commented 1 week ago

@pfefferle -- gotcha.

i seemed to remember that there was a text-based interface for blocks, but when i looked into it this time around, i didn't find it.

it's more complicated here because we save the text in markdown, and regenerate the html when that's needed.

so we'll need a markdown-safe way to embed a block. i want to do it that way. this product is tied to wordpress, so i don't want to be opposing wp conventions, i want to embrace them.

been through this before with apple, microsoft, google, etc. it works best if we're not on the fence about the platform we're developing for.

that said if it's insurmountable, it is what it is. ;-)

scripting commented 1 week ago

A quick demo of uploading an image.

https://github.com/user-attachments/assets/198d9b9d-ef09-478f-a556-0b9c09b25941