I am using following code to create web part pages. I want to add the "title" of the page as well. I am not sure what would be the extra piece of code. My site is not a publishing site and I am not creating publishing pages just simple web part pages and adding web parts further through code only.
@"<?xml version=""1.0"" encoding=""UTF-8""?>
<Method>
<SetList Scope=""Request""><ListID></SetList>
<SetVar Name=""ID"">New</SetVar>
<SetVar Name=""Cmd"">NewWebPage</SetVar>
<SetVar Name=""Type"">WebPartPage</SetVar>
<SetVar Name=""WebPartPageTemplate""><Template></SetVar>
<SetVar Name=""Title""><PageName></SetVar>
<SetVar Name=""Overwrite"">True</SetVar>
</Method>