title: Grab info between tags
body: <p>I have a text file that has data wrapped between tags. The tags are: </p>
  
  <pre><code>&lt;title&gt;
  &lt;url&gt;
  &lt;pubDate&gt;
  </code></pre>
  
  <p>So, the entries look like this: </p>
  
  <pre><code>&lt;title&gt;title 1&lt;/title&gt;
  &lt;url&gt;url 1&lt;/url&gt; 
  &lt;pubDate&gt;pubDate 1&lt;/pubDate&gt;
  
  &lt;title&gt;title 2&lt;/title&gt;
  &lt;url&gt;url 2&lt;/url&gt; 
  &lt;pubDate&gt;pubDate 2&lt;/pubDate&gt;
  
  &lt;title&gt;title 3&lt;/title&gt;
  &lt;url&gt;url 3&lt;/url&gt; 
  &lt;pubDate&gt;pubDate 3&lt;/pubDate&gt;
  </code></pre>
  
  <p>I need a script that reads this text file and prepares each item to be inserted into a database. The query will look like this: </p>
  
  <pre><code>insert into table (title,url,pubdate) values ($title,$url,$pubdate).... 
  </code></pre>