Removing "dzone it!" From Non-Tech Blogs

Topics: Controls
Jul 31, 2007 at 6:27 AM
Hello, I was wondering if an option for this can be implemented. Or, if someone could tell me where in the source to look.

Thanks =)
~ruisu
Jul 31, 2007 at 12:36 PM


ruisu wrote:
Hello, I was wondering if an option for this can be implemented. Or, if someone could tell me where in the source to look.

Thanks =)
~ruisu


The code is in the PostView.ascx in the themes folder for the theme you are using.
It looks like this:


<div class="bookmarks">
<a rel="nofollow" href="mailto:?subject=<%=Post.Title %>&body=Thought you might like this: <%=Post.AbsoluteLink.ToString() %>">E-mail</a> |
<a rel="nofollow" href="http://www.dotnetkicks.com/submit?url=<%=Server.UrlEncode(Post.AbsoluteLink.ToString()) %>&title=<%=Server.UrlEncode(Post.Title) %>">Kick it!</a> |
<a rel="nofollow" href="http://www.dzone.com/links/add.html?url=<%=Server.UrlEncode(Post.AbsoluteLink.ToString()) %>&title=<%=Server.UrlEncode(Post.Title) %>">DZone it!</a> |
<a rel="nofollow" href="http://del.icio.us/post?url=<%=Server.UrlEncode(Post.AbsoluteLink.ToString()) %>&title=<%=Server.UrlEncode(Post.Title) %>">del.icio.us</a>
</div>


Just remove whichever links you don't want.

Personally I think it would be nicer if these social bookmarking links could be injected into a post by an extension, and work for all themes. The extension could then allow you to pick which links you wanted to use.
Jul 31, 2007 at 6:07 PM
I have been wondering the same thing. There are other social bookmarks that I would rather use and I don't want to have to keep changing them with each upgrade. I think there could be a settings in a config file that we could use to set them dynamically. Use the same xml data engine in the admin side, similar to the ping service. The main consideration would be for them to put placeholders in the urls and title. A social entry would be.

Title: textbox link: textbox

Title: DZone it! link: http://www.dzone.com/links/add.html?url={AbsoluteLink}&title={PostTitle}

We would just need a few basic things that could be put in the url dynamically and list the option under/over the entries so users would know how to customize a link.



markheath wrote:


ruisu wrote:
Hello, I was wondering if an option for this can be implemented. Or, if someone could tell me where in the source to look.

Thanks =)
~ruisu


The code is in the PostView.ascx in the themes folder for the theme you are using.
It looks like this:


<div class="bookmarks">
<a rel="nofollow" href="mailto:?subject=<%=Post.Title %>&body=Thought you might like this: <%=Post.AbsoluteLink.ToString() %>">E-mail</a> |
<a rel="nofollow" href="http://www.dotnetkicks.com/submit?url=<%=Server.UrlEncode(Post.AbsoluteLink.ToString()) %>&title=<%=Server.UrlEncode(Post.Title) %>">Kick it!</a> |
<a rel="nofollow" href="http://www.dzone.com/links/add.html?url=<%=Server.UrlEncode(Post.AbsoluteLink.ToString()) %>&title=<%=Server.UrlEncode(Post.Title) %>">DZone it!</a> |
<a rel="nofollow" href="http://del.icio.us/post?url=<%=Server.UrlEncode(Post.AbsoluteLink.ToString()) %>&title=<%=Server.UrlEncode(Post.Title) %>">del.icio.us</a>
</div>


Just remove whichever links you don't want.

Personally I think it would be nicer if these social bookmarking links could be injected into a post by an extension, and work for all themes. The extension could then allow you to pick which links you wanted to use.

Jun 21, 2010 at 8:18 AM

Thank you very much !! It was of very good help :)