atrijitdasgupta / wordpress-java

Automatically exported from code.google.com/p/wordpress-java
Other
0 stars 0 forks source link

Get Pages method miss one optional parameter #33

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.create more then 10 pages in Wordpress
2. invoke getpages method in net.bican.wordpress.Wordpress
3. only latest 10 published pages

What is the expected output? What do you see instead?
Should get all pages.  Add a parameter in method to specify the max_pages

Original issue reported on code.google.com by nwu.scot...@gmail.com on 13 Sep 2012 at 5:10

GoogleCodeExporter commented 9 years ago
I admit I missed this one :) I'll change the API quite a bit, so this change 
may not happen so fast. Until I fix it (or you can provide a patch) I suggest 
keeping post ids, or using 
http://wordpress-java.googlecode.com/svn/trunk/doc/net/bican/wordpress/Wordpress
.html#getPageStatusList() first for retrieving post ids, then using those ids 
to get the rest of the content.

Original comment by c...@bican.net on 13 Sep 2012 at 7:03