I want to code a script, that will automatically add a feed from my website to feedburner, here is the steps that needs to happen.
step one: login to google
step two: add a feed
post fields = sourceUrl
step three: enter in feed details
post fields, name, mappedUri
curl basic syntax, this is the way I think I am going to have to code this.
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch, CURLOPT_POST, 1);
// Edit: prior variable $postFields should be $postfields;
curl_setopt($ch, CURLOPT_POSTFIELDS, $post_fields);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
$result = curl_exec($ch);