Matt's Dev Log

test

Can we use String.replace() instead of String.replaceAll()? This means the script finally works in Chrome <85, but I don’t know if it gives us the same functionality we want.!!!!

#testing #test #wysiwyg


Get future updates via RSS and ActivityPub: @devlog@matt.writefreely.dev.

This is some text.

Bold some text. New line and funky spacing ksjfdwkl

#WriteFreely #test


Get future updates via RSS and ActivityPub: @devlog@matt.writefreely.dev.

This is some text.

Bold some text.\ New line\ and funky spacing ksjdf

#WriteFreely #test


Get future updates via RSS and ActivityPub: @devlog@matt.writefreely.dev.

I created an account matt9248@socialhome.network and searched for @devlog@matt.writefreely.dev (this blog).

SocialHome successfully pulled up the account and I was able to follow it. I made a test post that went out to all followers successfully and seems to have been successfully received on socialhome.network (according to the 202 Accepted in the response, shown below).

Here are the logs on my end from the post going out to socialhome.network:

2019/11/27 13:01:19 POST https://socialhome.network/receive/public/
2019/11/27 13:01:19 POST /receive/public/ HTTP/1.1
Host: socialhome.network
User-Agent: Go (WriteFreely/0.11.1-13-gbbb7b28; +https://matt.writefreely.dev)
Content-Length: 1348
Content-Type: application/activity+json
Date: Wed, 27 Nov 2019 13:01:19 GMT
Digest: SHA-256=OdKi+5fNxiOZMV/xl8u3o+wQHPenx/VoL/4BQYMiu/Y=
Signature: keyId="https://matt.writefreely.dev/api/collections/devlog#main-key",algorithm="rsa-sha256",headers="(request-target) date host digest",signature="yL+tw87IQF9FaPW05Smq1/4+rPg0qAcVD3N124PXZ7ubG1NOVdU1y2og0HbQp4LYEIutzE5vmMUCtNcg62ETFOrjAGW3fzwmpld+lspnhnq/YOXfXbMf7E9NXfLlgamsSx4Rtimt1tAwAMD8HzO5kiHW1O5MNOxRpsDhXCaoHkB/gnJW4T3SfMISgEfREN3/Ix1CtNkzxHQflV/9aKZKN0YvR33ruvvk9UKtJwDY2lDvfcQqPlKOAo+7gu8KwVz8lNjfIyXmjc/23A4QZVTFrey9Ru8vQC7UFuzdbIX+8mcgQ9ERrJ+EfEr3R0DiG6NGgUOtGsPUwYitdmRHOtvycg=="
Accept-Encoding: gzip
[1B blob data]
{"@context":["https://www.w3.org/ns/activitystreams",{}],"type":"Create","id":"https://matt.writefreely.dev/api/posts/lr7wrfa67t","actor":"https://matt.writefreely.dev/api/collections/devlog","published":"2019-11-27T13:01:18Z","to":["https://www.w3.org/ns/activitystreams#Public"],"cc":["https://socialhome.network/u/matt9248/"],"object":{"type":"Article","id":"https://matt.writefreely.dev/api/posts/lr7wrfa67t","published":"2019-11-27T13:01:18Z","inReplyTo":null,"url":"https://matt.writefreely.dev/testing-socialhome","attributedTo":"https://matt.writefreely.dev/api/collections/devlog","to":["https://www.w3.org/ns/activitystreams#Public"],"cc":["https://socialhome.network/u/matt9248/"],"name":"Testing SocialHome","content":"\u003cp\u003eThis is just a \u003ca href=\"https://matt.writefreely.dev/tag:test\" class=\"hashtag\" rel=\"nofollow\"\u003e\u003cspan\u003e#\u003c/span\u003e\u003cspan class=\"p-category\"\u003etest\u003c/span\u003e\u003c/a\u003e post.\u003c/p\u003e\n","contentMap":{"en":"\u003cp\u003eThis is just a \u003ca href=\"https://matt.writefreely.dev/tag:test\" class=\"hashtag\" rel=\"nofollow\"\u003e\u003cspan\u003e#\u003c/span\u003e\u003cspan class=\"p-category\"\u003etest\u003c/span\u003e\u003c/a\u003e post.\u003c/p\u003e\n"},"tag":[{"type":"Hashtag","href":"https://matt.writefreely.dev/tag:test","name":"#test"}]}}
2019/11/27 13:01:19 Resp status : 202 Accepted
2019/11/27 13:01:19 Resp body   :

Get future updates via RSS and ActivityPub: @devlog@matt.writefreely.dev.

This is just a #test post.


Get future updates via RSS and ActivityPub: @devlog@matt.writefreely.dev.