コード例 #1
0
ファイル: code.php プロジェクト: anboto/xtreamer-web-sdk
/**
 * @return String
 * @desc Opens a LJ entry based on session variables. Returns the title and content concatenated together for editing
 */
function livejournal_open()
{
    global $config, $livejournal_host, $livejournal_path;
    $plugin = $config['plugins'][$_SESSION['plugin']];
    return mt_open($plugin['username'], $plugin['password'], $livejournal_host, $livejournal_path, 'livejournal');
}
コード例 #2
0
ファイル: code.php プロジェクト: anboto/xtreamer-web-sdk
/**
 * @return String
 * @desc Opens a MT entry based on session variables. Returns the title and content concatenated together for editing
 */
function movabletype_open()
{
    global $config;
    $plugin = $config['plugins'][$_SESSION['plugin']];
    return mt_open($plugin['username'], $plugin['password'], $plugin['host'], $plugin['path'], 'movabletype');
}
コード例 #3
0
ファイル: code.php プロジェクト: anboto/xtreamer-web-sdk
/**
 * @return String
 * @desc Opens a LJ entry based on session variables. Returns the title and content concatenated together for editing
 */
function wordpress_open()
{
    global $config;
    $plugin = $config['plugins'][$_SESSION['plugin']];
    return mt_open($plugin['username'], $plugin['password'], $plugin['host'], $plugin['path'], 'wordpress');
}