Ustalar, wp için hazır bi bot'u kendime göre düzenledim,, ama var olan konuyu tekrar eklemeyi engellemeyi beceremedim,
baya aradım çok örnek var internette, ama bi türlü uyduramadım, nasıl yapmam gerekiyor?

<?php
include('../wp-config.php');
function ara($bas, $son, $yazi)
{
    @preg_match_all('/' . preg_quote($bas, '/') .
    '(.*?)'. preg_quote($son, '/').'/i', $yazi, $m);
    return @$m[1];
}
if(isset($_GET['url'])){
$link = $_GET['url'];
$icerik = file_get_contents($link);
$baslik = ara(">Bre ", "</a>", $icerik);
echo $baslik[0];
echo '<br/>';
echo '<br/>';
echo '<br/>';
$resim = ara('/resources/r/?m','"',$icerik);
echo '<img height="250px" src=" '" />';
echo '<br/>';
echo '<br/>';
echo '<br/>';
$yazim = ara('</div><p>','</p>',$icerik);
$yazim[0] = str_replace("href='","",$yazim[0]);
echo $yazim[0];

echo '<br/>';
echo '<br/>';
echo '<br/>';
$anahtar = ara('<meta itemprop="keywords" content="','"',$icerik);
echo $anahtar[0];
 
$my_post = array(
  'post_title'    => $baslik[0], //Yazı başlığı
  'post_content'  => '<img height="250px" src=".'" /> <br/><br/><br/>'.$yazim[0], // Yazı içeriği
  'post_status'   => 'publish', //Yayınlanma durumu
  'post_author'   => 1, //Yazar
  'post_category' => array(2),
  'tags_input' => $anahtar[0]
);  
 
// Insert the post into the database
wp_insert_post( $my_post );
}
?>