title: Android application download wordpress content
body: <p>I have an android application that need to download (via webservice - php ) some books from a wordpress website.</p>
  
  <p>Those books are structured like this : Book Name -> Category 1 -> Subcategory 1 -> text </p>
  
  <p>All information is stored in wp_posts and all realtions are made with wp_postmeta.</p>
  
  <p>I try to begin from "top-to-bottom" starting with "Book Name" like this :</p>
  
  <pre><code>$args = array(
   'posts_per_page' =&gt; 8,
   'orderby' =&gt; 'rand',
   'post_type' =&gt; 'biblie',
   'post_status' =&gt; 'publish'
  );
    $show_albums = get_posts( $args )); 
  </code></pre>
  
  <p>and then with wp_query() using post_type, meta_key,meta_value </p>
  
  <p>But any step i take with this method it gets more and more puzzling</p>
  
  <p>So .... is there a way to have all the information using one interogation? I want to interogate wp by book name and somehow have all the information resulting in one arrayor it is to much from wordpress ? </p>
  
  <p>Hope you understand my english !
  Thanks</p>