【MyScripts】Sylfeed SendToプロファイル作成&投稿スクリプト

Sylfeed向けのMyScriptsスクリプトを作成しました。SylfeedのSendTo登録用URLを作成してTinyURLで変換後にTweetbotを起動します。http://t.co/CHKkuj3D
2012-09-24 16:39 via Tweetbot for iOS


コード:

var sylfeedUrl="sylfeed://sendto/add?title="+encodeURIComponent(prompt("タイトル"))+"&url="+encodeURIComponent(prompt("URL"))+"&summary="+encodeURIComponent(prompt("説明"));

var url = "http://tinyurl.com/api-create.php?url="+encodeURIComponent(sylfeedUrl);

var req = new XMLHttpRequest();
req.open("GET", url, false);
req.send(null);

"tweetbot:///post?text="+encodeURIComponent(" "+req.responseText+" #sylfeedsendto");

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です

Current day month ye@r *