Message ID | 20221223095013.3630-1-jose.marchesi@oracle.com |
---|---|
State | New |
Headers |
Return-Path: <gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 073C1385B505 for <patchwork@sourceware.org>; Fri, 23 Dec 2022 09:47:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 073C1385B505 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1671788854; bh=zZYtI6XsK5+un4VxXE5f2atZTuntKdDqsMOixkuJQqQ=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=KIHG3KHCP3nU427GxRxSyeaFXNaxxm1gAX0HVrGlO0ehbzR8mPItEoJYAFk812arw N1V2mdrKfkg1Mi8nlP8TKWH4AjLLF3w9PgP2wv50mBO2j2GA1pqbhB1+M57ISMUDLV ko9lLlllGR+JKJox+EZ8dGlTWuTe3/ZlchACPd+o= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by sourceware.org (Postfix) with ESMTPS id B907C38582A3 for <gcc-patches@gcc.gnu.org>; Fri, 23 Dec 2022 09:46:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org B907C38582A3 Received: from pps.filterd (m0333521.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2BMLxADR001802 for <gcc-patches@gcc.gnu.org>; Fri, 23 Dec 2022 09:46:09 GMT Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3mh6tnnpwx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <gcc-patches@gcc.gnu.org>; Fri, 23 Dec 2022 09:46:09 +0000 Received: from pps.filterd (phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 2BN8AObn030294 for <gcc-patches@gcc.gnu.org>; Fri, 23 Dec 2022 09:46:08 GMT Received: from nam10-mw2-obe.outbound.protection.outlook.com (mail-mw2nam10lp2109.outbound.protection.outlook.com [104.47.55.109]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3mh4799gen-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <gcc-patches@gcc.gnu.org>; Fri, 23 Dec 2022 09:46:08 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kcsUcnidBZI1xD6oAoP47mFeL5E7ekVsm6SN+GG8fkRv9m6wnDDbNdl6Tec7zoNG3A6300T+fjlQ3PFvcJBHbz6esRdT8FmsDAdMzzhx4pfHnPzDsJl/Go6obSMYYj4Xa5aP7d56gIwcus9VoY3uc7Seh1Cye4FsbjCENGTcCUiWUarTW4QaIF+yxbB7FpYbcsLcfMOR91tlEqVkDIWXHVL2yNkplFqpNBSXh34AuJLTP1+CBFOylSOQJFtjU5s+GDmkbHIEVOi9RiZxP1dJziygmeE7UehmKh5rwvJf4PyQqArSbwavfARnXLRCuZxtYqXmmi+aqTKk84EwBJW9Bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=zZYtI6XsK5+un4VxXE5f2atZTuntKdDqsMOixkuJQqQ=; b=Mj1YJb3yFJ1/U8t5XRoInOpnIMxiJ38fi8XOMb1NIgEwnq/KkwpfuYBgW/+DVKoWnDZTIlCCWVTrXlzNDqj3Fc19OrK18dNiqxe0vlcXxD64ANLVLcrZoPt0+8aSOJAzSgXMdKf8Cny6ek1jiMgFQ/MGO68SbXNA+Zd4LmKp1Zt9UFiaW23oPsJ3/7bb9Hmxb4sE7f9CAKDLIDLNQQ8Z+c6B8XJv3AuzArlP1BVuh3xw1KxampPEBmTVIun8DINazTDyaEBkRgcev8Imit4NBumvzUphvBKwTSnNJIProZxuGoKjHQTV5lFquuxfnM0/ju0RMYuXOP9TkvDUYr+Pqg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none Received: from BYAPR10MB2888.namprd10.prod.outlook.com (2603:10b6:a03:88::32) by PH7PR10MB5723.namprd10.prod.outlook.com (2603:10b6:510:127::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5924.16; Fri, 23 Dec 2022 09:46:06 +0000 Received: from BYAPR10MB2888.namprd10.prod.outlook.com ([fe80::ebe9:b7c9:82ae:d256]) by BYAPR10MB2888.namprd10.prod.outlook.com ([fe80::ebe9:b7c9:82ae:d256%7]) with mapi id 15.20.5944.013; Fri, 23 Dec 2022 09:46:06 +0000 To: gcc-patches@gcc.gnu.org Subject: [PATCH,WWWDOCS] htdocs: add an Atom feed for GCC news Date: Fri, 23 Dec 2022 10:50:13 +0100 Message-Id: <20221223095013.3630-1-jose.marchesi@oracle.com> X-Mailer: git-send-email 2.30.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: PAZP264CA0256.FRAP264.PROD.OUTLOOK.COM (2603:10a6:102:239::8) To BYAPR10MB2888.namprd10.prod.outlook.com (2603:10b6:a03:88::32) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BYAPR10MB2888:EE_|PH7PR10MB5723:EE_ X-MS-Office365-Filtering-Correlation-Id: dc411a35-7bb1-4bbd-d9fa-08dae4ca833b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 8l52BWbRjaOkjYdqZ891LE9ZJruWos+KQ/gX3J+K677m2GJEJ1aG4obu4ctcoQvJtFq3jTjfEc8Cea0mpE+q0jYdoNzl+o2WKVc0BdJ9/AqMdqCUTcZ0eK0YpPGBXHAPiM71ltw4BWNxYcWi63wt6K+gqSbvAuN9v2jbnJcjAlA/yObNbtyUJsJC+JejZEgzkLeZwYXMLSga1WyT/pv0XC6LCRmE8LjWwgHplTlTPgSAyAGfAeLfwQmCGkXC5tGJlPVDT4ll+unKX8WEC1m6D9WbPQJ8dOS68eZauwbg+Y1RDsC3IH+mb+1pMADZNztiagyAZOXfd5UQ9UegtX3aDo6dizdGp27vC8LlanrY6OJTqrTUVR5J5XuYKBaKTeHKp8+HWfN1XrNdGFBp7zrW5aQRkmhFQW9zojtO9cf3lJEODRiQkb0NUxPPey5U8isTBSy1u/X6R1g366dETJXGU1a4Y+XWel1RGWs7lsR0N2RdJ6yVSt303Y7DMkrrzVqS47yNaSy3ZJJS8xVowv4Ph6FOEwF9sNjwsyKaikKJiMelw/EEWMzgjyRo2s8vL/LlcgJ2Yat1uU4FCftkwCSZgkvLZTcvHXDW1Rr9220og0g7l+ZmTldLDf92v5yMyikp9l18kQAH5gG10BeYeoNFix9G72bgRRA1yNmiEeDi0ls06b3BYE7o6cXkGk8RjsfonImB7JiCPh/UPwMzqvnkuVtdzUWJ0jTLhlg+G97GRE56kkgb8UrkXvCeSJy09nVpZD8HALtbvR3Y5KBOIiJRIw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR10MB2888.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(366004)(136003)(39860400002)(396003)(376002)(346002)(451199015)(66476007)(6512007)(36756003)(41300700001)(478600001)(1076003)(186003)(83380400001)(66946007)(6916009)(2906002)(8676002)(2616005)(86362001)(5660300002)(8936002)(66574015)(26005)(66556008)(6486002)(6666004)(316002)(38100700002)(6506007)(7744002)(2004002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?h7pwrnfa/9Vdi8XnVpAM05pXOxaC?= =?utf-8?q?QdT8rUX2tzNLHn/2ewrY81rVBuucmH5iH0R4KljEtaZaZ0hyCQshcXE+82r7shn4D?= =?utf-8?q?hzAO3ivoaLstrZ5Re9LlRcC7a5ScnvYUq5JR9AUq6937lXtXfSyTjinNSNOUTBRJH?= =?utf-8?q?APXTrOLrrv7iIk755auxFGGTh+lNWpIiEHVejUQdAX1Tv43u+ngsQ9Cw9tQG131/s?= =?utf-8?q?Ksm9VO6940ZDu2+mAIU5u9jSaOQk4KlkNIssF8spDnB/ftA5s+oX95EImDxqllZAU?= =?utf-8?q?x7IIYQKz9Hg1RkJJnYMmuRx7FmKk5Uy2JDPP1xqhM1T9rgy+CJnOZoAvSFZ1yyASc?= =?utf-8?q?m+I8BRhZbJKBv8cnRywe67CQH9lJGCBo57Wmuuy82tF/ZTnIcbtzKSHo+qwRH7FfI?= =?utf-8?q?5NV5ZL+4GMro4yJnuV4+/EY3Zw9B/eETcQ+l6kRZ5eAttwL+9AD4D0GTAIUOFioO7?= =?utf-8?q?irTDUwCclHOEB/CoWxt05qWfHSwPuAYjN2oG3DyPFtKLS6YuPUW1xNmtAtNmzJnlI?= =?utf-8?q?zmFB/3J2Fpdjrztg43vdijrEUqKIbxL14gk8dB2znub9mg3y0l127SX2H6aJIwGF6?= =?utf-8?q?tKZeB/ji/fudqShe75ZKldyGVOk+nXEVg7zo4RliuL/bRXM0Wu+PXmiD5ZzGvu6iz?= =?utf-8?q?SVLUDH+vHVczaTDyMpfOEI/JKjyflE4+eeQi4/i0y6xAkcYp3sSBlMYCgJn8pwOGW?= =?utf-8?q?UuTHRkgqYYeBsDwWhQRWeBIH7tKn3ujwv2V5lbU/LuQ5V9LpuMAkFyMeuLujR340V?= =?utf-8?q?/DBDRwf4fNP1Vzb1GBMyC3P4dtngUpxZc88WEgL83EEi/zrFdSSnFhyVf0f/DLaQ1?= =?utf-8?q?D8HM2gBU1f/195lHcYsdi8YZeODNUP8p5Kjjqzu5oUuw0/py4M2IhtfSxAx5+aylO?= =?utf-8?q?hd35T2OBGgxtnsOQWdSWUI4l0A+E73Gat+4JsN46rALbUyhK0PmCyM1cZqrM3WT+d?= =?utf-8?q?btUWIpLUEm+J+eO1jZzyPBOkqYyp4lGNVA+xA/ZcmP851vnupUZcuckAPaceITLld?= =?utf-8?q?cECWEhE4iEk5R61viZTVB7CgFTi9AzIj2POsC9kwAKnRRW5UFixX7tYnpxwQNYpGD?= =?utf-8?q?ye1aCTQx6ije2INaaHlHEOMIiCf/8xZFX6bhZ7OzY4LQpU6Gw3gY8+j8A7WPbk4ES?= =?utf-8?q?sAwVGsQW8R78PNkZJ0F29DnESg4/KsdPrsQ0vLPKrPVP1ypXsxTVCl0n8U3s5oygA?= =?utf-8?q?4PUCc3yJrPy8IgqtWVMjcLm6Q1RZEe6SAgbJXlCHyW9zPz91nZFkUtiHFcmSRMBds?= =?utf-8?q?d0PclneaG3P+61l9Nm5fLaFEuLzDwgbOvyeB6180mbVSCZdPt0iM8BmKfJZp/2DJB?= =?utf-8?q?PDjpjGRQZaD3vD09iDmMGl0eGkAUt8xf11PT8CpLfFPZaU1nykBgYLTJ5ylGfhGUH?= =?utf-8?q?szzkMB0yNACl1wYpOa1iZy+m5Jgm9lCHhxxcGyJpeI7WIVaENBwoYYoGxXRbMFijR?= =?utf-8?q?OfgEcLf8pdR4HnccfBfjYMxqhGKULbHuGhGkkWBsCUEVE0Asx5vJVHrsf9SABykGt?= =?utf-8?q?TmvZY55EDILIyBBciqPQRK9T7t+9jLRnZg=3D=3D?= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: dc411a35-7bb1-4bbd-d9fa-08dae4ca833b X-MS-Exchange-CrossTenant-AuthSource: BYAPR10MB2888.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Dec 2022 09:46:06.3704 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: +fiuCk0VCDRK0NSG0AtZril1KtbYf22rJA2Qg4MK+t2MJ9fbG9EdwqYHXeeMohQwkE3/l/z/qlnZ1CRzPbzH1+C7T65VQ8Pz3TYG8yC1VBc= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR10MB5723 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-12-23_04,2022-12-22_03,2022-06-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 bulkscore=0 mlxscore=0 adultscore=0 phishscore=0 suspectscore=0 spamscore=0 mlxlogscore=640 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2212230083 X-Proofpoint-ORIG-GUID: uENqyS3wlw9YZ_gVbu3ZV-dezQ9lDn_k X-Proofpoint-GUID: uENqyS3wlw9YZ_gVbu3ZV-dezQ9lDn_k X-Spam-Status: No, score=-12.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_SHORT, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> From: "Jose E. Marchesi via Gcc-patches" <gcc-patches@gcc.gnu.org> Reply-To: "Jose E. Marchesi" <jose.marchesi@oracle.com> Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Sender: "Gcc-patches" <gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org> |
Series |
[WWWDOCS] htdocs: add an Atom feed for GCC news
|
|
Commit Message
Jose E. Marchesi
Dec. 23, 2022, 9:50 a.m. UTC
This patch adds an Atom feed for GCC news, which can then be easily aggregated in other sites, such as the GNU planet (https://planet.gnu.org). The feed lives in a file news.xml, and this patch initializes it with the latest entry in News as an example. --- htdocs/index.html | 9 ++++++++- htdocs/news.xml | 28 ++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 htdocs/news.xml
Comments
Hi! On 2022-12-23T10:50:13+0100, "Jose E. Marchesi via Gcc-patches" <gcc-patches@gcc.gnu.org> wrote: > This patch adds an Atom feed for GCC news, which can then be easily > aggregated in other sites, such as the GNU planet > (https://planet.gnu.org). > > The feed lives in a file news.xml, and this patch initializes it with > the latest entry in News as an example. I absolutely agree that providing such an RSS feed is a good thing (..., and that we generally should make better use of our News section, and other "PR"...) -- but I'm less convinced by the prospect of manually editing the RSS 'news.xml' file, duplicating in a (potentially) different format what we've got in the HTML News section. :-| Ideally, there'd be some simple files for News items (Markdown, or similar), which are then converted into HTML News as well as RSS feed. Obviously, there needs to be some consensus on what to use, and somebody needs to set up the corresponding machinery... Or do others think that manual 'news.xml' maintenance is not so bad (for now)? Grüße Thomas > --- > htdocs/index.html | 9 ++++++++- > htdocs/news.xml | 28 ++++++++++++++++++++++++++++ > 2 files changed, 36 insertions(+), 1 deletion(-) > create mode 100644 htdocs/news.xml > > diff --git a/htdocs/index.html b/htdocs/index.html > index e91fadf1..2ddee6f6 100644 > --- a/htdocs/index.html > +++ b/htdocs/index.html > @@ -6,6 +6,9 @@ > <meta name="google-site-verification" content="FUv_3eEIkimd6LAoWned4TPMqmKKQmw3aA2_PBJ5SAY"> > <title>GCC, the GNU Compiler Collection</title> > <link rel="stylesheet" type="text/css" href="https://gcc.gnu.org/gcc.css"> > +<link rel="alternate" type="application/rss+xml" > + title="News about the GNU Compiler Collection" > + href="news.xml"/> > </head> > > <set-var navigation> > @@ -48,7 +51,11 @@ mission statement</a>.</p> > > <!-- Note: We usually want to rotate news to the "old news" page when > it's more than 12 months old or the News pane on this page has > - become longer than the parallel one, whatever happens first. > + become longer than the parallel one, whatever happens first. > + > + Note: There is an Atom feed in news.xml, which is aggregated by > + some news aggregators and "planets". It is likely you want to > + add a new item there with the good news. > --> > > <td class="news border0"> > diff --git a/htdocs/news.xml b/htdocs/news.xml > new file mode 100644 > index 00000000..bebcaa66 > --- /dev/null > +++ b/htdocs/news.xml > @@ -0,0 +1,28 @@ > +<?xml version="1.0" encoding="UTF-8"?> > + > +<rss version="2.0"> > + <channel> > + <title>News about the GNU Compiler Collection</title> > + <link>https://gcc.gnu.org</link> > + <description> > + The GNU Compiler Collection includes front ends for C, C++, > + Objective-C, Fortran, Ada, Go, and D, as well as libraries for > + these languages (libstdc++,...). GCC was originally written as > + the compiler for the GNU operating system. The GNU system was > + developed to be 100% free software, free in the sense that it > + respects the user's freedom. > + </description> > + > + <item> > + <title>GCC BPF in Compiler Explorer</title> > + <link>https://godbolt.org</link> > + <description> > + Support for a nightly build of the bpf-unknown-none-gcc > + compiler has been contributed to Compiler Explorer (aka > + godbolt.org) by Marc Poulhiès > + </description> > + <pubDate>Fri, 23 December 2022 11:00:00 CET</pubDate> > + </item> > + > + </channel> > +</rss> > -- > 2.30.2 ----------------- Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstraße 201, 80634 München; Gesellschaft mit beschränkter Haftung; Geschäftsführer: Thomas Heurung, Frank Thürauf; Sitz der Gesellschaft: München; Registergericht München, HRB 106955
> Hi! > > On 2022-12-23T10:50:13+0100, "Jose E. Marchesi via Gcc-patches" <gcc-patches@gcc.gnu.org> wrote: >> This patch adds an Atom feed for GCC news, which can then be easily >> aggregated in other sites, such as the GNU planet >> (https://planet.gnu.org). >> >> The feed lives in a file news.xml, and this patch initializes it with >> the latest entry in News as an example. > > I absolutely agree that providing such an RSS feed is a good thing > (..., and that we generally should make better use of our News section, > and other "PR"...) -- but I'm less convinced by the prospect of manually > editing the RSS 'news.xml' file, duplicating in a (potentially) different > format what we've got in the HTML News section. :-| > > Ideally, there'd be some simple files for News items (Markdown, or > similar), which are then converted into HTML News as well as RSS feed. > Obviously, there needs to be some consensus on what to use, and somebody > needs to set up the corresponding machinery... > > Or do others think that manual 'news.xml' maintenance is not so bad (for > now)? I would like to point out that I have maintained these kind of feeds for my own sites for years, and that in my humble personal experience unless there are a lot of updates, like more than a couple of new entries per month, any automated schema would be overkill, prone to rot, and not really worth the effort. I strongly suggest to not overengineer here [and nowhere else :)] > > Grüße > Thomas > > >> --- >> htdocs/index.html | 9 ++++++++- >> htdocs/news.xml | 28 ++++++++++++++++++++++++++++ >> 2 files changed, 36 insertions(+), 1 deletion(-) >> create mode 100644 htdocs/news.xml >> >> diff --git a/htdocs/index.html b/htdocs/index.html >> index e91fadf1..2ddee6f6 100644 >> --- a/htdocs/index.html >> +++ b/htdocs/index.html >> @@ -6,6 +6,9 @@ >> <meta name="google-site-verification" content="FUv_3eEIkimd6LAoWned4TPMqmKKQmw3aA2_PBJ5SAY"> >> <title>GCC, the GNU Compiler Collection</title> >> <link rel="stylesheet" type="text/css" href="https://gcc.gnu.org/gcc.css"> >> +<link rel="alternate" type="application/rss+xml" >> + title="News about the GNU Compiler Collection" >> + href="news.xml"/> >> </head> >> >> <set-var navigation> >> @@ -48,7 +51,11 @@ mission statement</a>.</p> >> >> <!-- Note: We usually want to rotate news to the "old news" page when >> it's more than 12 months old or the News pane on this page has >> - become longer than the parallel one, whatever happens first. >> + become longer than the parallel one, whatever happens first. >> + >> + Note: There is an Atom feed in news.xml, which is aggregated by >> + some news aggregators and "planets". It is likely you want to >> + add a new item there with the good news. >> --> >> >> <td class="news border0"> >> diff --git a/htdocs/news.xml b/htdocs/news.xml >> new file mode 100644 >> index 00000000..bebcaa66 >> --- /dev/null >> +++ b/htdocs/news.xml >> @@ -0,0 +1,28 @@ >> +<?xml version="1.0" encoding="UTF-8"?> >> + >> +<rss version="2.0"> >> + <channel> >> + <title>News about the GNU Compiler Collection</title> >> + <link>https://gcc.gnu.org</link> >> + <description> >> + The GNU Compiler Collection includes front ends for C, C++, >> + Objective-C, Fortran, Ada, Go, and D, as well as libraries for >> + these languages (libstdc++,...). GCC was originally written as >> + the compiler for the GNU operating system. The GNU system was >> + developed to be 100% free software, free in the sense that it >> + respects the user's freedom. >> + </description> >> + >> + <item> >> + <title>GCC BPF in Compiler Explorer</title> >> + <link>https://godbolt.org</link> >> + <description> >> + Support for a nightly build of the bpf-unknown-none-gcc >> + compiler has been contributed to Compiler Explorer (aka >> + godbolt.org) by Marc Poulhiès >> + </description> >> + <pubDate>Fri, 23 December 2022 11:00:00 CET</pubDate> >> + </item> >> + >> + </channel> >> +</rss> >> -- >> 2.30.2 > ----------------- > Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstraße > 201, 80634 München; Gesellschaft mit beschränkter Haftung; > Geschäftsführer: Thomas Heurung, Frank Thürauf; Sitz der Gesellschaft: > München; Registergericht München, HRB 106955
>> Hi! >> >> On 2022-12-23T10:50:13+0100, "Jose E. Marchesi via Gcc-patches" <gcc-patches@gcc.gnu.org> wrote: >>> This patch adds an Atom feed for GCC news, which can then be easily >>> aggregated in other sites, such as the GNU planet >>> (https://planet.gnu.org). >>> >>> The feed lives in a file news.xml, and this patch initializes it with >>> the latest entry in News as an example. >> >> I absolutely agree that providing such an RSS feed is a good thing >> (..., and that we generally should make better use of our News section, >> and other "PR"...) -- but I'm less convinced by the prospect of manually >> editing the RSS 'news.xml' file, duplicating in a (potentially) different >> format what we've got in the HTML News section. :-| >> >> Ideally, there'd be some simple files for News items (Markdown, or >> similar), which are then converted into HTML News as well as RSS feed. >> Obviously, there needs to be some consensus on what to use, and somebody >> needs to set up the corresponding machinery... >> >> Or do others think that manual 'news.xml' maintenance is not so bad (for >> now)? > > I would like to point out that I have maintained these kind of feeds for > my own sites for years, and that in my humble personal experience unless > there are a lot of updates, like more than a couple of new entries per > month, any automated schema would be overkill, prone to rot, and not > really worth the effort. > > I strongly suggest to not overengineer here [and nowhere else :)] I forgot to mention that it is also useful to have fine-grain control of what you publish on what feed. Not all the news may be appropriate for all feeds. For example, I have a separated feed in my site for entries I want to aggregate in the GNU Planet. Other stuff, which is more personal in nature, is included in a more general feed, or not included in a feed at all. Not sure if this really applies to the case in hand, which is the GCC News, but that is another reason why I maintain my feeds manually as proposed in the patch.. > >> >> Grüße >> Thomas >> >> >>> --- >>> htdocs/index.html | 9 ++++++++- >>> htdocs/news.xml | 28 ++++++++++++++++++++++++++++ >>> 2 files changed, 36 insertions(+), 1 deletion(-) >>> create mode 100644 htdocs/news.xml >>> >>> diff --git a/htdocs/index.html b/htdocs/index.html >>> index e91fadf1..2ddee6f6 100644 >>> --- a/htdocs/index.html >>> +++ b/htdocs/index.html >>> @@ -6,6 +6,9 @@ >>> <meta name="google-site-verification" content="FUv_3eEIkimd6LAoWned4TPMqmKKQmw3aA2_PBJ5SAY"> >>> <title>GCC, the GNU Compiler Collection</title> >>> <link rel="stylesheet" type="text/css" href="https://gcc.gnu.org/gcc.css"> >>> +<link rel="alternate" type="application/rss+xml" >>> + title="News about the GNU Compiler Collection" >>> + href="news.xml"/> >>> </head> >>> >>> <set-var navigation> >>> @@ -48,7 +51,11 @@ mission statement</a>.</p> >>> >>> <!-- Note: We usually want to rotate news to the "old news" page when >>> it's more than 12 months old or the News pane on this page has >>> - become longer than the parallel one, whatever happens first. >>> + become longer than the parallel one, whatever happens first. >>> + >>> + Note: There is an Atom feed in news.xml, which is aggregated by >>> + some news aggregators and "planets". It is likely you want to >>> + add a new item there with the good news. >>> --> >>> >>> <td class="news border0"> >>> diff --git a/htdocs/news.xml b/htdocs/news.xml >>> new file mode 100644 >>> index 00000000..bebcaa66 >>> --- /dev/null >>> +++ b/htdocs/news.xml >>> @@ -0,0 +1,28 @@ >>> +<?xml version="1.0" encoding="UTF-8"?> >>> + >>> +<rss version="2.0"> >>> + <channel> >>> + <title>News about the GNU Compiler Collection</title> >>> + <link>https://gcc.gnu.org</link> >>> + <description> >>> + The GNU Compiler Collection includes front ends for C, C++, >>> + Objective-C, Fortran, Ada, Go, and D, as well as libraries for >>> + these languages (libstdc++,...). GCC was originally written as >>> + the compiler for the GNU operating system. The GNU system was >>> + developed to be 100% free software, free in the sense that it >>> + respects the user's freedom. >>> + </description> >>> + >>> + <item> >>> + <title>GCC BPF in Compiler Explorer</title> >>> + <link>https://godbolt.org</link> >>> + <description> >>> + Support for a nightly build of the bpf-unknown-none-gcc >>> + compiler has been contributed to Compiler Explorer (aka >>> + godbolt.org) by Marc Poulhiès >>> + </description> >>> + <pubDate>Fri, 23 December 2022 11:00:00 CET</pubDate> >>> + </item> >>> + >>> + </channel> >>> +</rss> >>> -- >>> 2.30.2 >> ----------------- >> Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstraße >> 201, 80634 München; Gesellschaft mit beschränkter Haftung; >> Geschäftsführer: Thomas Heurung, Frank Thürauf; Sitz der Gesellschaft: >> München; Registergericht München, HRB 106955
On Wed, 11 Jan 2023, Thomas Schwinge wrote: > On 2022-12-23T10:50:13+0100, "Jose E. Marchesi via Gcc-patches" <gcc-patches@gcc.gnu.org> wrote: >> This patch adds an Atom feed for GCC news, which can then be easily >> aggregated in other sites, such as the GNU planet >> (https://planet.gnu.org). > I absolutely agree that providing such an RSS feed is a good thing > (..., and that we generally should make better use of our News section, > and other "PR"...) -- but I'm less convinced by the prospect of manually > editing the RSS 'news.xml' file, duplicating in a (potentially) different > format what we've got in the HTML News section. :-| Agreed, yet... > Ideally, there'd be some simple files for News items (Markdown, or > similar), which are then converted into HTML News as well as RSS feed. > Obviously, there needs to be some consensus on what to use, and somebody > needs to set up the corresponding machinery... ...how are we going to get to that? On Thu, 12 Jan 2023, Jose E. Marchesi wrote: > I would like to point out that I have maintained these kind of feeds for > my own sites for years, and that in my humble personal experience unless > there are a lot of updates, like more than a couple of new entries per > month, any automated schema would be overkill, prone to rot, and not > really worth the effort. That is a bit of a concern. I'd love having a single source that feeds both the News section on our main page, rolls over into news.html, and also feeds the Atom feed (no pun intended). On the other hand, with less than a dozen entries per year, even if manually converting form one to the other takes 5 minutes, creating such a machinery wouldn't amortize anytime soon > I strongly suggest to not overengineer here [and nowhere else :)] I am tempted to agree (even if the engineer in me would prefer to avoid duplication). Jose, might you be willing to help others create Atom feed entries? What do others think? Gerald
On Fri, 23 Dec 2022, Jose E. Marchesi via Gcc-patches wrote: > This patch adds an Atom feed for GCC news I was going to approve, would like to see a bit consensus with others though. For now some review: > <!-- Note: We usually want to rotate news to the "old news" page when > it's more than 12 months old or the News pane on this page has > - become longer than the parallel one, whatever happens first. > + become longer than the parallel one, whatever happens first. > + > + Note: There is an Atom feed in news.xml, which is aggregated by > + some news aggregators and "planets". It is likely you want to > + add a new item there with the good news. > --> I recommend switching the two notes. The one on the feed feels more important since that aspect is easier to miss than the required rotation (which visually presents itself when one looks at our web site). > +++ b/htdocs/news.xml > @@ -0,0 +1,28 @@ > +<?xml version="1.0" encoding="UTF-8"?> > + > +<rss version="2.0"> > + <channel> > + <title>News about the GNU Compiler Collection</title> > + <link>https://gcc.gnu.org</link> > + <description> > + The GNU Compiler Collection includes front ends for C, C++, > + Objective-C, Fortran, Ada, Go, and D, as well as libraries for > + these languages (libstdc++,...). GCC was originally written as > + the compiler for the GNU operating system. The GNU system was > + developed to be 100% free software, free in the sense that it > + respects the user's freedom. > + </description> Looks like we should think of updating our description (though that's beyond the scope of your patch), for example talking more about the many platforms supported and less about history. > + <item> > + <title>GCC BPF in Compiler Explorer</title> > + <link>https://godbolt.org</link> > + <description> > + Support for a nightly build of the bpf-unknown-none-gcc > + compiler has been contributed to Compiler Explorer (aka > + godbolt.org) by Marc Poulhiès Would this be full sentences (with a full stop)? When one adds additional entries, do those come at the beginning or the end? (Could there be a comment?) > + <pubDate>Fri, 23 December 2022 11:00:00 CET</pubDate> On the web site we use ISO dates - any issues with that? And does the feed require time of day, or could we omit that? (Especially with different timezones we all are in?) Gerald
> On Wed, 11 Jan 2023, Thomas Schwinge wrote: >> On 2022-12-23T10:50:13+0100, "Jose E. Marchesi via Gcc-patches" >> <gcc-patches@gcc.gnu.org> wrote: >>> This patch adds an Atom feed for GCC news, which can then be easily >>> aggregated in other sites, such as the GNU planet >>> (https://planet.gnu.org). >> I absolutely agree that providing such an RSS feed is a good thing >> (..., and that we generally should make better use of our News section, >> and other "PR"...) -- but I'm less convinced by the prospect of manually >> editing the RSS 'news.xml' file, duplicating in a (potentially) different >> format what we've got in the HTML News section. :-| > > Agreed, yet... > >> Ideally, there'd be some simple files for News items (Markdown, or >> similar), which are then converted into HTML News as well as RSS feed. >> Obviously, there needs to be some consensus on what to use, and somebody >> needs to set up the corresponding machinery... > > ...how are we going to get to that? > > > On Thu, 12 Jan 2023, Jose E. Marchesi wrote: >> I would like to point out that I have maintained these kind of feeds for >> my own sites for years, and that in my humble personal experience unless >> there are a lot of updates, like more than a couple of new entries per >> month, any automated schema would be overkill, prone to rot, and not >> really worth the effort. > > That is a bit of a concern. I'd love having a single source that feeds > both the News section on our main page, rolls over into news.html, and > also feeds the Atom feed (no pun intended). > > On the other hand, with less than a dozen entries per year, even if > manually converting form one to the other takes 5 minutes, creating > such a machinery wouldn't amortize anytime soon Yeah I guess it all depends on how much the news section is used. I personally think that it would be beneficial for the different GCC projects (front-ends, back-ends, etc) to be a little more vocal, public wise. Releasing news items more often may help with that. Of course one could argue that making it easier to add news to the system (without having to manually rotate the .html file, add to the feed if desired, etc) would help with that. And probably would be right :D >> I strongly suggest to not overengineer here [and nowhere else :)] > > I am tempted to agree (even if the engineer in me would prefer to avoid > duplication). Jose, might you be willing to help others create Atom feed > entries? Sure. It is as easy as adding one of these things to the .xml file: <item> <title>Rhhw Friday 16 March 2018 - Sunday 18 March 2018 @ Frankfurt am Main</title> <link>http://jemarch.net/rhhw.html#16march2018</link> <description> The Rabbit Herd will be meeting the weekend from 16 March to 18 March. </description> <pubDate>Mon, 12 March 2018 15:00:00 CET</pubDate> </item> To be sure nothing breaks we may run a XML validator on the server to reject pushes that break the .xml file. There must be an XML schema for XML Atom feeds somewhere.. > What do others think? > > Gerald
Hi, "Jose E. Marchesi via Gcc-patches" <gcc-patches@gcc.gnu.org> writes: > Yeah I guess it all depends on how much the news section is used. > > I personally think that it would be beneficial for the different GCC > projects (front-ends, back-ends, etc) to be a little more vocal, public > wise. Releasing news items more often may help with that. > > Of course one could argue that making it easier to add news to the > system (without having to manually rotate the .html file, add to the > feed if desired, etc) would help with that. And probably would be right > :D Should that happen, it should be quite trivial to put together (for instance) a Python+Jinja2 or Perl script to generate both forms from a common source. That should be very little engineering ;). In addition, such a program would make it easy to also provide RSS feeds besides the Atom ones, which some might benefit from (IIRC, Gnus doesn't ship Atom support yet, for instance). I am in favor of putting more words out there, news tends to grab attention, which could benefit both users and the project. >>> I strongly suggest to not overengineer here [and nowhere else :)] >> >> I am tempted to agree (even if the engineer in me would prefer to avoid >> duplication). Jose, might you be willing to help others create Atom feed >> entries? > > Sure. It is as easy as adding one of these things to the .xml file: > > <item> > <title>Rhhw Friday 16 March 2018 - Sunday 18 March 2018 @ > Frankfurt am Main</title> > <link>http://jemarch.net/rhhw.html#16march2018</link> > <description> > The Rabbit Herd will be meeting the weekend from 16 March to > 18 March. > </description> > <pubDate>Mon, 12 March 2018 15:00:00 CET</pubDate> > </item> > > To be sure nothing breaks we may run a XML validator on the server to > reject pushes that break the .xml file. There must be an XML schema for > XML Atom feeds somewhere.. The W3C provides a validator for feeds too: https://validator.w3.org/feed/ and indeed, there's a schema, see RFC4287 appendix B (<https://datatracker.ietf.org/doc/html/rfc4287#appendix-B>). >> What do others think? >> >> Gerald Hope that helps!
diff --git a/htdocs/index.html b/htdocs/index.html index e91fadf1..2ddee6f6 100644 --- a/htdocs/index.html +++ b/htdocs/index.html @@ -6,6 +6,9 @@ <meta name="google-site-verification" content="FUv_3eEIkimd6LAoWned4TPMqmKKQmw3aA2_PBJ5SAY"> <title>GCC, the GNU Compiler Collection</title> <link rel="stylesheet" type="text/css" href="https://gcc.gnu.org/gcc.css"> +<link rel="alternate" type="application/rss+xml" + title="News about the GNU Compiler Collection" + href="news.xml"/> </head> <set-var navigation> @@ -48,7 +51,11 @@ mission statement</a>.</p> <!-- Note: We usually want to rotate news to the "old news" page when it's more than 12 months old or the News pane on this page has - become longer than the parallel one, whatever happens first. + become longer than the parallel one, whatever happens first. + + Note: There is an Atom feed in news.xml, which is aggregated by + some news aggregators and "planets". It is likely you want to + add a new item there with the good news. --> <td class="news border0"> diff --git a/htdocs/news.xml b/htdocs/news.xml new file mode 100644 index 00000000..bebcaa66 --- /dev/null +++ b/htdocs/news.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<rss version="2.0"> + <channel> + <title>News about the GNU Compiler Collection</title> + <link>https://gcc.gnu.org</link> + <description> + The GNU Compiler Collection includes front ends for C, C++, + Objective-C, Fortran, Ada, Go, and D, as well as libraries for + these languages (libstdc++,...). GCC was originally written as + the compiler for the GNU operating system. The GNU system was + developed to be 100% free software, free in the sense that it + respects the user's freedom. + </description> + + <item> + <title>GCC BPF in Compiler Explorer</title> + <link>https://godbolt.org</link> + <description> + Support for a nightly build of the bpf-unknown-none-gcc + compiler has been contributed to Compiler Explorer (aka + godbolt.org) by Marc Poulhiès + </description> + <pubDate>Fri, 23 December 2022 11:00:00 CET</pubDate> + </item> + + </channel> +</rss>