* [gentoo-commits] gentoo commit in xml/htdocs/proj/en/devrel/staffing-needs: new-index.xml new-staffing-needs.xsl
@ 2008-03-08 17:43 Xavier Neys (neysx)
0 siblings, 0 replies; 2+ messages in thread
From: Xavier Neys (neysx) @ 2008-03-08 17:43 UTC (permalink / raw
To: gentoo-commits
neysx 08/03/08 17:43:09
Added: new-index.xml new-staffing-needs.xsl
Log:
Try a new staffing-needs page
Revision Changes Path
1.1 xml/htdocs/proj/en/devrel/staffing-needs/new-index.xml
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/devrel/staffing-needs/new-index.xml?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/devrel/staffing-needs/new-index.xml?rev=1.1&content-type=text/plain
Index: new-index.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="/proj/en/devrel/staffing-needs/new-staffing-needs.xsl" type="text/xsl"?>
<?xml-stylesheet href="/xsl/guide.xsl" type="text/xsl"?>
<!DOCTYPE staffingNeeds SYSTEM "/dtd/guide.dtd" [
<!ELEMENT staffingNeeds (title, author+, abstract, version, today, chapter+, jobs)>
<!ELEMENT today EMPTY>
<!ELEMENT jobs EMPTY>
]>
<staffingNeeds>
<title>Gentoo Linux Staffing Needs</title>
<author title="Scripter"><mail>neysx</mail></author>
<abstract>
This page collects requests for Gentoo Developers from our project pages.
</abstract>
<version>1</version>
<today/>
<chapter>
<title>Introduction</title>
<section>
<body>
<p>
This page collects all calls for recruitments that can be found on our <uri
link="/proj/en/index.xml?showlevel=3">project pages</uri>.
</p>
<p>
This page does not list the only areas where contributions are welcome, but is
only a reflection of where developers are needed the most. If you are
interested in helping out in another area, then do not hesitate to contact the
relevant development group anyway.
</p>
<p>
If you are interested in helping out with any of the following tasks, please
contact the <mail link="recruiters@gentoo.org">Gentoo Recruiters</mail>, CCing
the displayed "Contact" on your application.
</p>
</body>
</section>
</chapter>
<jobs/>
</staffingNeeds>
1.1 xml/htdocs/proj/en/devrel/staffing-needs/new-staffing-needs.xsl
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/devrel/staffing-needs/new-staffing-needs.xsl?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/devrel/staffing-needs/new-staffing-needs.xsl?rev=1.1&content-type=text/plain
Index: new-staffing-needs.xsl
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:exslt="http://exslt.org/common"
extension-element-prefixes="exslt"
version="1.0">
<xsl:include href="/xsl/job.xsl"/>
<xsl:output encoding="UTF-8" method="xml" indent="no" doctype-system="/dtd/guide.dtd"/>
<xsl:template match="/staffingNeeds">
<guide>
<xsl:apply-templates/>
</guide>
</xsl:template>
<xsl:template match="today">
<!--<date><xsl:value-of select="exslt:node-set($devaway)/devaway/@date"/></date>-->
<date>today</date>
</xsl:template>
<xsl:template match="jobs">
<xsl:variable name="projects" select="document('/proj/en/index.xml')/projects"/>
<xsl:for-each select="document($projects)/project/subproject">
<xsl:sort select="translate(normalize-space(document(string(@ref))/project/name),'QWERTYUIOPLKJHGFDSAZXCVBNM','qwertyuioplkjhgfdsazxcvbnm')"/>
<xsl:call-template name="a-project">
<xsl:with-param name="prefix" select="''"/>
<xsl:with-param name="project-page" select="@ref"/>
</xsl:call-template>
</xsl:for-each>
</xsl:template>
<xsl:template name="a-project">
<xsl:param name="prefix"/>
<xsl:param name="project-page"/>
<xsl:variable name="project" select="document($project-page)"/>
<xsl:if test="$project/project/recruitment">
<chapter>
<title>
<xsl:value-of select="concat($prefix, $project/project/name)"/>
</title>
<section><body><p>
<xsl:value-of select="$project/project/description"/><br/>(<uri link="{$project-page}">Link to project page</uri>)
</p></body></section>
<xsl:apply-templates select="$project/project/recruitment/job"/>
</chapter>
</xsl:if>
<!-- Do subprojects -->
<xsl:for-each select="$project/project/subproject">
<xsl:sort select="translate(normalize-space(document(string(@ref))/project/name),'QWERTYUIOPLKJHGFDSAZXCVBNM','qwertyuioplkjhgfdsazxcvbnm')"/>
<xsl:call-template name="a-project">
<xsl:with-param name="prefix" select="concat($project/project/name, ' -- ')"/>
<xsl:with-param name="project-page" select="@ref"/>
</xsl:call-template>
</xsl:for-each>
</xsl:template>
<xsl:template match="*|@*|text()">
<xsl:copy>
<xsl:apply-templates select="*|@*|text()"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>
--
gentoo-commits@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo commit in xml/htdocs/proj/en/devrel/staffing-needs: new-index.xml new-staffing-needs.xsl
@ 2008-03-14 17:33 Xavier Neys (neysx)
0 siblings, 0 replies; 2+ messages in thread
From: Xavier Neys (neysx) @ 2008-03-14 17:33 UTC (permalink / raw
To: gentoo-commits
neysx 08/03/14 17:33:15
Modified: new-index.xml new-staffing-needs.xsl
Log:
New attempt, this time with a tabular summary
Revision Changes Path
1.2 xml/htdocs/proj/en/devrel/staffing-needs/new-index.xml
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/devrel/staffing-needs/new-index.xml?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/devrel/staffing-needs/new-index.xml?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/devrel/staffing-needs/new-index.xml?r1=1.1&r2=1.2
Index: new-index.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/devrel/staffing-needs/new-index.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- new-index.xml 8 Mar 2008 17:43:08 -0000 1.1
+++ new-index.xml 14 Mar 2008 17:33:15 -0000 1.2
@@ -17,7 +17,7 @@
This page collects requests for Gentoo Developers from our project pages.
</abstract>
-<version>1</version>
+<version>2</version>
<today/>
<chapter>
1.2 xml/htdocs/proj/en/devrel/staffing-needs/new-staffing-needs.xsl
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/devrel/staffing-needs/new-staffing-needs.xsl?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/devrel/staffing-needs/new-staffing-needs.xsl?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/devrel/staffing-needs/new-staffing-needs.xsl?r1=1.1&r2=1.2
Index: new-staffing-needs.xsl
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/devrel/staffing-needs/new-staffing-needs.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- new-staffing-needs.xsl 8 Mar 2008 17:43:08 -0000 1.1
+++ new-staffing-needs.xsl 14 Mar 2008 17:33:15 -0000 1.2
@@ -22,6 +22,14 @@
<xsl:template match="jobs">
<xsl:variable name="projects" select="document('/proj/en/index.xml')/projects"/>
+ <chapter><title>Calls for recruitment</title><section><body><table>
+ <tr>
+ <th>Project</th>
+ <th>Job</th>
+ <th>Description</th>
+ <th>Requirements</th>
+ <th>Contacts</th>
+ </tr>
<xsl:for-each select="document($projects)/project/subproject">
<xsl:sort select="translate(normalize-space(document(string(@ref))/project/name),'QWERTYUIOPLKJHGFDSAZXCVBNM','qwertyuioplkjhgfdsazxcvbnm')"/>
<xsl:call-template name="a-project">
@@ -29,6 +37,7 @@
<xsl:with-param name="project-page" select="@ref"/>
</xsl:call-template>
</xsl:for-each>
+ </table></body></section></chapter>
</xsl:template>
<xsl:template name="a-project">
@@ -37,22 +46,18 @@
<xsl:variable name="project" select="document($project-page)"/>
<xsl:if test="$project/project/recruitment">
- <chapter>
- <title>
- <xsl:value-of select="concat($prefix, $project/project/name)"/>
- </title>
- <section><body><p>
- <xsl:value-of select="$project/project/description"/><br/>(<uri link="{$project-page}">Link to project page</uri>)
- </p></body></section>
- <xsl:apply-templates select="$project/project/recruitment/job"/>
- </chapter>
+ <xsl:apply-templates select="$project/project/recruitment/job" mode="table">
+ <xsl:with-param name="rows" select="count($project/project/recruitment/job)"/>
+ <xsl:with-param name="link" select="$project-page"/>
+ <xsl:with-param name="name" select="concat($prefix, $project/project/name)"/>
+ </xsl:apply-templates>
</xsl:if>
<!-- Do subprojects -->
<xsl:for-each select="$project/project/subproject">
<xsl:sort select="translate(normalize-space(document(string(@ref))/project/name),'QWERTYUIOPLKJHGFDSAZXCVBNM','qwertyuioplkjhgfdsazxcvbnm')"/>
<xsl:call-template name="a-project">
- <xsl:with-param name="prefix" select="concat($project/project/name, ' -- ')"/>
+ <xsl:with-param name="prefix" select="concat($project/project/name, ' — ')"/>
<xsl:with-param name="project-page" select="@ref"/>
</xsl:call-template>
</xsl:for-each>
--
gentoo-commits@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-03-14 17:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-08 17:43 [gentoo-commits] gentoo commit in xml/htdocs/proj/en/devrel/staffing-needs: new-index.xml new-staffing-needs.xsl Xavier Neys (neysx)
-- strict thread matches above, loose matches on Subject: below --
2008-03-14 17:33 Xavier Neys (neysx)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox