Blogger Hacks: direct link to permalink or post ID

The hacks below modify some codes with <a href="..."> </a> link for the purpose of style modification. Please note the bolded tags as important.

Comment

Standard "Post a Comment" code:

<p class="comment-timestamp"><$BlogItemCreate$></p>

Hacked with direct link to post ID:

<a href="https://www2.blogger.com/comment.g?blogID=8349815 &amp;postID=<$BlogItemNumber$>&amp;isPopup=true" title="add comment">
Add comment</a>


Backlink


Standard "Create a Link" code:

<p class="comment-timestamp"><$BlogItemBacklinkCreate$></p>

Hacked with direct link to post permalink:

<a href="http://www2.blogger.com/blog-this.g?t=&amp;u=<$BlogItemPermalinkUrl$> ;&amp;n=<$BlogItemTitle$>" title="create backlink">
Create backlink</a>


Email post

Standard "Email this post" code:

<$BlogItemControl$>

Hacked with direct link to post ID:

<a href="http://www2.blogger.com/email-post.g?blogID=8349815&amp; postID=<$BlogItemNumber$>" title="Email this post">
Email this post</a>


Del.icio.us

Standard "Save to Del.icio.us" code:

<a href="http://del.icio.us/post" onclick="window.open('http://del.icio.us/post?v=4&noui&jump=close&amp; url='+encodeURIComponent(location.href)+'& title='+encodeURIComponent(document.title), 'delicious','toolbar=no,width=700,height=400'); return false;"> Save This Page</a>

Hacked with direct link to post permalink:

<a href="http://del.icio.us/post?url=<$BlogItemPermalinkUrl$>&amp; title=<$BlogItemTitle$>" title="Add to Del.icio.us">
Add to Del.icio.us</a>


Digg

Standard "Digg this" URL:

http://digg.com/submit?phase=2&url=example.com&title=TITLE& bodytext=DESCRIPTION&topic=TOPIC

Hacked with direct link to post permalink:

<a href="http://www.digg.com/submit?phase=2&amp; url=<$BlogItemPermalinkUrl$>&amp;title=<$BlogItemTitle$>" title="Digg it">
Add to Digg</a>

Hope you can get it.

0 comments:

Post a Comment

Powered by Blogger.