Package: www.debian.org Severity: wishlist User: eve...@debian.org Usertags: events-announce
Hi there! This bug originated on the debian-www@ mailing list [1][2] and it was then recently re-discussed on #debian-events, thanks to Paul Wise, so let us going on and define what we want on the Events page. [1] <http://lists.debian.org/20111027154810.ga1...@zouish.org> [2] <http://lists.debian.org/1320116110.27179.21.camel@chianamo> On Thu, 27 Oct 2011 17:48:22 +0200, Francesca Ciceri wrote: > Sorry for the delay in replying this: Luca is talking here about the idea > to have, in www.d.o/events page, not only the list of upcoming event but > also one for upcoming talk (it happens often that there are interesting > debian-related talks not included in a major event and we discuss during > Debconf the possibility of better promoting them). Actually, as I partly wrote in [3], there are 4 types of events: 1) what is called now 'event', i.e. conferences or BSP, which means that Debian is present with a booth or is organizing the event. 2) talks, which while being a subset of the first point, it stresses on the fact that Debian is "showing" something. The fact that we have Debian members available for such a task [4] without keeping note of their talks is a pity. 3) sprints [5], something specific to Debian, which since their creation have seen very useful results. 4) IRC meetings, not only the Debian-specific ones [6] but also the others Debian-related [7], i.e. every time there is a Debian participant, similarly to the first point. These should provide links in the canonical IRC URI scheme [8]. [3] <http://lists.debian.org/87ty63t6r9....@gismo.pca.it> [4] <http://www.debian.org/events/speakers/> [5] <http://wiki.debian.org/Sprints> [6] <http://lists.debconf.org/lurker/message/20120116.155705.ae5a0f4c.en.html> [7] <http://lists.debian.org/4f0ecc5e.9000...@ubuntu.com> [8] <https://en.wikipedia.org/wiki/Internet_Relay_Chat#URI_scheme> Francesca's work below is about the second point, but IMHO which should directly to further and implement all four points. First question: which should be the layout? I guess something like the 4-side for the 'Getting Debian' section [8] would be the best, but I fear that on small screens everything would be too much packed. [9] <http://www.debian.org/distrib/> > Here some explanations about how that part of the site works and what > I've done in the past months about it (hoping that people who already > knows all this will not too bored). > > Relevant files for this kind of change are: > > 1) webwml/english/events/index.wml → this is the source for > www.d.o/events which contains the list of upcoming (and past) events > > 2) webwml/english/events/index.include → here there are Perl subroutines > (embedded in wml tags) needed to create the (upcoming|past) events lists > themselves and are called at lines 22 and 43 of the index.wml file > > 3) all webwml/english/events/$year/$date-event.wml files, which are > modeled on the webwml/english/events/event.form one > > 4) webwml/english/template/debian/event.wml and > webwml/english/template/debian/event_common.wml: this two are the > templates responsible of the design of each event page and - as it could > be seen on event.form file - are called via #use wml::debian::event line > > So, we need first to create the file(s) (and relative templates) for each > talk (using the same structure as the event ones) and then add > subroutines (or change the existent ones) in order to generate also list > for upcoming and past talks. > > For the first task, I've simply create templates > (webwml/english/template/debian/talk.wml and > webwml/english/template/debian/talk_common.wml) copying them from the > event's ones; while the file itself for a single talk is based on the > webwml/english/events/talk.form file, in which is shown the use of the > define-tag for talk. > > This part of the patch is completed and it works. You can test it using > the file webwml/english/events/2011/0422-slat.wml (attached). > > The second part of the patch needs love: my Perl-fu is unexistant, so I > encountered some problems in make it works. > > To list also talks file on index.wml page (or better in the html page) > I've added two specific subroutines adapting the existing ones and > modifying the index.wml page. > The idea here was to distinguish between talk and event file (they lie in > the same $year directory) via a regexp based on the use of different > templates. But I can't make it works: I need that the upcoming_events > thinghie distinguish between upcoming and past event AND upcoming and > past talks. > > Obviously we could also put talks and events files on different dir > inside the $year dir: something like $year/events and $year/talks, and > let Perl to parse only the relevant dir. I prefer the first solutions, > but... is up to who will work on it! :) Second question: while I prefer Francesca's solution of having everything in one single folder, ordered by date (as it is now), what do other people think about that? > ps: I attach new files and the diff of the existent ones. These files are available at [1]. Thx, bye, Gismo / Luca -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (990, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.1.0-1-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
pgpH078R2UfZC.pgp
Description: PGP signature