Showing posts with label app.net. Show all posts
Showing posts with label app.net. Show all posts

Wednesday, January 25, 2023

Using IFTTT Webhooks to post RSS feed data to Mastodon (requires pro account)

Update 2/19/2024: I did this using my free IFTT account but per IFTT "Starting February 15th, 2024, webhooks Applets will be disconnected for free users". Currently a subscription is $35 a year but of course that may go up.

------------ original --------------

Eleven years ago I wrote about using the IFTTT service to create tweets from the RSS feed of my Pinboard shares (which are written for myself and for Emily; there are now over 49,000 entries).  

Back then I was continuing a kind of sharing I started with Google Reader Social (details) and continued with App.net after Social died.

Now Twitter is dying, but, incredibly, Maciej Ceglowski's Pinboard endures. I've migrated to Mastodon (on an instance for veterans of App.net!) so now I use IFTTT (still free for my use) to create mastodon posts tagged #jgshare from that old Pinboard RSS.

I'm writing now to share a bit of how that works. I started with a recipe first published in 2017 and updated in 2022 by KelsonV. That recipe uses IFTTT web hooks: I tweaked it a bit to get the output I wanted:

    Descriptive Title

    URL

    Commentary

The recipe is a bit hard to follow but the key steps are:

  1. In Mastodon Profile Preferences Development create an "application" with website "https://ifttt.com/" and Scope of write:statuses. After it's created copy the access token.
  2. In IFTTT create a rule based on the RSS feed of your source (in my case Pinboard shares with a particular tag). My rule starts with IF "New Feed Item"
  3. The action part of the rule is a web request"
    1. URL: https://appdot.net/api/v1/statuses
    2. Method: POST
    3. Content type: application/x-www-form-urlencoded
    4. Authorization: Bearer 1234567890 (replace 1234... with your Mastodon access token)
    5. Body as below.
KelsonV's post has additional details and screenshots.

The trick in the body was to get line spaces between Title, URL and Commentary. This worked:
status = 
<<<{{EntryTitle}}
>>>
<<<{{EntryUrl}}
>>>
<<<{{EntryContent}}
>>>
#jgshare
When I first ran this I'd get errors in my IFTTT log but the rule worked successfully. The errors went away.

Saturday, March 18, 2017

pnut.io - an app.net heir

There are several heirs to app.net — I know of 10Centuries.org, pnut.io and Manton Reece’s micro.blog kickstarter.

Each of these efforts is a largely one person project. All good people. pnut.io’s creator is  33mhz/Robert. I believe the API is based on the app.net API, which means the many apps created for app.net can have a second life. I’m using ChimPnut.app for iOS and the https://noodle.s3rv.com web client to access pnut.io. I’ve been told the app.net client Riposte.app may reappear.

pnut.io has an interesting approach to social networking …

Our community network is a small, sustainable hobby. We are tied closely to our users and developers through their Patreon pledges and small opt-in features. When you invite someone, they are associated with you in the user tree and you may be responsible for them if they abuse the network.

 I made a Patreon pledge at the $5/month level but anyone can use it for free. The spam protection is the user tree. It will be interesting to see how well that works.

If you know me from app.net days or elsewhere and need an invitation send a note to me at jgordon@kateva.org. Best to mention how you know me.

 

 

Saturday, August 30, 2014

MarsEdit feature request: backlink to a social network share ...

Red Sweater’s MarsEdit (Mac) owns the world of WordPress, Tumbler and Blogger personal publishing. It’s a small world — the major publishers have their own ‘content management’ systems, and the small number of persistent independent bloggers often use native editing tools.

It’s a small world, and it is effectively a Mac only world. Eons ago Windows Live Writer was a fabulous tool by Onfolio purchased by Microsoft then severely neglected and eventually all but broken. You can still download it, but it is known to very few and is a shadow of its former self. So, in its small niche, MarsEdit rules completely. 

MarsEdit is a fine piece of software, but it’s still not the equal of Ontolio Writer. Image handling is particularly weak. On the other hand, it’s not like the (non-existent) competition is any better.

There are many features I’d like to see in MarsEdit, but there’s one odd feature that I’d particularly love to have. It’s a bit weird, but here goes. I’d like MarsEdit to create one or more social media shares at the time of publication, then embed a link to the shares in the post footer. The sequence would probably go like this:

  1. Submit post to Blog to get post URL.
  2. With post URL submit tweet or alpha.app.net or microblog post based on title of blog post. Get those URLs.
  3. Update blog post with links in footer like
    1. Comment on … my_app_net links.
The idea is someone reading the post could easily go to Twitter or app.net to respond in a defined stream.

Ok, that’s weird and kludgy and probably inexplicable. I don’t really think of this as a reasonable MarsEdit feature. I’m not sure how else something like this could be implemented though, and I do think we need this sort of thing as a better approach to comments.

Tuesday, September 24, 2013

App.net: Supporting account substreams with PourOver

