All pastes #87626 Raw Edit

jnt

public cpp v1 · immutable
·published 2006-07-14 02:47 UTC
rendered paste body
    string author_name = e["author"]["Name"];    ATOM.Author author = ATOM.Author();    author->name(author_name);    entry->add_author(author);    // FIXME - add XESN stuff here.    foreach(e["versions"], object ee) {      if (ee["author"]["Name"] != author_name) {        ATOM.Contributor cont = ATOM.Contributor();        cont->name(ee["author"]["Name"]);        entry->add_contributor(cont);      }    }