Zum Inhalt springen

Archiv für "Notizen"

check to see if the wp webmention implementation still works.
Test 1
Test 2
Test 3
Test 4
Test 5
Test 6
Test 7
Test 8
Test 9
Test 10
Test 11
Test 12
Test 13
Test 14
Test 15
Test 16
Test 17
Test 18
Test 19
Test 20
Test 21
Test 22
Test 23

… and I like it.

Welcome back, Marc, and congrats on reviving your blog. Looking forward to read more. :)

‪Good catch. Thank you @zachleat for‬ the write up

Just a fair warning if you use the amazing Bridgy service to gather webmentions from social networking sites. It won’t actually work with your site if you’re using Brotli compression. Use gzip for your HTML requests instead of Brotli and it will work fine.


https://specificity.keegan.st/

So was hätt einmal fast die Welt regiert!
Die Völker wurden seiner Herr,
jedoch/Dass keiner uns zu früh da triumphiert
- Der Schoß ist fruchtbar noch, aus dem dies kroch.

Vielleicht sollte man mal aussprechen, dass das deutsche Grundgesetz auch und vor allem dazu gedacht war, dass so etwas wie die Nazidiktatur nicht wieder passiert. Umso schlimmer finde ich, dass exakt dem Geist und Gedankengut, was in den Horror führte, so eine gesellschaftliche und politische Bühne gegeben wird, gleichzeitig die Innenminister an GG rumschnibbeln und Überwachungswerkzeuge in bislang unvorstellbaren Rahmen an die Hand bekommen, derweil die Demokratien in Europa immer weiter nach rechts driften, und als Reaktion auf die überwältigenden globalen Probleme der Rückzug ins Nationale als Lösung vermehrt gewählt wird. Es ist zum Verzweifeln.

Just a quick test for Holger; lets see if the webmention this post sends to his recent post comes through…

‪Another little tweak to my website; the posts of type‬ 'status', which I use most of the time as a source for syndication to twitter (as with this post here right now), are now excluded from the main 'category' archives. The "pre_get_posts" hook is handy for this:

This hook is called after the query variable object is created, but before the actual query is run.

So it is a way to tweak the query that WordPress is normally using. In my case, I want to exclude all post with the post-format "status", when the query is the archive query ("show all posts of category/tag/type")… but not if it is the archive of the post-type "status".

function wbr_exclude_post_formats_from_archive( $query ) {
	if( $query->is_main_query() && $query->is_archive() && ! is_tax('post_format','post-format-status') ) {
		$tax_query = array( array(
			'taxonomy' => 'post_format',
			'field' => 'slug',
			'terms' => array( 'post-format-status'),
			'operator' => 'NOT IN',
		) );
		$query->set( 'tax_query', $tax_query );
	}
}
add_action( 'pre_get_posts', 'wbr_exclude_post_formats_from_archive' );

It took a little while to find the right function for the last condition, but now with "is_tax" it works pretty good.

Holgers story confirms my theory that everybody is sometimes everybody else's idiot client, no matter the general smartness:

(…) a huge realisation for me: I had been the worst client, or in this case, customer. The prototypical nightmare of designers, developers and everyone else who works with clients, I guess. I pulled a “Make my logo bigger” on a proud bar owner and “messed up” my drink. More importantly, I (unintentionally) disrespected his knowledge of the craft and “ruined” his creation. I cannot count the many times clients have told me that a design needs more space here or there, that a red is too red, or that their logo for sure needs to be bigger, of course.

If needed, my drink would have come with a cucumber.

Just yesterday I had a conversation about this and how over the recent years I work on my reception of those 'client' moments. To me, the 'disrespect' part is the most important one. But respect goes both ways. Why didn't the barkeeper tell about the reason he didn't put the cucumber in when he handed over the drink? Does he assume it's common knowledge?

Or is it the 'I am the expert, trust me and my (hidden to you) decisions' mindset, that we as designers and developers often carry with us?

What sets Holger apart from others (and most clients, to be honest), once realized, he readily accepts the expertise and his own lack of knowledge in that regard, and even offers an apology and willingly pays up.

That pin is well earned. ;)