From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | Daniel Gustafsson <daniel(at)yesql(dot)se> |
Cc: | PostgreSQL www <pgsql-www(at)postgresql(dot)org> |
Subject: | Re: Patch to add 'id' |
Date: | 2018-06-11 21:24:14 |
Message-ID: | 20180611212414.GA19714@momjian.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-www |
On Sun, Jun 10, 2018 at 09:29:51PM +0200, Daniel Gustafsson wrote:
> > On 10 Jun 2018, at 04:16, Bruce Momjian <bruce(at)momjian(dot)us> wrote:
> >
> > Would someone please apply this patch to the website code so pglife
> > (http://pglife.momjian.us/) can more easily scrape the current release
> > numbers from the website? Thanks.
>
> While harmless enough, I’m not a huge fan of adding identifiers to the site
> which are not in use in the site code, such non-obvious external dependencies
> make the code harder to maintain.
>
> If you are using XPath expressions to access the values, would something like
> this on the versioning page suffice for what you’re after?
>
> //*[(at)id="pgContentWrap"]/table/tbody/tr/td[text()="Yes"]/../td[2]
>
> cheers ./daniel
What is the URL of the versioning page? This one?
https://www.postgresql.org/about/featurematrix/
--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ As you are, so once was I. As I am, so you will be. +
+ Ancient Roman grave inscription +
From | Date | Subject | |
---|---|---|---|
Next Message | Daniel Gustafsson | 2018-06-11 21:36:48 | Re: Patch to add 'id' |
Previous Message | Jonathan S. Katz | 2018-06-11 20:52:49 | Re: Undesirable whitespace treatment in mail archive display |