Bookmarklet: Copy Ghost Post ID to Clipboard 0 ▲ The Autodidacts 180 days ago · Tech · hide · Fediverse post I often need to get the internal UUID for a Ghost CMS post: for example, in order to save it as markdown.Previously, I would go to the post, append /edit to the URL, hit enter, and then copy the last section of the URL, which is the UUID for the post in the editor. Tedious!As I suspected, the post ID is right there in the HTML of the post: it’s used to load comments for the right post. So, like I did for appending /edit to the URL: Drag the link below to your bookmarks bar and click it when you’re viewing a post on your Ghost blog: Edit Post!It will append /edit to the url and reload, so you can edit your post— Built with ❤ by @curiositry (Twitter, GitHub) .... and linking to text fragments, and jumping between staging and production versions of a site, I wrote a two-line bookmarklet to extract the current post ID, and put it on the clipboard:let postId = document.querySelector("[data-post-id]").getAttribute("data-post-id"); navigator.clipboard.writeText(postId).then(() => {… Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town