#php-mf2 0.2.0 update brings API improvements and twitter classname -> mf2 classname conversion so you can bung in markup from twitter.com and get (slightly buggy) mf2 json out #microformats #update #php
Try it out here.
#php-mf2 0.2.0 update brings API improvements and twitter classname -> mf2 classname conversion so you can bung in markup from twitter.com and get (slightly buggy) mf2 json out #microformats #update #php
Try it out here.
zakkain thanks! Wouldn't have been possible without previous work by Aaron Parecki and Tantek Çelik. So have you got it installed/what publishing software are you using it with?
8704 #steps today
Those last two notes posted using latest Web Action Hero Toolbelt, now with select-to-quote UI #webactions #indieweb #quoting
If content is important to you, keep it close. If your content is important to others, keep it close and well backed up.
by Drew McLellan (source) #indieweb
Empower yourself. Your friends. Your community. But push yourself to go further, because you can.
– Tantek Çelik (source)
Drew McLellan well maybe that’s going a bit far, but morrisoffspring are a bit awesome #folk
That excellent post of Tantek Çelik’s, like all well–hyperlinked documents, lead me to a whole raft of great #indieweb resources I hadn’t come across before:
(In other news: I need to make a “dump tabs into new note dialog” browser #extension)
bruce lawson “yee-haw”, surely :)
pcntl_wait($status); //Protect against Zombie children
Every now and again the otherwise banal PHP docs make me laugh.
6947 #steps today
Cross-browser selection UI injection flow:
mouseup
on body
window.getSelection()
s.isCollapsed === false
, returns.getRangeAt(0)
r.surroundContents(e)
e.innerHTML
and e.textContent
now return useful values, and e’s coordinates can be used to inject UI into the pageTo resolve: what element should e be? Or more accurately, what display property should it have? Possibly inline-block
(inline mucks up if selection is across block elements, block mucks up selections within text nodes)
r.surroundContent
, namely that it does not handle partial element selections. See MDNs explanation and solution.
Jovian Salak alternate solution: we throw a DIY pizza party with recitals of Half Caste, as a joint leaving party
Jovian Salak I know the solution: a farm nearby is selling a small hay bale (£3.50). Let’s buy it and roll it to the #mound.
Jovian Salak oh crap I was way off — I thought it was in May?!
Cleaning the Room by ftrain is one of the most visceral things I have ever read #bookmark
“I am not a number, I am my domain name”
— Tantek Çelik eloquently summarises #indieweb thinking in On Silos vs an Open Social Web #bookmark
Trawling through Dubliners CDs to try to find one particular song I remember hearing early in my childhood. I really love this #music, it is so grounded.
Really loving bastianallgeier’s thoughts on PHP as a templating language — very very similar to my own approach #php #dev #bookmark