try {
ait = con.listGroup(g.getName());
while(ait.hasNext()) {
//TODO check if ArticleResponse, int articleID or Article is returned
int aid = (Integer) ait.next();
ArticleResponse a = con.head(aid);
StringWriter sw = new StringWriter();
PrintWriter pw = new PrintWriter(sw);
BufferedReader br = new BufferedReader(new InputStreamReader(a.in));
String line = null;
while((line = br.readLine()) != null) {