フォーム データを (_POST 経由で) 取得し、SimpleXML を使用してドキュメントに書き込もうとしています。これは私が試したものであり、動作させることができないようです。
<?php
$title = $_POST['title'];
$link = $_POST['link'];
$description = $_POST['description'];
$rss = new SimpleXMLElement($xmlstr);
$rss->loadfile("feed.xml");
$item = $rss->channel->addChild('item');
$item->addChild('title', $title);
$item->addChild('link', $link);
$item->addChild('description', $description);
echo $rss->asXML();
header("Location: /success.html");
exit;
?>
正しい方向への助けやポイントをいただければ幸いです。