It would probably be better to have your database mimick that of the feed. For example, let's take the PHPBuilder RSS Feed (did you know we had one 😉 )
<?xml version="1.0"?>
<rss version="0.91">
<channel>
<pubDate>Sat, 27 Oct 2007 2:03:42 GMT</pubDate>
<description>Newest Help Forum Posts On PHPBuilder.com</description>
<link>http://phpbuilder.com/</link>
<title>PHPBuilder.com Newest Help Forum Posts</title>
<webMaster>staff@phpbuilder.com</webMaster>
<language>en-us</language>
<item>
<title>Checking for Fake emails?</title>
<link>http://www.phpbuilder.com/board/showthread.php?threadid=10346726</link>
<description>...</description>
</item>
<item>
<title>Warning Function Include</title>
<link>http://www.phpbuilder.com/board/showthread.php?threadid=10346725</link>
<description>...</description>
</item>
<item>
<title>problem with php and google analytics</title>
<link>http://www.phpbuilder.com/board/showthread.php?threadid=10346722</link>
<description>...</description>
</item>
<item>
<title>help shorten code</title>
<link>http://www.phpbuilder.com/board/showthread.php?threadid=10346720</link>
<description>...</description>
</item>
<item>
<title>Password Protected Directory</title>
<link>http://www.phpbuilder.com/board/showthread.php?threadid=10346717</link>
<description>...</description>
</item>
<item>
<title>Cant use the back button in the browser in these forums anymore</title>
<link>http://www.phpbuilder.com/board/showthread.php?threadid=10346711</link>
<description>...</description>
</item>
<item>
<title>Why won't this *simple* session code work?</title>
<link>http://www.phpbuilder.com/board/showthread.php?threadid=10346707</link>
<description>...</description>
</item>
<item>
<title>gzip advanced implementation considerations</title>
<link>http://www.phpbuilder.com/board/showthread.php?threadid=10346704</link>
<description>...</description>
</item>
<item>
<title>Win 2003 IIS6 PHP_AUTH_USER blank!</title>
<link>http://www.phpbuilder.com/board/showthread.php?threadid=10346701</link>
<description>...</description>
</item>
<item>
<title>$_GET and retrieveing info passed from html</title>
<link>http://www.phpbuilder.com/board/showthread.php?threadid=10346694</link>
<description>...</description>
</item>
<item>
<title>Use of session_start()</title>
<link>http://www.phpbuilder.com/board/showthread.php?threadid=10346686</link>
<description>...</description>
</item>
<item>
<title>Javascript onclick loads up multiple drop down menus ??</title>
<link>http://www.phpbuilder.com/board/showthread.php?threadid=10346684</link>
<description>...</description>
</item>
<item>
<title>[RESOLVED] Fatal error when calling a nested function</title>
<link>http://www.phpbuilder.com/board/showthread.php?threadid=10346681</link>
<description>...</description>
</item>
<item>
<title>Removing return</title>
<link>http://www.phpbuilder.com/board/showthread.php?threadid=10346680</link>
<description>...</description>
</item>
<item>
<title>Need a simple free FAQ/Knowledge base</title>
<link>http://www.phpbuilder.com/board/showthread.php?threadid=10346668</link>
<description>...</description>
</item>
<item>
<title>[RESOLVED] Deleting Files and Folders in Windows Environment</title>
<link>http://www.phpbuilder.com/board/showthread.php?threadid=10346664</link>
<description>...</description>
</item>
<item>
<title>php header redirect = error in Internet Explorer</title>
<link>http://www.phpbuilder.com/board/showthread.php?threadid=10346656</link>
<description>...</description>
</item>
<item>
<title>[RESOLVED] Continuing on List of Subdirectories Post Below</title>
<link>http://www.phpbuilder.com/board/showthread.php?threadid=10346655</link>
<description>...</description>
</item>
<item>
<title>date, time string</title>
<link>http://www.phpbuilder.com/board/showthread.php?threadid=10346648</link>
<description>...</description>
</item>
<item>
<title>Help needed...</title>
<link>http://www.phpbuilder.com/board/showthread.php?threadid=10346647</link>
<description>...</description>
</item>
</channel>
</rss>
Now, each there's the root <rss> node with a child <channel> node and multiple grand-children <item> nodes. Now, each <item> has 3 nodes: title, link, description. For our purposes, we'll assume description isn't really just "..." but the first 50 words of the post. We're also going to add that each <item> node has a 4th child called "date" which is the date of that thread's creation.
Now, you'd want to set your database up to mimick the data in the rss feed. Our database would have 5 columns:
| id | title | description | date | link |
+------+-----------------------------+----------------------------------------------------+------------+--------------+
Now, when we retrieve the feed, we'd then parse it so that the title, description, date and link would be inserted as separate items, one for each <item> node in the feed. The ID field is nothing more than auto-incremented ID field to keep things "kosher".
Now, this way the RSS feed is now "searchable" in your database. You can search by date, by topic, or by description. And you can also make the title a key and when you go to insert into the database, you can UPDATE on a duplicate key 😉
This is probably a more robust idea than what you wanted, but it would server you better than storing a text-file in a blob section.