Re: Patch to add 'id'

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: Patch to add 'id'
Дата
Msg-id CABUevEwXkdaNmWx=5_Pi8JuFD+wd+tbffRA56bq9vJFi2Mf64A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Patch to add 'id'  ("Jonathan S. Katz" <jkatz@postgresql.org>)
Список pgsql-www


On Sun, Jun 10, 2018 at 11:46 PM, Jonathan S. Katz <jkatz@postgresql.org> wrote:

On Jun 10, 2018, at 3:40 PM, Magnus Hagander <magnus@hagander.net> wrote:

On Sun, Jun 10, 2018 at 4:16 AM, Bruce Momjian <bruce@momjian.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.

Uh, if you are looking to get the current release, why are you scraping the main webpage instead of using the structured format data already available at https://www.postgresql.org/versions.rss?

(Now granted, I think that link may have gone missing in the redesign, but your pglife thing predates that..) 

Now, having staid that, we should probably consider having a structured format with more data in it. But doesn't that one actually have all you need?

Hm...just expanding on his, perhaps we have a “Feeds” page that has a collection of all the different
feeds we offer?


That would probably not be a bad idea. Though perhaps have it being something other than specifically feeds, if we want to for example add the ability to give a json (or xml or whatnot) page with fully structured version info etc. Unless we want to consider those as being separate things and apart -- but I think having them both on the same page would make sense. 


--

В списке pgsql-www по дате отправления:

Предыдущее
От: "Jonathan S. Katz"
Дата:
Сообщение: Re: Patch to add 'id'
Следующее
От: Tom Lane
Дата:
Сообщение: Undesirable whitespace treatment in mail archive display