Aae34a7973a8d98e53764a1c89090c55

<a href="http://tarpipe.com" >Tarpipe</a> is a service similar to yahoo pipes. It allows to send REST-wise posts to twitter, jaiku and pownce in one shot ;) Here's a short bookmarklet that should help you get productive on those micro-blogging platforms. Please teach me how to write better javascript. Thanks.

1
2
3
4
5
6
7
8
9
javascript:
popw=window.open('','Tarpipe micro-post','width=800,height=150');
popw.focus();
popd=popw.document;

popd.write('<form action="http://rest.receptor.tarpipe.net:8000/?key=PUTYOURKEYHERE" method="POST" enctype="multipart/form-data">');
popd.write('<p><input type="text" size="90" name="title" value=%s '+location.href/></p>');
popd.write('<p><input type="submit" name="Submit" value="pipe"/></p>');
popd.write('</form>');

Refactorings

No refactoring yet !

Your refactoring





Format Copy from initial code

or Cancel