Request to anyone knowing how to create a Javascript bookmarklet
On a couple of Diaspora servers where I've had accounts, there were Javascript bookmarks that I could drag onto my browser's bookmark bar. When I visited a web page and wanted to share the article I was reading, I could highlight some text and click the bookmark. A typical Diaspora edit box would pop up with the article's title, then the text I'd highlighted, then the lead picture on the page, all of which the Javascript had extracted from the web page's Opengraph/Embed header. I could then add extra text, hashtags, or anything else I chose, and then hit the Post button and my new post would go to the server.
Perhaps you can see how useful it might be to those of us who curate content for Mastodon. Perhaps you know how to program such a bookmark. And perhaps you might like to code it.
Obviously, the instance address would need to be embedded or fed into the code somehow. And the Mastodon API would need to have hooks for receiving the post. I don't know how easy or how possible this would all be as a) I haven't done any coding for years, and b) none of it included the REST code that I imagine would be needed.
So I welcome any comments, especially as to whether it can be done or not. Thanks.
Indiefotog likes this.
Garry Knight reshared this.
The Mammoth app for Mastodon for iOS
Towards the end of November I was trying out the Tooot app, singing its praises, and saying that it was now my main app for Mastodon. However, I've recently discovered and have been beta testing the Mammoth app, written by Shihab Mehboob, the guy who wrote the Aviary app for Twitter. If you know that app, you'll probably already be ahead of me and demanding to know where you can get Mammoth. I'll tell you that later.
Mammoth already has most of the features contained in most other apps and not only has extra ones but some of them are surprising. Such as View Post in AR. No, I can't think of a use for that, either, but it works. And Picture in Picture allows you to use PiP to view a post while doing something else on your iPhone's Homescreen or another app. And there's an iPad version, too.
Here are the features I've found so far:
- [
Most of this is working right now, though a couple of fairly major features are still in the works. For example, you can't edit your Profile or change your avatar image or banner. You'll need to use another app or the web interface for that. I bet I've missed a few things out, though. The programmer seems to be working flat out to implement the missing stuff.
So, how can you get the beta?
Go here:
Read the important bits of the page, install the TestFlight app, then install Mammoth. Enjoy! But do submit feedback.
Oh, and as some of you know, mammoths aren't at all the same thing as mastodons. Different family. Elephantidae. But I bet the programmer knows this already.
like this
Indiefotog likes this.
Tim βοΈ πππ·π΄π³
in reply to Garry Knight • • •Adding a Share On Mastodon button to a website
www.bentasker.co.ukGarry Knight likes this.
Garry Knight
in reply to Tim βοΈ πππ·π΄π³ • •Thanks. Someone else offered me something similar. I can't use it, though, as I don't know Javascript or the Mastodon API. If someone who is familiar with both offers to code something, I'll point them at this share button.
I'm surprised that no one's coded a bookmarklet yet, as it seems to me that it could get a lot of use among those of us who curate website articles.