From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by dpdk.org (Postfix) with ESMTP id AED683208 for ; Tue, 15 Dec 2015 23:12:36 +0100 (CET) Received: by mail-lb0-f182.google.com with SMTP id kw15so14744369lbb.0 for ; Tue, 15 Dec 2015 14:12:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=IBK8MkafBObqHTMgOUI47d7aMixhQ0nnKGl0a4adCr4=; b=Q+b/pWdZRTuJ4vzMCenRpSpO8YMAvb1lc+cVjCPiIZqGLVfOORBBwvMMR7YootVO6r gKPGN4bmoeSROB+LpMtX6NFVVDSJ2bR84DqlsrrnMHKt+g+tYYvqVpLuoIRu2JXtO1Lr qQyPRgK7h/nj9faRwuQ8poQGwBBkOqUjCrXhoVNFyv6t6g+wl4sXxZhOJpQ16f3qdrFk zlM2DdHkj81mRK+0RuzHoAUlOVOLhp/DZ8lr9JxdxEMSfA+HP5CyTyU2c+OJmItfxjXt /h1y9TXcZviRnr0Ew+rNidpwWbYWNL7z2tfOaX2Nr3Kxm3dNaYskajZwgR830n4cSEG4 i8BQ== X-Received: by 10.112.167.131 with SMTP id zo3mr16785996lbb.91.1450217556269; Tue, 15 Dec 2015 14:12:36 -0800 (PST) Received: from [192.168.0.10] ([78.10.194.120]) by smtp.gmail.com with ESMTPSA id m64sm489931lfd.45.2015.12.15.14.12.35 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 15 Dec 2015 14:12:35 -0800 (PST) Content-Type: text/plain; charset=windows-1251 Mime-Version: 1.0 (1.0) From: Andriy Berestovskyy X-Mailer: iPhone Mail (13C75) In-Reply-To: <2248249.QQmS37G4Va@xps13> Date: Tue, 15 Dec 2015 23:12:34 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <228F5DB2-0F3C-4BE5-856E-AF65FB5FDB8D@gmail.com> References: <52152472-D1EA-4BF0-87BA-80B02B28F636@gmail.com> <42661128.1kKa8q4RBg@xps13> <19813ADC-6039-4C13-9FE9-42F8D9D08C9A@gmail.com> <2248249.QQmS37G4Va@xps13> To: Thomas Monjalon Cc: web@dpdk.org Subject: Re: [dpdk-web] SSI or similar X-BeenThere: web@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: website maintenance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Dec 2015 22:12:36 -0000 Ok, agreed. Andriy > On 15 Dec 2015, at 06:43, Thomas Monjalon wrot= e: >=20 > 2015-12-14 22:51, Andriy Berestovskyy: >>> On 14 Dec 2015, at 21:53, Thomas Monjalon wr= ote: >>> Thanks for the suggestion. >>> The current flat HTML files can be tested locally with just a browser. >>> How a change would be tested with SSI? >>=20 >> At the moment all the links inside the HTML files are not relative (i.e. s= tart with a slash), so browser as is does not render the pages correctly any= way. >=20 > Yes you are right. > And the links do not use the .html suffix, it is found automatically > by the server. >=20 >> Having SSI enabled we could separate the content from the rest of the pag= e, say: >> /dev.html: // the whole page to test with an HTTP server >> includes inc/header.html >> includes inc/menu.html >> includes content/dev.html // flat HTML file to test with just a browser >> includes inc/footer.html >>=20 >> So the =84content" directory could be used to store flat HTML files, but w= ithout any headers/menus/footers. >=20 > OK for the inc directory but not for content. I would prefer having > the content in the original file. >=20 >> Alternatively, we could build (i.e. concatenate) HTML pages using a makef= ile or a script. So we could have a structure as above without any code dupl= ication. Then we could build the pages with headers and menus to test them l= ocally or to upload to a web-server. >=20 > Yes a "make local" to allow testing would be nice. >=20 > I would suggest to do it in 2 steps: > 1/ "make local" for testing > 2/ split with server-side includes >=20 > Please do not submit such change before end of January. > We need to make the workflow living smoothly first. > Thanks