Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

40 lines (32 sloc) 0.867 kb
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>WordPress Poster</title>
</head>
<body>
<?php
error_reporting(E_ALL);
ini_set('display_errors', '1');
include "remotePost.class.php";
$body = "<a href=\"";
$body .= $_REQUEST['RecordingUrl'];
$body .= "\"><img scr=\"http://farm3.static.flickr.com/2538/4082861842_cd8c3f7bfb_m.jpg\"></a>";
$body.="<h2>listen!</h2>\n</center>";
$body = $_REQUEST['TranscriptionText']."\n\n";
$content['title'] = 'Voice Blog!';
$content['categories'] = 'voice blogging';
$content['description'] = $body;
try
{
$posted = new remotePost($content);
$pid = $posted->postID;
echo $content['description'];
}
catch(Exception $e)
{
echo $e->getMessage();
}
?>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.