From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: Bug? Setting #+OPTIONS: title:nil Seems to Be Ignored in HTML Export. Date: Wed, 09 Aug 2017 12:38:06 +0200 Message-ID: <8760dxauwh.fsf@gmx.us> References: <71359491574f233bd37d0804042fb701@wilkesley.net> <87ini7d3aj.fsf@gmx.us> <87efsvcz9m.fsf@gmx.us> <87o9rzaubb.fsf@gmx.us> <87a839awtd.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54797) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dfONj-0007cn-AA for emacs-orgmode@gnu.org; Wed, 09 Aug 2017 06:38:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dfONf-00060c-3s for emacs-orgmode@gnu.org; Wed, 09 Aug 2017 06:38:31 -0400 Received: from [195.159.176.226] (port=38655 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dfONe-00060D-US for emacs-orgmode@gnu.org; Wed, 09 Aug 2017 06:38:27 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dfONP-00087z-0M for emacs-orgmode@gnu.org; Wed, 09 Aug 2017 12:38:11 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Rasmus writes: > Hi, > > Kaushal Modi writes: > >> Thanks for checking. The validator (the default one in org-html-postamble) >> never worked for me, probably because of something being blocked at work.. >> I get this when I click the validator link: >> >> ===== >> Sorry! This document cannot be checked. >> No Referer header found! >> >> You have requested we check the referring page, but your browser did not >> send the HTTP "Referer" header field. This can be for several reasons, but >> most commonly it is because your browser does not know about this header, >> has been configured not to send one, transferred the referring document >> over a secure protocol such as https but is accessing the validator over >> ordinary non-secure http, or is behind a proxy or firewall that strips it >> out of the request before it reaches us. >> >> This is not an error in the referring page! >> ===== > > There’s definitely some sort of issue... > > I guess this is for a local file? I guess it needs to be publicly > available. But it doesn’t seem to work all the time even for public > pages. > > Using the following example, it only works from the http version, not the > https version. Https pages not working is a known "bug" cf. https://validator.w3.org/docs/help.html#faq-referer If a JS solution is OK, we could do something like this: Validate This would work with public https pages if JS is supported. See: https://validator.w3.org/favelets.html https://lists.w3.org/Archives/Public/www-validator/2005Mar/0011.html I have not found a way to send the raw source code via an url for local files. Rasmus -- Dobbelt-A