Обсуждение: Need "subscribe to this list" link from archives

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

Need "subscribe to this list" link from archives

От
Josh Berkus
Дата:
WWW,

In the changes to archives.postgresql.org, the link for "subscribe to
this list" got eliminated entirely.  As a result, someone browsing
pgsql-performance archives and got there from google, for example, has
no idea how to subscribe to -performance unless they're already familiar
with our site structure.

We should have a link on every page of the archives to the subscription
form, at least.  Thanks!

-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com



Re: Need "subscribe to this list" link from archives

От
Magnus Hagander
Дата:
On Tue, Jun 11, 2013 at 8:50 PM, Josh Berkus <josh@agliodbs.com> wrote:
> WWW,
>
> In the changes to archives.postgresql.org, the link for "subscribe to
> this list" got eliminated entirely.  As a result, someone browsing
> pgsql-performance archives and got there from google, for example, has
> no idea how to subscribe to -performance unless they're already familiar
> with our site structure.
>
> We should have a link on every page of the archives to the subscription
> form, at least.  Thanks!

Doesn't seem unreasonable. Can you provide a patch?

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



Re: Need "subscribe to this list" link from archives

От
Josh Berkus
Дата:
>> We should have a link on every page of the archives to the subscription
>> form, at least.  Thanks!
> 
> Doesn't seem unreasonable. Can you provide a patch?

I don't actually know where the archive-populating code lives.

-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com



Re: Need "subscribe to this list" link from archives

От
Magnus Hagander
Дата:
On Wed, Jun 12, 2013 at 10:50 PM, Josh Berkus <josh@agliodbs.com> wrote:
>
>>> We should have a link on every page of the archives to the subscription
>>> form, at least.  Thanks!
>>
>> Doesn't seem unreasonable. Can you provide a patch?
>
> I don't actually know where the archive-populating code lives.

Unsurprisingly, it's on git.postgresql.org:
http://git.postgresql.org/gitweb/?p=pgarchives.git;a=summary

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



Re: Need "subscribe to this list" link from archives

От
Josh Berkus
Дата:
> Unsurprisingly, it's on git.postgresql.org:
> http://git.postgresql.org/gitweb/?p=pgarchives.git;a=summary

Ah, I was hunting through the pgweb code.


-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com



Re: Need "subscribe to this list" link from archives

От
Josh Berkus
Дата:
On 06/12/2013 01:56 PM, Josh Berkus wrote:
> 
>> Unsurprisingly, it's on git.postgresql.org:
>> http://git.postgresql.org/gitweb/?p=pgarchives.git;a=summary
> 
> Ah, I was hunting through the pgweb code.

So where does it make sense to put it?  Right below "Search", or in the
left-hand menu?


-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com



Re: Need "subscribe to this list" link from archives

От
Josh Berkus
Дата:
On 06/12/2013 02:02 PM, Josh Berkus wrote:
> On 06/12/2013 01:56 PM, Josh Berkus wrote:
>>
>>> Unsurprisingly, it's on git.postgresql.org:
>>> http://git.postgresql.org/gitweb/?p=pgarchives.git;a=summary
>>
>> Ah, I was hunting through the pgweb code.
> 
> So where does it make sense to put it?  Right below "Search", or in the
> left-hand menu?

I can't come up with any way to create a "subscribe to mailing list X"
link, as opposed to the general subscription form.  Thoughts?

-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com



Re: Need "subscribe to this list" link from archives

От
Magnus Hagander
Дата:
On Sun, Jun 16, 2013 at 8:41 PM, Josh Berkus <josh@agliodbs.com> wrote:
> On 06/12/2013 02:02 PM, Josh Berkus wrote:
>> On 06/12/2013 01:56 PM, Josh Berkus wrote:
>>>
>>>> Unsurprisingly, it's on git.postgresql.org:
>>>> http://git.postgresql.org/gitweb/?p=pgarchives.git;a=summary
>>>
>>> Ah, I was hunting through the pgweb code.
>>
>> So where does it make sense to put it?  Right below "Search", or in the
>> left-hand menu?
>
> I can't come up with any way to create a "subscribe to mailing list X"
> link, as opposed to the general subscription form.  Thoughts?

Maybe it's enough to just have a well-placed link to the general
subscription form?

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



Re: Need "subscribe to this list" link from archives

