Added rfc compatable datetime to atom feed. Also fixed spelling of error
This commit is contained in:
parent
300250fdf9
commit
7b77898e84
2
Makefile
2
Makefile
|
@ -10,7 +10,7 @@ noroot:
|
||||||
if test $$UID = 0; then echo "don't build as root!"; exit 1; fi
|
if test $$UID = 0; then echo "don't build as root!"; exit 1; fi
|
||||||
|
|
||||||
members.xml:
|
members.xml:
|
||||||
test -e /usr/bin/ceoquery || (echo 'Erorr: ceoquery not found'; exit 1)
|
test -e /usr/bin/ceoquery || (echo 'Error: ceoquery not found'; exit 1)
|
||||||
echo '<?xml version='\''1.0'\''?>' > $@
|
echo '<?xml version='\''1.0'\''?>' > $@
|
||||||
echo '<memberlist>' >> $@
|
echo '<memberlist>' >> $@
|
||||||
ceoquery memberlist | sort | awk -F \| '{ name = $$1; program = $$2; userid = $$3; gsub(/&/, "\\&", name); gsub(/&/, "\\&", program); gsub(/"/, "\\"", name); gsub(/"/, "\\"", program); print "<member name=\"" name "\" program=\"" program "\" userid=\"" userid "\" />"; }' >> $@
|
ceoquery memberlist | sort | awk -F \| '{ name = $$1; program = $$2; userid = $$3; gsub(/&/, "\\&", name); gsub(/&/, "\\&", program); gsub(/"/, "\\"", name); gsub(/"/, "\\"", program); print "<member name=\"" name "\" program=\"" program "\" userid=\"" userid "\" />"; }' >> $@
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
xmlns:fn="http://www.w3.org/2005/xpath-functions"
|
xmlns:fn="http://www.w3.org/2005/xpath-functions"
|
||||||
xmlns:csc="http://csclub.uwaterloo.ca/xslt">
|
xmlns:csc="http://csclub.uwaterloo.ca/xslt">
|
||||||
|
|
||||||
<xsl:param name="g_date" required="yes" />
|
<xsl:param name="g_datetime" required="yes" />
|
||||||
<xsl:param name="g_time" required="yes" />
|
<xsl:param name="g_time" required="yes" />
|
||||||
<xsl:param name="g_pwd" required="yes" />
|
<xsl:param name="g_pwd" required="yes" />
|
||||||
<xsl:param name="g_root" required="yes" />
|
<xsl:param name="g_root" required="yes" />
|
||||||
|
|
Loading…
Reference in New Issue