You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@httpd.apache.org by Christophe JAILLET <ch...@wanadoo.fr> on 2014/05/18 07:16:43 UTC

Including Appache version number in ?</h1><pre>Hi, on cnline doc, the following comment makes sense to me: http://httpd.apache.org/docs/2.2/mod/directives.html#comment_2185 General comment: It would be VERY helpful if the titles of the Directive Index pages included the version number (2.2, 2.4). Then you could pull the right one out of your browser's history menu instead of resorting to trial and error. The proposed patch to do so is: Index: docs/manual/style/xsl/common.xsl =================================================================== --- docs/manual/style/xsl/common.xsl (révision 1595356) +++ docs/manual/style/xsl/common.xsl (copie de travail) @@ -142,6 +142,8 @@ <xsl:text> </xsl:text> <xsl:value-of select="normalize-space($message[@id='apachetitle'])"/> + <xsl:text> </xsl:text> + <xsl:value-of select="normalize-space($message[@id='version'])"/> </title>&lf; <!-- chm files get a slightly different stylesheet --> However, this would mean to update the whole documentation. So I wanted to have your feedback before. CJ --------------------------------------------------------------------- To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org For additional commands, e-mail: docs-help@httpd.apache.org </pre><hr/> <h2>Re: Including Appache version number in <title>?</h2> <b>Posted by André Malo <nd...@perlig.de>.</b><hr/><pre>* Takashi Sato wrote: > > How about this instead then: > > > > Index: manual/style/xsl/common.xsl > > =================================================================== > > --- manual/style/xsl/common.xsl (revision 1595663) > > +++ manual/style/xsl/common.xsl (working copy) > > @@ -142,6 +142,9 @@ > > > > <xsl:text> </xsl:text> > > <xsl:value-of > > select="normalize-space($message[@id='apachetitle'])"/> > > + > > + <xsl:text> </xsl:text> > > + <xsl:value-of select="&httpd.major;.&httpd.minor;"/> > > </title>&lf; > > > > <!-- chm files get a slightly different stylesheet --> > > > > ? > > I tested them on my machine and I changed my arbitrary mind. > The page header has "Version" so I feel title should... ;) I don't have a strong opinion either way. nd -- print "Just Another Perl Hacker"; # André Malo, <http://pub.perlig.de/> # --------------------------------------------------------------------- To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org For additional commands, e-mail: docs-help@httpd.apache.org </pre><hr/> <h2>Re: Including Appache version number in <title>?</h2> <b>Posted by Takashi Sato <ta...@tks.st>.</b><hr/><pre>> How about this instead then: > > Index: manual/style/xsl/common.xsl > =================================================================== > --- manual/style/xsl/common.xsl (revision 1595663) > +++ manual/style/xsl/common.xsl (working copy) > @@ -142,6 +142,9 @@ > > <xsl:text> </xsl:text> > <xsl:value-of > select="normalize-space($message[@id='apachetitle'])"/> > + > + <xsl:text> </xsl:text> > + <xsl:value-of select="&httpd.major;.&httpd.minor;"/> > </title>&lf; > > <!-- chm files get a slightly different stylesheet --> > > ? I tested them on my machine and I changed my arbitrary mind. The page header has "Version" so I feel title should... </pre><hr/> <h2>Re: Including Appache version number in <title>?</h2> <b>Posted by André Malo <nd...@perlig.de>.</b><hr/><pre>* Takashi Sato wrote: > +1 > > $message[@id='version'] -> Version 2.4 > I feel "Version" is a very little bit redundant, but I don't know how > to modify it. +1 as well. How about this instead then: Index: manual/style/xsl/common.xsl =================================================================== --- manual/style/xsl/common.xsl (revision 1595663) +++ manual/style/xsl/common.xsl (working copy) @@ -142,6 +142,9 @@ <xsl:text> </xsl:text> <xsl:value-of select="normalize-space($message[@id='apachetitle'])"/> + + <xsl:text> </xsl:text> + <xsl:value-of select="&httpd.major;.&httpd.minor;"/> </title>&lf; <!-- chm files get a slightly different stylesheet --> ? nd -- Wenn nur Ingenieure mit Diplom programmieren würden, hätten wir wahrscheinlich weniger schlechte Software. Wir hätten allerdings auch weniger gute Software. -- Felix von Leitner in dasr --------------------------------------------------------------------- To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org For additional commands, e-mail: docs-help@httpd.apache.org </pre><hr/> <h2>Re: Including Appache version number in <title>?</h2> <b>Posted by Takashi Sato <ta...@tks.st>.</b><hr/><pre>+1 $message[@id='version'] -> Version 2.4 I feel "Version" is a very little bit redundant, but I don't know how to modify it. 2014-05-18 14:16 GMT+09:00 Christophe JAILLET <ch...@wanadoo.fr>: > Hi, > > on cnline doc, the following comment makes sense to me: > http://httpd.apache.org/docs/2.2/mod/directives.html#comment_2185 > > General comment: It would be VERY helpful if the titles of the Directive > Index pages included the version number (2.2, 2.4). Then you could pull the > right one out of your browser's history menu instead of resorting to trial > and error. > > > > The proposed patch to do so is: > > > Index: docs/manual/style/xsl/common.xsl > =================================================================== > --- docs/manual/style/xsl/common.xsl (révision 1595356) > +++ docs/manual/style/xsl/common.xsl (copie de travail) > @@ -142,6 +142,8 @@ > > <xsl:text> </xsl:text> > <xsl:value-of > select="normalize-space($message[@id='apachetitle'])"/> > + <xsl:text> </xsl:text> > + <xsl:value-of select="normalize-space($message[@id='version'])"/> > </title>&lf; > > <!-- chm files get a slightly different stylesheet --> > > > > However, this would mean to update the whole documentation. So I wanted to > have your feedback before. > > CJ > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org > For additional commands, e-mail: docs-help@httpd.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org For additional commands, e-mail: docs-help@httpd.apache.org </pre><hr/> <h2>Re: Including Appache version number in <title>?</h2> <b>Posted by Rich Bowen <rb...@rcbowen.com>.</b><hr/><pre>+1 -- Rich Bowen - RBowen@rcbowen.com On May 18, 2014 1:59 AM, "Christophe JAILLET" <ch...@wanadoo.fr> wrote: > Hi, > > on cnline doc, the following comment makes sense to me: > http://httpd.apache.org/docs/2.2/mod/directives.html#comment_2185 > > General comment: It would be VERY helpful if the titles of the > Directive Index pages included the version number (2.2, 2.4). Then you > could pull the right one out of your browser's history menu instead of > resorting to trial and error. > > > > The proposed patch to do so is: > > > Index: docs/manual/style/xsl/common.xsl > =================================================================== > --- docs/manual/style/xsl/common.xsl (révision 1595356) > +++ docs/manual/style/xsl/common.xsl (copie de travail) > @@ -142,6 +142,8 @@ > > <xsl:text> </xsl:text> > <xsl:value-of select="normalize-space($ > message[@id='apachetitle'])"/> > + <xsl:text> </xsl:text> > + <xsl:value-of select="normalize-space($message[@id='version'])"/> > </title>&lf; > > <!-- chm files get a slightly different stylesheet --> > > > > However, this would mean to update the whole documentation. So I wanted to > have your feedback before. > > CJ > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org > For additional commands, e-mail: docs-help@httpd.apache.org > > </pre><hr/> </body> </html>