News for hackers. Stuff that matters.
Re:How the New York Times keeps tragedies ad-free by cantlin on Wednesday March 25, 2015 @07:50AM (#9262287)
Typically there'll be a CMS flag available to powerful users (editors). That's how it works at the Guardian.

It sets a boolean (shouldHideAdverts) in our content API[0], which we use in templates[1] to suppress commercial logic.

There are obvious business reasons for this. It's common for it not to be in the advertiser or reader's interest to show commercial messages against some content.

[0] http://content.guardianapis.com/world/live/2015/mar/24/germa...

[1] https://github.com/guardian/frontend/blob/4cb7e07c15a03568c2...

Re:How the New York Times keeps tragedies ad-free by maxerickson on Wednesday March 25, 2015 @09:10AM (#9262647)
I wonder if the NYT meta header is just a similar flag leaking out, or if it is something that can be abused client side to never have ads.

It's totally unsurprising that it would be a CMS feature, I'm a little taken aback each time I see a crass juxtaposition on smaller sites (more out of surprise at them not doing it than any particular personal sensitivity to it).

Re:How the New York Times keeps tragedies ad-free by soneil on Wednesday March 25, 2015 @09:45AM (#9262849)
I took a look at the first result that popped up (http://www.nytimes.com/2015/03/26/world/europe/germanwings-a...) and interestingly, this ad_sensitivity tag is set to "tragedy". I'm curious to know what other options there are now - whether this is boolean, or a sliding scale.
Re:How the New York Times keeps tragedies ad-free by krishy on Wednesday March 25, 2015 @11:04AM (#9263391)
The options are:

- Show ads - No ads - Tragedy

Re:How the New York Times keeps tragedies ad-free by breakingcups on Thursday March 26, 2015 @10:01AM (#9269635)
Do you know the difference between tha latter two?
Re:How the New York Times keeps tragedies ad-free by nkozyra on Wednesday March 25, 2015 @01:11PM (#9264323)
Well I can think of another readily-available client-side option to avoid seeing ads.

It's unlikely that the meta tag itself has any real relevance - some aspect of the CMS might be coopted for this purpose and I imagine its original intent was for injecting meta tags.