Skip to main content

Johan Bové

Webmention DELETE testing with webmention.rocks

2 min read

Testing if deleting a webmention works in Known.

The result of the quick test was successful:

Successful Tests
The mentions below have successfully passed the test! If you visit any of the links below, you should see an indication that the post was deleted.
    No Name
    Comment text not found
    https://social.johanbove.info/2019/11/05/testing-webmentions-in-known-and-deleting-a
    The post did not provide a URL, using source instead

The Status as sent by the Known CMS:

Request URL: https://social.johanbove.info/2019/11/05/testing-webmentions-in-known-and-deleting-a
Request method:GET
Remote address: ...
Status code: 410 Gone
Version:HTTP/2.0
Referrer Policy:no-referrer-when-downgrade

The Test

How to test is explained on this webmention.rocks test: https://webmention.rocks/delete/1

This test verifies that you properly send Webmentions when you delete a post. You will pass this test when you send a Webmention to a URL that you had previously mentioned in a post.

  1. Write a post that links to this page, and send Webmentions for your post.
  2. Verify you see your post as "pending" on this page.
  3. Delete your post, and ensure that the post's URL is now returning HTTP 410 (or a meta http-equiv 410 status).
  4. Send a Webmention to this page again.

You should see your post listed here in the green "Successful Tests" section when complete.

Resources

Johan Bové

Known Questions

2 min read

These are some questions I have about my Known server instance.

Q1. Redis Support?

My web host supports Redis. Anyone know if there is a plugin for Known which activates Redis cache? Does it make sense to activate Redis for a single-user Known site?

Q2. AsynchronousQueue on a shared web host without sudo access?

Also, I'm on a shared web host where I have access to a limited SSH access, without sudo; how can I set up Known cron for the AsynchronousQueue event queue?

Q3. Which PHP 7.3 Extensions should be active?

Which PHP (7.3) extensions should be active for a Known server instance? See my list here in the screenshot below:

screenshot of active PHP 7.3 extensions

 

Q4. RESOLVED - How can I get the Twitter POSSE plugin working? 

I currently need to manually mention the https://brid.gy publish webmention endpoints to repost my posts and status updates. The Twitter plugin by Known doesn't work on my server. Suspecting an outdated dependency on the tmhOAuh PHP library. Would be awesome if I can get that to work.

Resolution: update the tmhOAuth plugin and cacert.pem certificate.

Q5. Tagging with Known input forms is missing the dedicated tags field

Check why.

To be continued...