본문 바로가기

카테고리 없음

내 블로그에 goo.gl 이용 Scrap on Twitter 링크 달기 TC,XE

샵샵은 ##으로 바꿔주세요 !!
TC
<script>document.write("<a href='javascript:window.googl_callback = function(response){if(response.error_message){alert('An error occured: ' + response.error_message);}else{location.href='http://twitter.com/?status=[샵샵_article_rep_title_샵샵]' + response.short_url);}}; var s = document.createElement('script'); s.src = 'http://ggl-shortener.appspot.com/?url=' + encodeURIComponent('[샵샵_article_rep_link_샵샵]') + '&jsonp=googl_callback'; void(document.body.appendChild(s));'>Goo.gl this page</a>");</script>
<noscript><a id="twitr_share" href="http://twitter.com/?status=[샵샵_article_rep_title_샵샵] - [샵샵_article_rep_link_샵샵]">Scrap on Twitter</a></noscript>
XE
<script>document.write("<a href='javascript:window.googl_callback = function(response){if(response.error_message){alert('An error occured: ' + response.error_message);}else{location.href='http://twitter.com/?status={$oDocument->getTitle()}' + response.short_url);}}; var s = document.createElement('script'); s.src = 'http://ggl-shortener.appspot.com/?url=' + encodeURIComponent('{$oDocument->getPermanentUrl()}') + '&jsonp=googl_callback'; void(document.body.appendChild(s));'>Goo.gl this page</a>");
<noscript><a id="twitr_share" href="http://twitter.com/?status={$oDocument->getTitle()} - {$oDocument->getPermanentUrl()}">Scrap on Twitter</a></noscript>