[This one's for @duerig.]

The earliest mention of "channels" in my web archives dates to 1996 [1]. There's not much more than a word about them, but I remember what I was thinking. There were a lot of things I wanted to share [2], but I didn't enjoy harming unwilling bystanders. I wanted broadcast channels (now we call them streams) that could be carved from my global shares [3].

The problem, of course, is that my interests are probably not your interests. Emily is my most faithful reader, but she skips my tech shares. On app.net some like my diverse shares, but others favor dialog and social chat. Political opinions? Religion? Right. Limited scope.

So, in the interests of minimizing collateral damage, like a political post appearing in a stream of iOS comments, I'd like an easy way to do streams off my shares.

Happily Pinboard, which I use as a micro-blogging platform publishing to @johngordon  (PourOver) and kateva.org/sh (IFTTT), supports those kinds of streams. Every tag has a feed, and when posting to Pinboard I can enter single character tags corresponding to streams. It's not the most elegant UI, but it works.

At the moment though all of my shares stream into one app.net channel (mixing metaphors there, but it kind of works). If my app.net account supported sub-channels/streams (I know that work is in progress, might be done) it seems like either PourOver and/or Pinboard stream-feeds would be a good step towards reducing drive-by share damage.

Update: app.net thread. Hope to see these pieces come together over the next few months.

- fn-

[1] My web "posts" from the early 90s are now embarrassing. The web was new then, even Alta Vista was years away. There was so much I couldn't imagine. More subtly, we live in the Randall Munroe web now. I know there are minds at play far beyond my own meager insights.
[2] Sharebot I am.
[3] In those days Global Shares were static web pages. I tried to generate things that were a cross between blog posts and Simplenote entries via FileMaker web page generation.

See also

Sunday, April 14, 2013

App.net - using Duerig's custom RSS feed to see only root posts from selected people

[See update below, Jonathon has revised his stream generator so you don't need to look up the userid any more.]

I enjoy app.net. I like the conversations, but I particularly like the 'root' or initial posts shared by a few of my followed appnetizens. Problem is, these posts are lost in the streams of the app.net clients I use - Felix (iOS), Kiwi or Wedge (OS X), and Alpha or NoodleApp (web). They are mixed with replies and conversations. Current app.net client UIs aren't a great fit for how I'd like to follow folks; they are best suited to recreational engagement. Thanks to Jonathon Duerig (@duerig), there's a better option. He's providing a special RSS feed that accepts parameters. For example, here's mine:

http://jonathonduerig.com/my-rss-stream/rss.php?user=6172&replies=0&directed=1

In this example

  • 6172 is my app.net userid (I was #6,172 to sign up)
  • replies=0 means I see only root replies
  • directed=1 (just include this, don't ask why) [2].

To find the userid you can mouseover the official (shows all activity) RSS feed icon on alpha.app.net profile pages, like https://alpha.app.net/johngordon. It shows the userid. I've created feeds for several people who I particularly like to follow, and put those feeds into a Google Reader folder called App.net [1]. Now that Duerig has also removed an unnecessary username prefix from each post, the results display very well indeed. Each post comes with a link to alpha.app.net, so I can respond easily in that environment. It's really quite elegant, and should be an inspiration for app.net app builders. I'm looking forward to more like this; Duerig will probably make this to a custom domain and tidy it a bit. For now I've put the feed URL into my Profile Bio to make it easier for others to copy.

[1] I haven't settled on a Reader replacement yet, I'll start doing serious testing in May. I do want folders. [2] Duerig: "A directed post is a post beginning with a mention ... to anyone. .. the concept of a directed post is immensely confusing ... Just do replies=0 vs. replies=1 and you will be happy."

Update 6/30/2013: Duerig has a new format with new header and the ability to use a username instead of a user ID. For example:

rss-app.net/rss.php?user=@duerig&replies=0&directed=1 

I used a list of usernames scraped from the display of people I follow, and Numbers.app concatenate [2], to generate this list of feeds which I've been tediously [3] copy pasting into Feedbin. The current list is below, sorted by name [5]. 

This functionality makes app.net far more interesting for me. I really think it needs to be part of the API, a variation of stream. So we'd have two independent streams:

  • Twitter-style conversational stream: see all posts by members of follow list.
  • Prime stream: "Root" posts stream - akin to news, item share

For some people I want to follow conversations, for others just their initial item share, for others both streams. So these are independent.

Currently I do stream 1 from Kiki/App.net/Felix, stream 2 from Reeder/Feedbin/ReadKit[4].

- ffn -

[2] Numbers.app can't export as tab delimited, which tells one a lot about iWork. It also "escapes" quotes in CSV fashion when you copy to clipboard, so they're all doubled. Not a problem with this exercise, but very annoying when I tried to create OPML XML entries. iWork, not Apple TV, is a hobby.

[3] Feedbin has performance and reliability issues, especially on adding feeds, but those are improving. What's killing me is the extremely limited UI for manipulating feeds - review, sort, revise names, remove, tag. It doesn't scale past 25 or so feeds; I'm over 300. If this doesn't get fixed in the next few weeks I've gonna have to try something else. 

[4] Readkit is promising but obviously in early state for consuming Feedbin, etc.

[5] Full list -- if you're name isn't on here don't worry, I'm building it out. See [3]

(I had to add bullets due to a longstanding Blogger/MarsEdit formatting bug.

  • rss-app.net/rss.php?user=@adamlcox&replies=0&directed=1
  • rss-app.net/rss.php?user=@adrianus&replies=0&directed=1
  • rss-app.net/rss.php?user=@annatarkov&replies=0&directed=1
  • rss-app.net/rss.php?user=@benubois&replies=0&directed=1
  • rss-app.net/rss.php?user=@billkunz&replies=0&directed=1
  • rss-app.net/rss.php?user=@clarkgoble&replies=0&directed=1
  • rss-app.net/rss.php?user=@dalton&replies=0&directed=1
  • rss-app.net/rss.php?user=@danfrakes&replies=0&directed=1
  • rss-app.net/rss.php?user=@danielgenser&replies=0&directed=1
  • rss-app.net/rss.php?user=@darnell&replies=0&directed=1
  • rss-app.net/rss.php?user=@duerig&replies=0&directed=1
  • rss-app.net/rss.php?user=@erikschmidt&replies=0&directed=1
  • rss-app.net/rss.php?user=@fields&replies=0&directed=1
  • rss-app.net/rss.php?user=@glennf&replies=0&directed=1
  • rss-app.net/rss.php?user=@gruber&replies=0&directed=1
  • rss-app.net/rss.php?user=@jdalrymple&replies=0&directed=1
  • rss-app.net/rss.php?user=@johngordon&replies=0&directed=1
  • rss-app.net/rss.php?user=@gruber&replies=0&directed=1
  • rss-app.net/rss.php?user=@jdalrymple&replies=0&directed=1
  • rss-app.net/rss.php?user=@marcozehe&replies=0&directed=1
  • rss-app.net/rss.php?user=@martinsteiger&replies=0&directed=1
  • rss-app.net/rss.php?user=@mfitz&replies=0&directed=1
  • rss-app.net/rss.php?user=@mvp&replies=0&directed=1
  • rss-app.net/rss.php?user=@prometheus&replies=0&directed=1
  • rss-app.net/rss.php?user=@rikishiama&replies=0&directed=1
  • rss-app.net/rss.php?user=@reederapp&replies=0&directed=1
  • rss-app.net/rss.php?user=@brentsimmons&replies=0&directed=1
  • rss-app.net/rss.php?user=@siracusa&replies=0&directed=1
  • rss-app.net/rss.php?user=@sirshannon&replies=0&directed=1
  • rss-app.net/rss.php?user=@snipergirl&replies=0&directed=1
  • rss-app.net/rss.php?user=@spacekatgal&replies=0&directed=1
  • rss-app.net/rss.php?user=@teawithcarl&replies=0&directed=1
  • rss-app.net/rss.php?user=@thomasbrand&replies=0&directed=1
  • rss-app.net/rss.php?user=@treestman&replies=0&directed=1
  • rss-app.net/rss.php?user=@voidfiles&replies=0&directed=1
  • rss-app.net/rss.php?user=@wickedgood&replies=0&directed=1
  • rss-app.net/rss.php?user=@xwordy&replies=0&directed=1

Wednesday, October 10, 2012

Microblog flow - an update

I've revised my microblog flow, built on IFTTT / My Recipes, pinboard, wordpress, and app.net. FWIW, here's how it works for today:
  • all pub pinboard shares go to a dedicated wordpress blog that's google indexed
  • pinboard 's' tag shares go to app.net (intact) and twitter (often truncated)
  • app.net 't' tags go to wordpress and twitter with link back to app.net
In general I'm deprecating twitter and favoring app.net.

Thursday, September 06, 2012

johngordon on App.net - now as a feed

alpha.app.net, the test bed for app.net development, is improving quickly.

it's a bit hard to find, but there are now feeds for user posts and for tags. For example, here's the feed for my app.net posts: https://alpha.app.net/johngordon.

There's no feed yet for mentions, I'm looking forward to that. It will be helpful to add some of these to Google Reader for consumption in Reeder.app.

My posts to App.net are my pinboard postsprocessed by IFTT and Buffer (yeah, a real hack) then posted to alpha.app.net. So they are equivalent to my Twitter posts (except not truncated!) and my google indexed wordpress archives of my pinboard posts.

I'm hopeful that app.net will eventually what Google Reader Share might have been. In time it may become my primary microblogging platform (displacing pinboard, though pinboard has been pretty good to me).

See also:

http://tech.kateva.org/2012/07/pinboard-and-ifttt-blog-task-share.html