Favorited link rel="alternate" type="text/plain" by Terence Eden

This is nice, providing a way to serve every posting in a WordPress site as plain text. Useful for faster load times, but also as a way to more easily pipe a posting into some other script as HTML is already stripped. I think I want to play around with this option. Full template and set-up at his GitLab page.

Simply append .txt to the URl of any page and you’ll get back the contents in plain UTF-8 text. No formatting, no images (although you can see the alt text), no nothing!

Terence Eden

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

To respond on your own website, enter the URL of your response which should contain a link to this post's permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post's URL again. (Find out more about Webmentions.)