Обсуждение: RSS should contain URL to source code

Поиск
Список
Период
Сортировка

RSS should contain URL to source code

От
Martin Atukunda
Дата:
Hi,

The most recent releases for postgresql are available via RSS URL
http://www.postgresql.org/versions.rss. This RSS feed is already very
useful (the link for each entry points to the release notes for that
release of postgresql)

But the description of each item on the RSS feed is simply the text

-- 8< --
MAJOR.MINOR.RELEASE is the latest release in the MAJOR.MINOR series.
-- >8 --

I'd like to propose that the description be extended a little to
include the URL from which to download the source code. Something like
this:

-- 8< --
MAJOR.MINOR.RELEASE is the latest release in the MAJOR.MINOR series.

Grab it from here:
ftp://ftp.postgresql.org/pub/source/vMAJOR.MINOR.RELEASE/postgresql-MAJOR.MINOR.RELEASE.tar.gz
-- >8 --

- Martin -


Re: RSS should contain URL to source code

От
Magnus Hagander
Дата:
On Thu, Oct 7, 2010 at 15:32, Martin Atukunda <matlads@gmail.com> wrote:
> Hi,
>
> The most recent releases for postgresql are available via RSS URL
> http://www.postgresql.org/versions.rss. This RSS feed is already very
> useful (the link for each entry points to the release notes for that
> release of postgresql)
>
> But the description of each item on the RSS feed is simply the text
>
> -- 8< --
> MAJOR.MINOR.RELEASE is the latest release in the MAJOR.MINOR series.
> -- >8 --
>
> I'd like to propose that the description be extended a little to
> include the URL from which to download the source code. Something like
> this:
>
> -- 8< --
> MAJOR.MINOR.RELEASE is the latest release in the MAJOR.MINOR series.
>
> Grab it from here:
> ftp://ftp.postgresql.org/pub/source/vMAJOR.MINOR.RELEASE/postgresql-MAJOR.MINOR.RELEASE.tar.gz
> -- >8 --

Why the source, and not binaries? And once we open that can of work,
there'll be lots of it. I guess we could add a link to
http://www.postgresql.org/download, but I have a feeling the part
you're after is not to have to browse but get directly to the correct
version?

--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/


Re: RSS should contain URL to source code

От
Gabriele Bartolini
Дата:
Hi,

Il 07/10/10 15:32, Martin Atukunda ha scritto:
> I'd like to propose that the description be extended a little to
> include the URL from which to download the source code. Something like
> this:

I would actually suggest to use the Atom Syndication Format as well, 
which would allow to specify even multiple "links" in different formats, 
using the link element together with the 'alt' and the 'rel' attributes. 
This would allow to have such information available as metadata rather 
than text.

My 2 cents.

Of course, if you want and you think it is easily doable, I can prepare 
an example using the current data, or assist you with coding the script 
to generate it (I assume it is PHP, isn't it?).

Ciao,
Gabriele

--  Gabriele Bartolini - 2ndQuadrant Italia PostgreSQL Training, Services and Support gabriele.bartolini@2ndQuadrant.it
|www.2ndQuadrant.it
 



Re: RSS should contain URL to source code

От
Martin Atukunda
Дата:
Yes, you are right. I wanted the convenience of getting directly to
the source of the correct version.

But on second thought, I don't see why we can't _also_ include the
link to the generic download page.

- Martin -

On Thu, Oct 7, 2010 at 7:36 PM, Magnus Hagander <magnus@hagander.net> wrote:
> On Thu, Oct 7, 2010 at 15:32, Martin Atukunda <matlads@gmail.com> wrote:
>> Hi,
>>
>> The most recent releases for postgresql are available via RSS URL
>> http://www.postgresql.org/versions.rss. This RSS feed is already very
>> useful (the link for each entry points to the release notes for that
>> release of postgresql)
>>
>> But the description of each item on the RSS feed is simply the text
>>
>> -- 8< --
>> MAJOR.MINOR.RELEASE is the latest release in the MAJOR.MINOR series.
>> -- >8 --
>>
>> I'd like to propose that the description be extended a little to
>> include the URL from which to download the source code. Something like
>> this:
>>
>> -- 8< --
>> MAJOR.MINOR.RELEASE is the latest release in the MAJOR.MINOR series.
>>
>> Grab it from here:
>> ftp://ftp.postgresql.org/pub/source/vMAJOR.MINOR.RELEASE/postgresql-MAJOR.MINOR.RELEASE.tar.gz
>> -- >8 --
>
> Why the source, and not binaries? And once we open that can of work,
> there'll be lots of it. I guess we could add a link to
> http://www.postgresql.org/download, but I have a feeling the part
> you're after is not to have to browse but get directly to the correct
> version?
>
> --
>  Magnus Hagander
>  Me: http://www.hagander.net/
>  Work: http://www.redpill-linpro.com/
>