Taking distributed #indieweb actions on your own site, in context? Yes, webaction toolbelt does that:
To clarify, this is a page on news.indiewebcamp.com which supports inline webactions. When I click “Reply”, a pre-populated new note form from my own site is loaded into an iframe. It detects this, and adjusts its styling accordingly.
Laurent Eschenauer ha ha, they were pretty good thanks :) And congrats on the web-action enabled reply! Hopefully soon I’ll be able to store it here.
Or, alternatively, I might use #webactions and do=post, based on a bunch of research
Doing a test implementation of a+rel+iframe+postMessage hypermedia UI injection (needs a better name) — using existing rel=create-form
Julien Genestoux I’ll probably add one this afternoon — wrapped in a subscribe
webaction, of course :)
Is the convention to have just one for the homepage (i.e. subscribe to “me”), or to have one wherever there is a feed (e.g. on my notes or articles pages?
Awesome! window.postMessage supports opening a new window, then sending messages to it! Seeing some interesting #webactions use cases…
Turns out that performing a GET request on a data URI from PHP works if file_get_contents is used, not if cURL is used. I wonder what support is like for other server side languages — using data URIs in with
could be the basis of some interesting #webactions.
#taproot / #webactions design #principle: easy things should be easy, remove friction so hard things are no harder than they need to be.
[adding web actions support] took me five minutes and two lines of code.
This is what we like to hear! Nice one Laurent Eschenauer! (source)
P.S. 5 mins and 2 lines of declarative HTML! Beat that, web intents/activities
Booked ticket for digpensw — so if anyone wants to talk #microformats, #indieweb or #webactions on the day, come and say hello!
I posted Web Action Toolbelt to that hacker news thing. What happens now? #webactions
Those last two notes posted using latest Web Action Hero Toolbelt, now with select-to-quote UI #webactions #indieweb #quoting
cssquirrel I much prefer twitter in the browser because I can get rid of ads and promoted tweets, and customise the UI so I reply, retweet and favourite on my site instead. Pity I can't so easily on mobile — perhaps an ios app which is just a web view with some custom JS… #webactions #idea
New stuff: Web Action Hero Toolbelt and <action>
markup on individual note pages. #webactions
We have a #webactions Hero Toolbelt config UI!
Now onto the actual meat. Most of this was already implemented in my fork of #indieweb reply, I just have to tidy it up and add in the <action>
shim.
Poll: Have any of you ever used twitter.com’s “Email this tweet” action (in ••• More, above Embed Tweet for some reason)? #webactions
I was going to spend this evening working on #webactions browser extension, but I think it would be better spent providing a #backup/data export utility for fellow ex #diaspora users.
From my initial researches, it looks like /u/username.json
is the best bet, as it gives a JSON array of all posts written by username
, along with like and comment data. It accepts a max_time=timestamp
query param, and a _
query param, the function of which I am not sure of.
To iterate through all the pages of posts from a certain user, start with their profile URL w/ .json
tacked on the end, fetch all the items, get the datetime of the last item, convert that to a timestamp, fetch the same URL with ?max_time=timestamp
, repeat until an empty array is returned.
Great to see superfeedr using web action delegate patterns for subtome.com! #indieweb #webactions
Current status: hacking Aaron Parecki’s IndieWeb Twitter Reply Extension into something more structured and extendable. #webactions in action!