When I run my articlebot it made posts with no title and no description, only the link would be within the post...
I tracked it down to determin the problem and the entire pregreplace section doesn't seem to be working right with me... perhaps it's my regular expressions retardedness or perhaps it's something else...
When I comment out this section and the corresponding one for the title it works fine and posts titles and descriptions... Otherwise it turns the article[title] and article[description] strings into empty strings....
PHP Code:
/* if ($articlebot['global_regex_desc_search'] || $articlebot['regex_desc_search'])
{
if ($articlebot['regex_desc_search'])
{
$articlebot['global_regex_desc_search'] = $articlebot['regex_desc_search'];
$articlebot['global_regex_desc_replace'] = $articlebot['regex_desc_replace'];
}
$article['description'] = @preg_replace(
"$articlebot[global_regex_desc_search]",
"$articlebot[global_regex_desc_replace]",
$article['description']
);
}
*/
I've also tried leaving the reg ex's blank as well as using search: * and replace $1
Could anyone give me some ideas?
Could you also tell me why we call the preg_replace function with:
@preg_replace(...)?
Also, very nice hack. An idea for future implementation would be to search the RSS feeds for keywords... each feed having it's own set of keywords or a global keyword much like you have the pregreplace. so if you were interested in news about pumpkins, or video games, or bottlecaps you could then only post news about bottlecaps, videogames or pumpkins...

I may do myself but I figured you might like the idea.
Alternatly we could all create an RSS feed from our forums with entries being threads that match our keywords, links in the posts would be displayed with our
keyword linked, an XML feed with participating sites could be hosted somewhere and we could all deploy some nice keyword linking out across the net...
Thanks.