From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jakub Narebski Subject: Re: [PATCH] gitweb: provide a way to customize html headers Date: Sun, 16 Oct 2011 14:26:18 -0700 (PDT) Message-ID: References: <201110162256.41431.lenaic@lhuard.fr.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-16be Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: git@vger.kernel.org To: =?iso-8859-1?q?L=E9na=EFc_Huard?= X-From: git-owner@vger.kernel.org Sun Oct 16 23:26:26 2011 Return-path: Envelope-to: gcvg-git-2@lo.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RFYDx-0000uY-7s for gcvg-git-2@lo.gmane.org; Sun, 16 Oct 2011 23:26:25 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751499Ab1JPV0U convert rfc822-to-quoted-printable (ORCPT ); Sun, 16 Oct 2011 17:26:20 -0400 Received: from mail-bw0-f46.google.com ([209.85.214.46]:61802 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751369Ab1JPV0U convert rfc822-to-8bit (ORCPT ); Sun, 16 Oct 2011 17:26:20 -0400 Received: by bkbzt19 with SMTP id zt19so2779876bkb.19 for ; Sun, 16 Oct 2011 14:26:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=x-authentication-warning:to:cc:subject:references:from:date :in-reply-to:message-id:lines:user-agent:mime-version:content-type :content-transfer-encoding; bh=7Zc09Ecn+Xmms7TPPjuSY/+yJ+CLZgFk/K6Bhv93TjY=; b=k6MFD5GUjRBfs7hMS+gJiAlLn4hOc7ttz9zg00z6HMe+J3MSMXt7hTsDsnb8cQDcJK /KOq08QcfXM5EOd9I//jIO8bFcueZ2EH6/FcmHT3FnKWyQJkGo9YqkWj5OPZRG7LBj4L E3aaUY3I0EJABbWHbCyh2IalmsYzskoBBb3UI= Received: by 10.223.57.139 with SMTP id c11mr1673901fah.24.1318800379009; Sun, 16 Oct 2011 14:26:19 -0700 (PDT) Received: from localhost.localdomain (abrz25.neoplus.adsl.tpnet.pl. [83.8.119.25]) by mx.google.com with ESMTPS id x22sm19517836faa.5.2011.10.16.14.26.17 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 16 Oct 2011 14:26:18 -0700 (PDT) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.13.4/8.13.4) with ESMTP id p9GLPmbq030807; Sun, 16 Oct 2011 23:25:58 +0200 Received: (from jnareb@localhost) by localhost.localdomain (8.13.4/8.13.4/Submit) id p9GLPWX4030803; Sun, 16 Oct 2011 23:25:32 +0200 X-Authentication-Warning: localhost.localdomain: jnareb set sender to jnareb@gmail.com using -f In-Reply-To: <201110162256.41431.lenaic@lhuard.fr.eu.org> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: L=FE=FF=00=E9na=FE=FF=00=EFc Huard writes: > This allows web sites to add some specific html headers to the pages > generated by gitweb. What do you need this for? =20 > The new variable $site_htmlheader can be set to a filename the conten= t > of which will be inserted at the end of the section of each > page generated by gitweb. Hmmm... I wonder if a file with html header fragment (which is quite specific subset of HTML) is a best solution. >=20 > Signed-off-by: L=FE=FF=00=E9na=FE=FF=00=EFc Huard > --- > gitweb/INSTALL | 3 +++ Nb. there is patch in flight adding gitweb.conf(5) and gitweb(1) manpages... --=20 Jakub Nar=FE=FF=01=19bski