From 0acadb2a2bf304caa079f346d027a58d927c787e Mon Sep 17 00:00:00 2001 From: jk Date: Wed, 25 Nov 2020 13:33:05 +0000 Subject: [PATCH] Scripted auto-commit on change (2020-11-25 13:33:05) by gitwatch.sh --- content/response/5fbe5d08/index.md | 18 ++++++++++++++++++ hugo.log | 4 ++++ 2 files changed, 22 insertions(+) create mode 100644 content/response/5fbe5d08/index.md diff --git a/content/response/5fbe5d08/index.md b/content/response/5fbe5d08/index.md new file mode 100644 index 00000000..dde49ff0 --- /dev/null +++ b/content/response/5fbe5d08/index.md @@ -0,0 +1,18 @@ +--- +date: '2020-11-25 13:32:56' +draft: false +in-reply-to: 'https://social.nipponalba.scot/notice/A1YYC4zXroQbc6AhaC' +pleromaurl: 'https://social.nipponalba.scot/notice/A1Yes4ihrmR2ethgwq' +posttype: in-reply-to +sensitive: 'false' +slug: 5fbe5d08 +visibility: public +title: in-reply-to +xAuthor: 'J K 🇯🇵🏴󠁧󠁢󠁳󠁣󠁴󠁿' +xAuthorUrl: 'https://social.nipponalba.scot/users/jk' +xPhoto: 'https://social.nipponalba.scot/media/201caaea1889f39529535e829117ad39acdd7db241be2c888363e72bda171c67.jpg?name=profile.jpg' +xContent: 'OK, so I think the process will go like this:

1. GET remote URL of reply status
2. GET remote context of reply status
3. From remote context get URL of original post
4. Curl original post (which is to an object rather than notice.. ) and grab the local ID of the original status from the redirect message..
5. GET local context of original status locally
6. Loop through each status entry in context array until you hit the one thats URL matches the remote URL of the status I am trying to reply to..
7. From that record, grab the local ID of the same status and send the reply to it..

.. fun!(?!?!?!)' +xPublished: '2020-11-25T12:18:12+00:00' +xPostType: reply +--- +Testing local replies diff --git a/hugo.log b/hugo.log index 3dee5980..1b793fbb 100644 --- a/hugo.log +++ b/hugo.log @@ -21632,3 +21632,7 @@ ERROR 2020/11/25 13:20:55 render of "page" failed: "/var/www/nipponalba/jk_na/th ERROR 2020/11/25 13:20:55 render of "page" failed: "/var/www/nipponalba/jk_na/themes/nipponalba/layouts/_default/single.html:96:288": execute of template failed: template: _default/single.html:96:288: executing "main" at : error calling dateFormat: unable to cast of type to Time ERROR 2020/11/25 13:20:55 render of "page" failed: "/var/www/nipponalba/jk_na/themes/nipponalba/layouts/_default/single.html:96:288": execute of template failed: template: _default/single.html:96:288: executing "main" at : error calling dateFormat: unable to cast of type to Time ERROR 2020/11/25 13:20:55 render of "section" failed: "/var/www/nipponalba/jk_na/layouts/_default/section.html:68:304": execute of template failed: template: _default/section.html:68:304: executing "main" at : error calling dateFormat: unable to cast of type to Time +ERROR 2020/11/25 13:32:59 render of "page" failed: "/var/www/nipponalba/jk_na/themes/nipponalba/layouts/_default/single.html:96:288": execute of template failed: template: _default/single.html:96:288: executing "main" at : error calling dateFormat: unable to cast of type to Time +ERROR 2020/11/25 13:32:59 render of "page" failed: "/var/www/nipponalba/jk_na/themes/nipponalba/layouts/_default/single.html:96:288": execute of template failed: template: _default/single.html:96:288: executing "main" at : error calling dateFormat: unable to cast of type to Time +ERROR 2020/11/25 13:32:59 render of "page" failed: "/var/www/nipponalba/jk_na/themes/nipponalba/layouts/_default/single.html:96:288": execute of template failed: template: _default/single.html:96:288: executing "main" at : error calling dateFormat: unable to cast of type to Time +ERROR 2020/11/25 13:32:59 render of "section" failed: "/var/www/nipponalba/jk_na/layouts/_default/section.html:68:304": execute of template failed: template: _default/section.html:68:304: executing "main" at : error calling dateFormat: unable to cast of type to Time