Scroll to top

08/07/2021


2021/07/08#p1

0 comments: click to leave a comment

I think I've sorted the internal webmentions issue. It was a two-pronged problem:

  • the change in permalink structure meant that the endpoint was looking for the new version of URLs when the old version existed in the database
  • the blog was listing the permalink in format base_url/?date= but the permalink being saved to the database was in the format base_url?date=

The endpoint itself was fine and working properly it's just that the target URLs were wrong. I have updated the function that creates new posts to save the permalink with the slash and updated all the incorrect permalinks with a couple of SQL queries:

update TABLE_NAME set FIELD_NAME =
replace(FIELD_NAME, 'text to find', 'text to replace with');
No comments yet
Leave a reply



You can also:

Click here to reply using email Reply by email Send a webmention Send a Webmention



2021/07/08#p2

0 comments: click to leave a comment

Spent some time this evening working on the (b)log-In version of the digital garden. Page creation, updates and deletion are all working. I have some more work to do on parent/child relationships and making things look good but it's getting there. I may not bother with recreating archive functionality.

No comments yet
Leave a reply



You can also:

Click here to reply using email Reply by email Send a webmention Send a Webmention



Close