From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) by dpdk.org (Postfix) with ESMTP id 20E9F5A4D for ; Tue, 15 Dec 2015 06:45:17 +0100 (CET) Received: by mail-wm0-f43.google.com with SMTP id n186so77865592wmn.0 for ; Mon, 14 Dec 2015 21:45:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=+bZY/iEw0lZHCT/KF0SUg+wWUlgQE9SceQmef5R8rpA=; b=19EyH+xlfGng5eJ/ckMK8213CwyM86ykOXmnItsuwTyAvWjb4DTZB0Gl1OSjHNjAVj qoO9GxdmKX1h1hklksoeDqjZdmnqUPN1F0DWqEKMqASg8aoH8QYmW/+L5BQVGgsuG1aB T4T7xwna+WH8Nk+1yIDAIQBssowy4D9uvVgM6WSEbYLy6t7q27RGa25iGLDml8/WHWrk BFPUUDEKGxWhvbmUOG6WanTaIgkk9V6fF1nwKCRJ7Dv+lToiSpX9MdITpbXpPyC04PXL NNbBD8NniO9E7YxbVPlHhX0FbUYo/trPHryjxIbI0P5+6OU3iyVES0CVf+XW0wQBuLg8 cYMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=+bZY/iEw0lZHCT/KF0SUg+wWUlgQE9SceQmef5R8rpA=; b=DPyXZg904zCMrS25FzlsCaK8RrRj7bN0+R9I1ABseBnedbO/C70j8RYD/GeR91bZRu 80z9SiBy68ULn2HrVG4wcwaQN0SQ0EZYd16JKa5oRSfbsQMzRZimr3hlrI+OpFC7o/Ag gjFzfo7ib4QpRl38iB75ml8fjaE2bdHnwWGdCYPjlL0RWQs+1lUR6c17DxYFqI4dlA3M ztVxgDAOzux1DvxaQkYxmRTvfCuW7UB8a4UEXx86oa7Q/G9Y4k8XYzi3d7dQG+WFvT/8 J/vYVjKvIO8l21qNVaxa+hCGu6eWlNCE8HymMJKazWOoWpFZLstG7GWwz4+LDz0BDtVX 5psw== X-Gm-Message-State: ALoCoQncYD6/g104w9aKVcGDF8RZZQmgD6hNRzJaJOEs/7fZTh0IV5OL9MMyg80JzD0+bt0md4jBSG4Z0AUxsbWIvMyR2WI2PA== X-Received: by 10.194.200.134 with SMTP id js6mr48282771wjc.114.1450158316995; Mon, 14 Dec 2015 21:45:16 -0800 (PST) Received: from xps13.localnet (158.20.90.92.rev.sfr.net. [92.90.20.158]) by smtp.gmail.com with ESMTPSA id b82sm19314800wmf.9.2015.12.14.21.45.15 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 14 Dec 2015 21:45:16 -0800 (PST) From: Thomas Monjalon To: Andriy Berestovskyy Date: Tue, 15 Dec 2015 06:43:58 +0100 Message-ID: <2248249.QQmS37G4Va@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <19813ADC-6039-4C13-9FE9-42F8D9D08C9A@gmail.com> References: <52152472-D1EA-4BF0-87BA-80B02B28F636@gmail.com> <42661128.1kKa8q4RBg@xps13> <19813ADC-6039-4C13-9FE9-42F8D9D08C9A@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 05:45:17 -0000 2015-12-14 22:51, Andriy Berestovskyy: > > On 14 Dec 2015, at 21:53, Thomas Monjalon wrote: > > Thanks for the suggestion. > > The current flat HTML files can be tested locally with just a brows= er. > > How a change would be tested with SSI? >=20 > At the moment all the links inside the HTML files are not relative (i= .e. start with a slash), so browser as is does not render the pages cor= rectly anyway. Yes you are right. And the links do not use the .html suffix, it is found automatically by the server. > Having SSI enabled we could separate the content from the rest of the= page, 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 bro= wser > includes inc/footer.html >=20 > So the =E2=80=9Econtent" directory could be used to store flat HTML f= iles, but without any headers/menus/footers. OK for the inc directory but not for content. I would prefer having the content in the original file. > Alternatively, we could build (i.e. concatenate) HTML pages using a m= akefile or a script. So we could have a structure as above without any = code duplication. Then we could build the pages with headers and menus = to test them locally or to upload to a web-server. Yes a "make local" to allow testing would be nice. I would suggest to do it in 2 steps: 1/ "make local" for testing 2/ split with server-side includes Please do not submit such change before end of January. We need to make the workflow living smoothly first. Thanks