api/server.js
/*
	List week's menu by Mensa via identifier string for OpenMensa
*/
List week's menu by Mensa via identifier string for OpenMensa
List week ' s menu by Mensa via identifier string for OpenMensa
function respondCurrentMenuByMensaXML(req, res, next) {
	var lastSunday = moment().day("Sunday");
	var nextSunday = moment().day("Sunday").add(7, 'days');
	console.log('respondCurrentMenuByMensaXML');
	fetchXML(res, lastSunday.format("YYYY-MM-DD"), nextSunday.format("YYYY-MM-DD"), req.params[0]);
	next();
}
function respondCurrentMenuByMensaXML ( req , res , next ) { var lastSunday = moment ( ) . day ( "Sunday" ) ; var nextSunday = moment ( ) . day ( "Sunday" ) . add ( 7 , 'days' ) ; console . log ( 'respondCurrentMenuByMensaXML' ) ; fetchXML ( res , lastSunday . format ( "YYYY-MM-DD" ) , nextSunday . format ( "YYYY-MM-DD" ) , req . params [ 0 ] ) ; next ( ) ; }
List week's menu by Mensa via identifier string for OpenMensa
List week ' s menu by Mensa via identifier string for OpenMensa