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 :

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.