Many customers ask me: "How to link some particular keywords in the aggregating post to the specified URL's? Is that possible to add such a 'feature' to CyberSEO Suite?"
TRICK: CyberSEO Suite doesn't need any special "feature" for this, because the mentioned task can be easily done by means of custom PHP code. Simple insert the following code into the "PHP Code <?php .. ?>" field on RSS feed options page:
PHP Code:
$wordlinks = array (
// Enter your list of words/links as shown in the example below ("word1|link1", "word2|link2" etc ):
"morphing|http://www.morphingfeeds.com/",
"seo|http://www.cyberseo.net/",
"message board|http://www.gfy.com/"
);
foreach ( $wordlinks as $wl ) {
list ( $word, $link ) = explode ( "|", trim ( $wl ) );
$post ['post_content'] = preg_replace ( "/(".$word.")/i", "<a href=\"$link\">\\1</a>", $post ['post_content'] );
}
Now save the RSS feed settings and enjoy with the result!
Have a nice day
