1 |
neysx 08/04/02 19:42:54 |
2 |
|
3 |
Modified: old-index.xml |
4 |
Added: old-staffing-needs.xsl |
5 |
Log: |
6 |
Renamed old xsl and made old idex use it to avoid potential confusion |
7 |
|
8 |
Revision Changes Path |
9 |
1.2 xml/htdocs/proj/en/devrel/staffing-needs/old-index.xml |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/devrel/staffing-needs/old-index.xml?rev=1.2&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/devrel/staffing-needs/old-index.xml?rev=1.2&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/devrel/staffing-needs/old-index.xml?r1=1.1&r2=1.2 |
14 |
|
15 |
Index: old-index.xml |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/devrel/staffing-needs/old-index.xml,v |
18 |
retrieving revision 1.1 |
19 |
retrieving revision 1.2 |
20 |
diff -u -r1.1 -r1.2 |
21 |
--- old-index.xml 2 Apr 2008 17:32:17 -0000 1.1 |
22 |
+++ old-index.xml 2 Apr 2008 19:42:54 -0000 1.2 |
23 |
@@ -1,5 +1,5 @@ |
24 |
<?xml version="1.0" encoding="UTF-8"?> |
25 |
-<?xml-stylesheet href="/proj/en/devrel/staffing-needs/staffing-needs.xsl" type="text/xsl"?> |
26 |
+<?xml-stylesheet href="/proj/en/devrel/staffing-needs/old-staffing-needs.xsl" type="text/xsl"?> |
27 |
<?xml-stylesheet href="/xsl/project.xsl" type="text/xsl"?> |
28 |
<?xml-stylesheet href="/xsl/guide.xsl" type="text/xsl"?> |
29 |
<!DOCTYPE staffingNeeds SYSTEM "/dtd/staffing-needs.dtd"> |
30 |
|
31 |
|
32 |
|
33 |
1.1 xml/htdocs/proj/en/devrel/staffing-needs/old-staffing-needs.xsl |
34 |
|
35 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/devrel/staffing-needs/old-staffing-needs.xsl?rev=1.1&view=markup |
36 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/devrel/staffing-needs/old-staffing-needs.xsl?rev=1.1&content-type=text/plain |
37 |
|
38 |
Index: old-staffing-needs.xsl |
39 |
=================================================================== |
40 |
<?xml version="1.0" encoding="UTF-8"?> |
41 |
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
42 |
xmlns:exslt="http://exslt.org/common" |
43 |
xmlns:func="http://exslt.org/functions" |
44 |
extension-element-prefixes="exslt func" |
45 |
version="1.0"> |
46 |
|
47 |
<xsl:output encoding="UTF-8" method="xml" indent="no" doctype-system="/dtd/project.dtd"/> |
48 |
<xsl:include href="/xsl/inserts.xsl"/> |
49 |
|
50 |
<xsl:template match="/staffingNeeds"> |
51 |
<project> |
52 |
<name>Staffing Needs</name> |
53 |
<longname>Gentoo Linux Staffing Needs</longname> |
54 |
|
55 |
<date>today</date> |
56 |
<author title="Script"><mail link="devrel@g.o">Gentoo Developer Relations</mail></author> |
57 |
|
58 |
<description> |
59 |
This page lists requests for Gentoo Developers the Gentoo Recruiters have received. |
60 |
</description> |
61 |
<longdescription><p> |
62 |
This page aims to list the areas in which Gentoo actively seeks to |
63 |
expand development efforts. Positions are open to both existing |
64 |
Gentoo developers and also those wishing to become a Gentoo |
65 |
developer. The priorities shown are sorted from highest to lowest. |
66 |
</p></longdescription> |
67 |
<extrachapter position="bottom"> |
68 |
<title>Gentoo Linux Staffing Needs</title> |
69 |
<section> |
70 |
<body> |
71 |
<p> |
72 |
This page does not list the only areas where contributions are |
73 |
welcome, but is only a reflection of where developers are |
74 |
needed the most. If you are interested in helping out in |
75 |
another area, then do not hesitate to contact the relevant |
76 |
development group anyway. |
77 |
</p> |
78 |
<p> |
79 |
If you are interested in helping the Gentoo Documentation |
80 |
Project, then please see |
81 |
the <uri link="/proj/en/gdp/roadmap.xml">GDP Roadmap</uri> for |
82 |
bugs that require attention. |
83 |
</p> |
84 |
<p> |
85 |
If you are interested in helping out with any of the following tasks, |
86 |
please contact the <mail link="recruiters@g.o">Gentoo Recruiters</mail>, |
87 |
CCing the displayed "Contact" on your application. |
88 |
</p> |
89 |
<table> |
90 |
<tr> |
91 |
<th>Priority</th> |
92 |
<th>Summary</th> |
93 |
<th>Description</th> |
94 |
</tr> |
95 |
<xsl:for-each select="needed"> |
96 |
<!-- Key by priority; then alphabetically... |
97 |
No @priority is treated lowest, so this works as we need it to. --> |
98 |
<xsl:sort select="summary/@priority" order="ascending"/> |
99 |
<!-- Yes, this is messy; but XSLT doesn't natively |
100 |
support case-insensitive sorting. This does it. --> |
101 |
<xsl:sort select="translate(summary, 'abcdefghijklmnopqrstuvwxyz', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')"/> |
102 |
<tr> |
103 |
<ti> |
104 |
<xsl:choose> |
105 |
<xsl:when test="summary/@priority != ''"> |
106 |
<xsl:value-of select="summary/@priority"/> |
107 |
</xsl:when> |
108 |
<xsl:otherwise>1</xsl:otherwise> |
109 |
</xsl:choose> |
110 |
</ti> |
111 |
<ti> |
112 |
<xsl:value-of select="summary"/> |
113 |
</ti> |
114 |
<ti> |
115 |
Requested on |
116 |
<xsl:value-of select="func:format-date(summary/@dateRequested,'en')"/> by |
117 |
<xsl:choose> |
118 |
<xsl:when test="contact/@herd != ''">the </xsl:when> |
119 |
<xsl:when test="contact/@team != ''">the </xsl:when> |
120 |
</xsl:choose> |
121 |
<xsl:choose> |
122 |
<xsl:when test="contact/@name != ''"> |
123 |
<mail link="{contact}"> |
124 |
<xsl:value-of select="contact/@name"/> |
125 |
<xsl:choose> |
126 |
<!-- IMPORTANT: Do not split up the two |
127 |
lines below --> |
128 |
<xsl:when test="contact/@herd != ''"> Herd</xsl:when> |
129 |
<xsl:when test="contact/@team != ''"> Team</xsl:when> |
130 |
</xsl:choose> |
131 |
</mail>: |
132 |
</xsl:when> |
133 |
<xsl:otherwise> |
134 |
<mail link="{contact}"> |
135 |
<xsl:value-of select="contact"/> |
136 |
<xsl:choose> |
137 |
<!-- IMPORTANT: Do not split up the two |
138 |
lines below --> |
139 |
<xsl:when test="contact/@herd != ''"> Herd</xsl:when> |
140 |
<xsl:when test="contact/@team != ''"> Team</xsl:when> |
141 |
</xsl:choose> |
142 |
</mail>: |
143 |
</xsl:otherwise> |
144 |
</xsl:choose> |
145 |
<xsl:text> </xsl:text> |
146 |
<xsl:apply-templates select="description"/> |
147 |
</ti> |
148 |
</tr> |
149 |
</xsl:for-each> |
150 |
</table> |
151 |
</body> |
152 |
</section> |
153 |
</extrachapter> |
154 |
</project> |
155 |
</xsl:template> |
156 |
|
157 |
|
158 |
<xsl:template match="description//node()|description//@*"> |
159 |
<xsl:copy> |
160 |
<xsl:apply-templates select="node()|@*"/> |
161 |
</xsl:copy> |
162 |
</xsl:template> |
163 |
|
164 |
</xsl:stylesheet> |
165 |
|
166 |
|
167 |
|
168 |
-- |
169 |
gentoo-commits@l.g.o mailing list |