diff --git a/freifunkmeta.php b/freifunkmeta.php index 7faa142..72ea73f 100644 --- a/freifunkmeta.php +++ b/freifunkmeta.php @@ -294,15 +294,16 @@ EOT; return ''; } $services = $citydata['services']; - $outstr = ''; + $outstr = ''; + foreach ( $services as $service ) { + $outstr .= sprintf( + '', + $service['serviceName'], $service['serviceDescription'], + $service['internalUri'], $service['internalUri'], + $service['externalUri'], $service['externalUri'] + ); + } + $outstr .= '
DienstBeschreibungFreifunk URIInternet URI
%s%s%s%s
'; return $outstr; }