Replies

@AndyNicolaides @jean I’ve never looked into Drafts before this post, but it seems very hackable. You can do whatever you want, more or less, in many different ways. If I understand your question correctly, you want to create new drafts prefilled with boilerplate content.

The action New Draft with Template might be what you’re looking for. If not, maybe you could cook something up with URL Schemes? For example, the following URL will create a new draft with “Hello, World!” as content: drafts://x-callback-url/create?text=Hello%2C%20World!. A third alternative is to create a custom Shortcut.

That’s a great question! The short answer is: in order of relevance. For the longer answer…

An algorithm based on BM25 calculates a relevance score for every document (post or reply) that matches your search term or phrase. A higher score means a better match.

A handful of variables are involved in calculating this score; term frequency and document length are two.

So, imagine a blog containing many micro posts about Apple and their devices. But also a couple of short stories where the protagonist at one time consumes an apple.

A visitor searching this blog for apple will see the micro posts mentioning Apple (the company) high in the results. However, the short stories will rank lower because the apple (fruit) is just mentioned once in passing in longer posts.

On the other hand, a short story named Sven’s Apple Farm, which is all about my apple-filled adventures, would probably rank pretty high.

Hope this makes sense. 😊 Just like with filters, sorting is definitely a feature I see in a future version of Search Space.

@ndreas Good advice! Shopping for groceries on an empty stomach is rarely a good idea. I always buy more when I’m hungry. 😋

@V_ There’s a lot of fun playing around with text-to-image models. The output is often interesting or at least entertaining. And, occasionally, remarkable. It didn’t quite nail synthwave in this one. 😊

@jasonekratz Ah, that was lazy of me not to look that up. Thanks for educating me. 😊 I should add the book to my reading pile.

Also, I’m not 100 % sure it was a doe visiting us. It could be a buck.

@matti @manton If you want to save on requests and are okay with not using an API, simply counting URLs in sitemap.xml could be an alternative.

For example, you could do this from the terminal: curl --silent "https://blog.martin-haehnel.de/sitemap.xml" | grep "de/20" | wc -l.

In English: fetch the sitemap and count all the lines containing de/20. This works because your blog posts exist on paths like /2022/10/02/dailydogo.html.
This hack assumes you have no blog posts before 2000 and will quit blogging before the next century. 😊

@Miraz Looks delicious! 😋 I Saw this and thought, “maybe today is apple crisp/pie day?” Two minutes later, Sanna enters from another room: “hey, what do you think about making an apple pie this afternoon?” She didn’t have to ask twice.

@odd For this to work with other clients, the developers must ensure you’re signed in before showing you the Micro.blog website. @manton or @vincent might be interested in this conversation. 😊

@odd Yep! We write it as kex or käx, and there’s a significant divide among swedes on how to pronounce it. 😊

@odd Maybe the link opens up in a browser (or in-app browser) where you’re not signed in on Micro.blog? For example, the current Micro.blog beta client has that behavior.

@odd For me, the ability to add to my bookshelves is there, a bit further down (you have to scroll).

@maique Hey, I’m glad you like it. 🥰

It’s a bit technical, but when you tap Search in the menu, your browser navigates to the page /search/, which then redirects the browser to its final destination: /search-page/. The flash you describe is the brief stop on the /search/ page.

I can’t guarantee this will work, but you could try the following:

  1. In the Micro.blog web client, navigate to Pages and tap Search.

  2. Right below the text area, there will be an Edit button to the right. Tap that.

  3. In the text field, fill in /search-space/ and tap Update Page.

Wait for your site to rebuild, and the flash will, hopefully, be gone.

Plug-in pages can be… a struggle. 😊 @manton wants to make the experience a lot better, so you can look forward to that.

This looks great, good work! 👏 Have you consider naming the button “Add Alt Text” or “Add Alternative Text” instead of “Add Accessibility Description”? Here are three reasons you might want to do that:

  • Familiarity. Folks coming from other platforms and tools might already be familiar with alt texts. WordPress, Medium, and Instagram, for example, use this naming convention. Users will immediately know what it is, instead of having to ask themselves “I wonder if Accessibility Description is the same as Alt Text?”
  • Findability. For someone totally new to the concept of alternative texts, they will get a lot more relevant hits, guides, YouTube videos, and what not when researching “alt text” compared to “accessibility description”.
  • Nitpicking. 😊 It really is a alternative text. Accessibility is a huge aspect of it, for sure. But the alternative text is also displayed when a browser can’t load images (for network reasons or user preference). Also, search engines often index alternative text to deliver better search results. (It’s an upcoming feature to my Search Space plug-in.)

@tkoola There are many DIY solutions, like this one, but I guess you’re after something more turn-key?

Have you seen Low-tech Magazine’s solar-powered website? It’s an off-grid webserver. When the weather is bad, a battery kicks in. When the battery gives up, the website goes down. 😅

And my favorite thing: the website’s background color indicates the capacity of the solar-charged battery.

@ndreas Sounds nice! Did you feel the vibe in the air of a fellow microblogger close by? 😜 (I live < 40 km from Gränna.)

@JohnPhilpin Thanks! I will focus on performance improvement and bug fixing for a while now, but filters are definitely on the roadmap. 😊

@cliffordbeshers You can do this using redirects. In the web client, go to Pages and tap New Page. Give it a title and paste the URL in the text area. (In your case, that’s https://cliffordbeshers.micro.blog/search-space/.) Make sure Include this page in your blog navigation is checked and tap Add Page.

@odd It’s hard to tell what it was. But if it’s something you can recreate, I would love to take a look and figure out what’s happening.

@vincent Thanks! 🥰 And yes, having native support for suggestions and autocomplete is lovely. Unfortunately, I’ve had to implement too many custom versions before datalist was widely available in browsers. But no more! 😊

@manton Thanks for sharing and beta testing. Seeing it run on blogs with huge archives like yours encourages me to work on performance and index caching next. 😅

@JohnPhilpin You’re welcome! I’m curious as to why all these replies are missing. Please, let me know when the mystery is solved. 😊

@odd If you put the URL in the body text of that page, it should redirect automaticly. Just the URL, nothing else: https://www.oddz.blog/search-space/.

@odd @Gaby Ah, you mean in the menu? It’s up to every person to decide where (and if) they want to link to the Search Space page. I could force it into the menu, but then there would be no easy way for users to remove it. Other than changing the plug-in source code.

And remember: it’s a beta. Not at all ready for prime time. Add it to the menu at your own risk. 😉

@odd Aha, that’s a bug in the Micro.blog client, actually. I think it’s present in Gluon as well. The app confuses the link for a profile. Something for @vincent to look into? 😉

@maique Haha, yeah, that’s not a good look. I have to think about this one for a bit. Generally, I try to avoid shipping too much CSS in my plug-ins. Every theme is different, and if I try to fix this Paper-specific issue, I might mess up other themes.

What do you say, @amit, are you up for making input[type="search"] elements look good in the Paper theme? 🥺

@odd Thanks! @maique noticed the documentation blunder as well. 🤦‍♂️ It’s fixed now. I’m aware of the return-problem in Safari; you have to double tap. 😁 Not sure yet if it’s fixable. A single tap is all it takes in other browsers.

Sitemap for dahlstrand.net