Top 10 with Title and URL

Hi Guys,

I’m relatively new to Piwik and I’m loving it!

One quick question, what’s the quickest and cleanest way to get piwik to output in XML the top 20 urls of the day with titles.

I’m trying this method : http://www.mydomain.com/piwik/index.php?module=API&method=Actions.getEntryPageUrls&idSite=1&filter_limit=20&period=day&date=yesterday&expanded=1&format=xml&token_auth=blahblah

however, the list that I’m getting isn’t being filtered down to 20 results and they way the XML is being returned is making it tricky for me to reuse the data (i just want to to know the titles and URL’s of the top 20 most visited pages on the site so i can make a small most popular box).

any help would be appreciated it.

thanks,