Project

General

Profile

« Previous | Next » 

Revision 57521

using int ids in results

View differences:

Serializer.java
305 305
        }
306 306
        buff.append(getStringField(cleanNumber(piwik_id)));
307 307

  
308
        buff.append(getStringField(metadata.getWebsiteurl().getValue()));
309

  
308 310
        return buff.toString();
309 311

  
310 312
    }
......
328 330

  
329 331
        Result.Metadata metadata = oaf.getEntity().getResult().getMetadata();
330 332

  
333
        // originalId
334
        buff.append(getId(oaf)).append(DELIM);
335

  
331 336
        String titleString = "";
332 337

  
333 338
        if (metadata.getTitleList().size() > 0) {
......
382 387
        //authors
383 388
        buff.append(getNumericField(String.valueOf(authors)));
384 389

  
390
        String authorNames = "";
391
        for (FieldTypeProtos.Author author:metadata.getAuthorList()) {
392
            authorNames += author.getFullname() + ";";
393
        }
394

  
395
        buff.append(getStringField(authorNames));
396

  
385 397
        String sources = "";
386 398

  
387

  
388 399
        for (Instance instance : (oaf.getEntity().getResult().getInstanceList())) {
389 400
            List<String> urls = instance.getUrlList();
390 401
            for (String url : urls) {

Also available in: Unified diff