From: Marcelo C. <chi...@gm...> - 2012-04-16 14:34:56
|
Hello everyone, Im trying the mediawki API. I need to get the members of given category, ordered by timestamp, which are beetwen 2 given dates. for this, Im trying with an url like this: http://localhost/mediawiki-1.17.0/api.php?action=query&generator=categorymembers&gcmtitle=Category:MY_CATEGORY&prop=info&cmsort=timestamp&format=json&cmstart=13345853310&cmend=1334585350&cmdir=asc<http://localhost/mediawiki-1.17.0/api.php?action=query&generator=categorymembers&gcmtitle=Category:ObjetoDeAprendizaje&prop=info&cmsort=timestamp&format=json&cmstart=13345853310&cmend=1334585350&cmdir=asc> and http://localhost/mediawiki-1.17.0/api.php?action=query&generator=categorymembers&gcmtitle=Category:ObjetoDeAprendizaje&prop=info&cmsort=timestamp&format=json&cmstart=2011-04-15T15:30:23Z&cmend=<http://localhost/mediawiki-1.17.0/api.php?action=query&generator=categorymembers&gcmtitle=Category:ObjetoDeAprendizaje&prop=info&cmsort=timestamp&format=json&cmstart=13345853310&cmend=1334585350&cmdir=asc> 2012-04-15T15:30:23Z<http://localhost/mediawiki-1.17.0/api.php?action=query&generator=categorymembers&gcmtitle=Category:ObjetoDeAprendizaje&prop=info&cmsort=timestamp&format=json&cmstart=13345853310&cmend=1334585350&cmdir=asc>&cmdir=asc But none of them worked. Am i doing something wrong? Im going crazy with this. Regards, Marcelo. |