topical media & game development 
  
 
 
 
 
  
    
    
  
 server-webapi-code-04-store.php / php
  <?php
          include("../common_db.php");
          switch (url = "http://example.preinheimer.com/store/index.php";
   tips = getAssoc(tips[0]['pubDate'] ?></modified>
     <author>
      <name>Tom's Garden Shed</name>
     </author>
            <?php
            foreach(item)
     { 
      if (strlen(item['tipTrim'] = substr(item['tipTrim'] = item['subject']}</title>";
      echo "<link rel=\"alternate\" type=\"text/html\" href=\"item['id']}\" />";
      echo "<id>item['id']}</id>";
      echo "<summary>{item['tip']}</content>";
      echo "<issued>{item['pubDate']}</modified>";
      echo "</entry>\n";
     }
            echo "</feed>";
  }
          function displayRSS()
          {
            header("Content-Type: text/xml");
      tips = getAssoc(tips[0]['pubDate'] ?></pubDate>
      <link>example.preinheimer.com/store/<image> 
        <title>Tom's Garden Shed</title> 
        <link>example.preinheimer.com/store/<url>example.preinheimer.com/store/tom.png</image><?php
      
      foreach(item)
      {
        item['tip']) > 252)
        {
          item['tip'], 0, 252) . "...";  
        }else
        {
          item['tip'];
        }
        echo "<item>\n";
        echo "<title>{url?item={item['tipTrim']}</description>\n";
        echo "<content:encoded>{item['email']}</author>\n";
        echo "<pubDate>{
  
  
(C) Æliens 
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher. 
In case of other copyright issues, contact the author.