Musing on why we only turn to natural language for defining the behaviour of out applications instead of the business logic itself.
Rough ideas: gist.github.com/barnabywalters/6188240
Musing on why we only turn to natural language for defining the behaviour of out applications instead of the business logic itself.
Rough ideas: gist.github.com/barnabywalters/6188240
Find of the day: everything2.com
Tomorrow I will open onesecond.designly.com at the beginning of the day and look only at the very end. #bookmark #web #time
Finally, someone’s pushing for a common format for browser extensions: my.opera.com/ODIN/blog/2013/07/30/introducing-nex via @brucel
Previously: waterpigs.co.uk/notes/713 waterpigs.co.uk/notes/734
Trying to think of a good reason to make a #js library called bach.js
Aaron Parecki seems like that would be blurring the line between presentation and behaviour — where do you stop? Weather media queries? Proximity? Acceleration?
Pondering the utility of a “draft blog post titles” listing on my homepage, partly as a teaser, partly as a reminder to myself
Laughing at the @twitter docs using “t.co” and “best practices” in the same sentence: dev.twitter.com/docs/tco-url-wrapper/best-practices
One wonderful project which could really use some design work is www.gutenberg.org, especially the distributed proofreaders system — I can’t imagine just how many people want to contribute but are put off by the incomprehensible #ui
I’m thinking the time might have come to write a wrapper around #php DOMDocument which actually makes it usable. Thoughts:
querySelector
and querySelectorAll
are implemented for both the document and individual elements via Symfony XPath → CSS converter and relative XPath queriesinnerText
, innerHTML
for consistencyProblem with PRISM is shitty marketing. NSA should have promoted it as “free cloud backup”. Then geeks would be down with it.
LOL Tom Morris (source) #prism #web #privacy #marketing
Good morning #indiewebcamp! We set up a pre-conference hangout for all those not in the US. Care to join us?
RSS enthusiasts are HTML enthusiasts who haven’t met #microformats 2 yet. microformats.org/wiki/microformats2
Battle for the planet of the APIs by Jeremy Keith — nice piece of writing, it’s worth pointing out that Twitter still includes rel=me links back to homepages, but is increasingly wrapping them with t.co, making them fairly useless.
Whilst I admire RSS as a rallying cry for the openness of data on the web, I don’t like it much, mainly due to it’s DRY violation. microformats2 is the better solution.
Just pushed latest #taproot changes: using htmlpurifier.org to remove any nasties in reply contexts and comments, hopefully with upcoming php-mf2 changes that’ll allow limited HTML comments!
Also using brand new php-mf2-cleaner to parse said reply contexts and comments, find authors, etc. Check it out if you deal with #microformats 2 at all in PHP.
@benwerd loving your work on idno! Just had a look at the source, great that you’re using #microformats 2, I have some suggestions/corrections:
.h-entry
is better off where you’ve got .idno-entry
so then the author .h-card
can be scoped into the entry.p-author
to the .h-card
for each .h-entry
to explicitly declare authorship.h-as-*
on the same element as .h-entry .idno-entry
.u-url
where you currently have .dt-published
, move .dt-published
to the time
elementThanks to Aaron Parecki you can see how a page is parsed here, or use my php-mf2 demo sandbox for experimentation by hand.
Jeremy Keith I know Aaron Parecki currently has a script to convert twitter pages into microformats 2 canonical JSON, I think it should be here but he hasn’t pushed it yet :)
@thatEmil anything here: microformats.org/wiki/microformats-2