Re: [Mailman Site List] Re: mail lists archive page



On Fri, 2004-10-22 at 22:57 +0200, Christian Rose wrote:
> ons 2004-10-20 klockan 20.40 skrev Alan Horkan:
> > > The link "Usability Archives" on the page
> > > http://mail.gnome.org/mailman/listinfo/usability
> > > does not point to the archive directly ( which is at
> > > http://mail.gnome.org/archives/usability/ )
> > > but to http://mail.gnome.org/archives/ ,
> > > which is a ver long page.
> > >
> > > Can you please link directly to the archives ?
> > > Or is there reason for the current setup ?
> > 
> > All lists seem to be setup this way.
> > 
> > The list info page uses a standard template template which uses special
> > tags <MM-Archive> and <MM-List-Name> (MM is short for mailman which is the
> > name of the software being used to create the archive).
> > I could hardwire the correct address but I'd prefer a more generic
> > solution.
> > 
> > It may be possible for the administrators to change the template so that
> > lists point directly to their own archives by default (I've CC'ed the
> > admins).
> 
> If you know how to do this, please tell. I've also noticed that the
> archives link on the list pages point to the general archives page
> instead of the respective list's archive page, but didn't know how to
> fix it myself.
> 

Most lists will have the following text in their 'general list info'
template):

	  <p> To see the collection of prior postings to the list,
	      visit the <MM-Archive><MM-List-Name>
		  Archives</MM-Archive>.
	      <MM-Restricted-List-Message>
	  </p>

So it looks like each list would have their archive URL hard-coded. This
could be done manually, or I guess some kind of script to pre-process
the 'MM-Archive' tags and create all the listinfo.html templates could
do it. Either that, or hack mailman somehow to make the 'MM-Archive' tag
a bit more precise :)

--
Ross




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]