<?xml version="1.0" encoding="UTF-8"?>    <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
      <channel>
        <title>XML Feed</title>
        <link>https://interactivetools.com/forum/forum-posts.php?XML-Feed-80304</link>
        <description></description>
        <pubDate>Tue, 12 May 2026 02:13:20 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-posts.php?rss=1&amp;XML-Feed-80304" rel="self" type="application/rss+xml" />

                <item>
          <title>XML Feed</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2237780#post2237780</link>
          <description><![CDATA[<p>Hi Carole</p>
<p>With your current example, the other site would need to know the individual URL's and have a command to load each one of them individually.  If your pages are numbered sequentially, though, the other site could use a "for" loop like this:</p>

<p><code>for ($i = 1; $i &lt;= 10; $i++) {<br />    $yourWebsitesXmlPageContents = file_get_contents("<a href="http://yourwebsite.com/xml.php?$i" rel="nofollow">http://yourwebsite.com/xml.php?$i</a>");<br />    echo $yourWebsitesXmlPageContents;<br />}</code></p>
<p>Does that seem like it could work?</p>
<p>Another option would be to provide the other site with a single feed and after they use code like Daryl's to get the contents, they can parse it out themselves.</p>
<p>Ross</p>
<p>for ($i = 1; $i &lt;= 10; $i++) {<br />    echo $i;<br />}</p>]]></description>
          <pubDate>Wed, 25 Nov 2015 09:38:13 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2237780#post2237780</guid>
        </item>
                <item>
          <title>XML Feed</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2237777#post2237777</link>
          <description><![CDATA[<p>Hi Daryl</p>
<p>Thanks for this - but how does it work if you've got multiple pages (eg. .php?1, php?2, php?3) with each page containing specific data (drawn from the database) to generate the feed?  At the moment, if it's only a specific page, there would be over 90 pages.</p>

<p>Thanks</p>
<p>Carole</p>]]></description>
          <pubDate>Tue, 24 Nov 2015 18:32:18 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2237777#post2237777</guid>
        </item>
                <item>
          <title>XML Feed</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2237771#post2237771</link>
          <description><![CDATA[<p>Hi Carole,</p>
<p>The other website's php page can use file_get_contents() function to get your website's XML contents and dump it.<br />For example (code for other website's page):</p>
<p><code>$yourWebsitesXmlPageContents = file_get_contents("<a href="http://yourwebsite.com/xml.php" rel="nofollow">http://yourwebsite.com/xml.php</a>");<br /> echo $yourWebsitesXmlPageContents;</code></p>
<p>Let me know if this is the solution you're looking for.</p>
<p>Thanks,</p>]]></description>
          <pubDate>Mon, 23 Nov 2015 14:52:01 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2237771#post2237771</guid>
        </item>
                <item>
          <title>XML Feed</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2237744#post2237744</link>
          <description><![CDATA[<p>Is there a way to generate an XML feed from my website to another company's website?</p>
<p>Thanks in advance.</p>
]]></description>
          <pubDate>Thu, 19 Nov 2015 19:40:33 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2237744#post2237744</guid>
        </item>
              </channel>
    </rss>
  