Hmm is the image fix only for images moving foward?
β©οΈ π β
Testing a minimal AP server. Be daring and follow.
Following: 6 | Followers: 9
This software is licenced under AGPL 3.0.
This site is a basic ActivityPub server designed to be a lightweight educational tool.
Hmm is the image fix only for images moving foward?
Ayyy, #kbin follow requests now work with this. Login to kbin, search for the account, and follow.
I think I just figured out how to serve up HTML for the /user and /@user pages based on Content-Type headers. Not 100% sure how to verify I didn't screw anything else up.
When I go to https://ape.box464.social/box464 it shows HTML, when I curl that same url with content-type of application/activity+json it serves up the JSON. Could do similar for followers and follows.
@example@example.viii.fi I'm **amazed** at how much functionality you've added in over the weekend! I started a similar project related to the Mastodon API, which is why I am so interested in this one for ActivityPub. My lesson learned to you is don't let it get too complicated.
It's easy to do because it's fun to work on! Remember the goal is to provide a baseline for learning AP, not a new single user instance platform.
I let this one get carried away...
https://mastodon-starter-vue.netlify.app/
Alright let's see if I can get these tests completed and a merge request created before edent adds anything else! π
Things are changing fast! Another test before I submit a PR. Let's throw a #hashtag in and see what chaos that causes, if any.
@Edent@mastodon.social I'm working on a banner addition to the AP Single File app. I also added some microformats and some formatting of the timeline on the home page.
https://ape.box464.social
Oh i see, it's only for viewing incoming messages from people you follow on the /read page.
I saw that you can now add and view audio and video files. Let's give it a shot! (The /write form shows "attach an image" but I think it will work...)
Testing posts after some pretty big updates.
Tested some of the new updates. Follows worked for quite a few platforms. Only one I had issues with was GoToSocial, which is by far the most strict - so not surprising. Request is delivered and accepted, but it isn't acknowledged by remote server so request shows as pending.
@Edent@mastodon.social
The message was received by all but wafrn. Html was displayed a little wonky but no big deal, wasn't even expecting it to work. Image didn't come through, so trying again with a smaller one.
Sending this message out to:
- Mastodon (2 instances)
- Catodon
- Sharkey
- Wafrn
- Friendica
- Kbin
Kbin follow request went through, but kBin still shows I'm not following.
GoToSocial follow request didn't work.
Heh heh heh...I figure out how to get a banner image to display when my profile is retrieved from my A.P.E.S server. :)
@Edent@mastodon.social
Here's the same message using the str_replace function instead.
Ah, I remember now. Cross app support. So Mastodon Web UI shows the line breaks, even without converting them.
But most apps do NOT. The line breaks don't show up at all.
And, for whatever reason the baked in functions to replace line breaks ends up with odd behavior across apps with more breaks than expected.
This entry was submitted with the new nl2br function.
Ah, I remember now. Cross app support. So Mastodon Web UI shows the line breaks, even without converting them.
But most apps do NOT. The line breaks don't show up at all.
And, for whatever reason the baked in functions to replace line breaks ends up with odd behavior across apps with more breaks than expected.
This entry was submitted with the new nl2br function.
TEST
Line 4 Line 5 Line 6
Removed all the linebreak code completely. Testing Line1 Testing Line 2 Testing Line 3
Removed the replacement code.
Well you know that I love to live with you
but you make me forget so very much
I forget to pray for the angels
and then the angels forget to pray for us.
-- Leonard Cohen, "So Long, Marianne"
Removed the replacement code. βThe time has come,β the Walrus said, βTo talk of many things: Of shoes β and ships β and sealing-wax β Of cabbages β and kings β And why the sea is boiling hot β And whether pigs have wings β¦β -- Lewis Carroll
Testing an update to line break replacement. Let's try a poem.
Said A to B, βI donβt like C;
His manners are a lack.
For all I ever see of C
Is a semi-circular back!β
Oooh we're getting fancy now! Images and alt text. Let's see.
I'm also testing line breaks.
The woods are lovely, dark and deep, But I have promises to keep, And miles to go before I sleep, And miles to go before I sleep. -- Robert Frost https://www.poetryfoundation.org/poems/42891/stopping-by-woods-on-a-snowy-evening
Now I'm curious if a known oEmbed link will still embed over at Mastodon using this APES instance. https://archive.org/embed/msdos_Ms._Pac-Man_1983
Ah looks like URL linking and hashtags were added today! Cool! https://fedidevs.org/ #ActivityPub #FediDevs
I wonder if true [markdown](https://www.markdownguide.org/) *gets parsed* appropriately by other instances.
Oh hello. What about an image? Surely not.
Including a link didn't "link" as expected. What happens when I add html in here? The Useless Web
It's a beautiful day, and the start of a long weekend. Let's code. https://scratch.mit.edu/projects/10128197/
Final test of the evening (or morning). This was fun!
A.P.E.S. is alive (ActivityPub Edent Server)