title: how can I parse/embedd my atom feed in my webpage?
body: <p>I have created a test page called syndication.php where mysql data is being created in an Atom feed like this:</p>
  
  <pre><code>&lt;feed xmlns="http://www.w3.org/2005/Atom"&gt; 
          &lt;title&gt;Fishing Reports&lt;/title&gt; 
          &lt;subtitle&gt;The latest reports from apporan.com&lt;/subtitle&gt;
          &lt;link href="http://www.apporan.com/reports" rel="self"/&gt; 
          &lt;updated&gt;&lt;?php echo date3339(); ?&gt;&lt;/updated&gt;
          &lt;author&gt; 
              &lt;name&gt;Smithers&lt;/name&gt;
              &lt;email&gt;smithers@fishinhole.com&lt;/email&gt;
          &lt;/author&gt;
          &lt;id&gt;tag:apporan.com,2015:http://www.apporan.com/syndication.php&lt;/id&gt; 
  
  
          &lt;?php
              $i = 0;
              while($row = mysql_fetch_array($result))
                {
                if ($i &gt; 0) {
                  echo "&lt;/entry&gt;";
                }
                $articleDate = $row['posted'];
                $articleDateRfc3339 = date3339(strtotime($articleDate));
                echo "&lt;entry&gt;";
                echo "&lt;title&gt;";
                echo $row['title'];
                echo "&lt;/title&gt;";
                echo "&lt;link type='text/html' href='http://www.apporan.com/reports/report.php?id=".$row['id']."'/&gt;";
                echo "&lt;id&gt;";
                echo "tag:apporan.com,2015:http://www.apporan.com/reports/report.php?id=".$row['id'];
                echo "&lt;/id&gt;";
                echo "&lt;updated&gt;";
                echo $articleDateRfc3339;
                echo "&lt;/updated&gt;";
                  echo "&lt;author&gt;";
                  echo "&lt;name&gt;";
                  echo $row['author'];
                  echo "&lt;/name&gt;";
                  echo "&lt;/author&gt;"; 
                echo "&lt;summary&gt;";
                echo $row['subtitle'];
                echo "&lt;/summary&gt;";
  
                $i++;
              }           
          ?&gt;
          &lt;/entry&gt;
      &lt;/feed&gt;
  </code></pre>
  
  <p>Although this is doing the job. I want to parse/embed this to mye page. Can anyone help me?enter code here</p>