От
Josh Berkus
Дата:
> Maybe it's enough to just have a well-placed link to the general
> subscription form?

That was my attention at first, except that there are a couple hundred
lists on the "choose list" drop-down, and they're alphabetically
ordered, which means the first two dozen or so are region-specific lists.

-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com



Re: Need "subscribe to this list" link from archives

От
Magnus Hagander
Дата:
On Mon, Jun 17, 2013 at 7:00 PM, Josh Berkus <josh@agliodbs.com> wrote:
>
>> Maybe it's enough to just have a well-placed link to the general
>> subscription form?
>
> That was my attention at first, except that there are a couple hundred
> lists on the "choose list" drop-down, and they're alphabetically
> ordered, which means the first two dozen or so are region-specific lists.

Uh? It's 77 lists. Of which 69 are shown. That's pretty far from "a
couple of hundred".

That said, it would be nice to make that thing a bit neater. Not sure
how easy it is to do under the standard form, but with a custom
template we should be able to use optgroup tags at least. That should
make it more user friendly - you think it would be enough?

Otherwise I guess we could create one form for each subgroup - e.g. a
/community/lists/subscribe/developer/. But that seems like a worse
solution to the potential problem.

Actually, maybe a good option is to link to
/community/lists/subscribe/#pgsql-hackers (or whatever), and then have
a javascript run on that page that sets the default value of the
dropdown to whatever is in the anchor link?


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



Re: Need "subscribe to this list" link from archives

От
Josh Berkus
Дата:
On 06/18/2013 06:05 AM, Magnus Hagander wrote:
> Actually, maybe a good option is to link to
> /community/lists/subscribe/#pgsql-hackers (or whatever), and then have
> a javascript run on that page that sets the default value of the
> dropdown to whatever is in the anchor link?

This would be my first choice.

-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com



Re: Need "subscribe to this list" link from archives

От
Magnus Hagander
Дата:
On Tue, Jun 18, 2013 at 7:48 PM, Josh Berkus <josh@agliodbs.com> wrote:
> On 06/18/2013 06:05 AM, Magnus Hagander wrote:
>> Actually, maybe a good option is to link to
>> /community/lists/subscribe/#pgsql-hackers (or whatever), and then have
>> a javascript run on that page that sets the default value of the
>> dropdown to whatever is in the anchor link?
>
> This would be my first choice.

Whould work now, e.g. http://www.postgresql.org/community/lists/subscribe/#19

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



Re: Need "subscribe to this list" link from archives

От
Josh Berkus
Дата:
On 06/20/2013 08:15 AM, Magnus Hagander wrote:
> On Tue, Jun 18, 2013 at 7:48 PM, Josh Berkus <josh@agliodbs.com> wrote:
>> On 06/18/2013 06:05 AM, Magnus Hagander wrote:
>>> Actually, maybe a good option is to link to
>>> /community/lists/subscribe/#pgsql-hackers (or whatever), and then have
>>> a javascript run on that page that sets the default value of the
>>> dropdown to whatever is in the anchor link?
>>
>> This would be my first choice.
> 
> Whould work now, e.g. http://www.postgresql.org/community/lists/subscribe/#19

That works.  How do I figure out the numbers, though?  And are they stable?


-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com



Re: Need "subscribe to this list" link from archives

От
Magnus Hagander
Дата:
On Thu, Jun 20, 2013 at 7:40 PM, Josh Berkus <josh@agliodbs.com> wrote:
> On 06/20/2013 08:15 AM, Magnus Hagander wrote:
>> On Tue, Jun 18, 2013 at 7:48 PM, Josh Berkus <josh@agliodbs.com> wrote:
>>> On 06/18/2013 06:05 AM, Magnus Hagander wrote:
>>>> Actually, maybe a good option is to link to
>>>> /community/lists/subscribe/#pgsql-hackers (or whatever), and then have
>>>> a javascript run on that page that sets the default value of the
>>>> dropdown to whatever is in the anchor link?
>>>
>>> This would be my first choice.
>>
>> Whould work now, e.g. http://www.postgresql.org/community/lists/subscribe/#19
>
> That works.  How do I figure out the numbers, though?  And are they stable?

It's the "id" surrogate key from the db. It's also what's present in
the <option value=#> part which is what it matches on. And yes,
they're stable.

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