| View previous topic :: View next topic |
| Author |
Message |
Ba5tarD
Joined: 24 Sep 2005 Posts: 9 Location: Rishon LeZion, Israel
|
Posted: Wed Sep 28, 2005 11:53 am Post subject: Tutorial | "Bookmark This" in every post |
|
|
Hello. Maybe everybody already knows it, but anyway this is might be helpful to somebody. If you wanna add "Bookmark This" (of del.icio.us) at the bottom of every post here's a my awful tutorial.
For example. I use a great minimaplus theme, and I hope it will work fine for other themes too. I'm going to Manage --> Files --> Posts and edit a post.html. Here's a original code:
| Quote: | <div class="post">
<h3 class="post-title">
<a href="{permalink_link}" rel="bookmark" title="Permanent Link: {the_title_rss}">{the_title}</a></h3>
<div class="post-body">
<div>
{the_content}
</div>
</div>
<p class="post-footer">
<em> POSTED BY {the_author echo=false} ON <a href="{permalink_link}" rel="bookmark" title="Permanent Link:">{the_date d='m.d.y'}</a> @ {the_time} | {comments_popup_link zero='0 Comments' one='1 Comment' more='% Comments'}
</em></p>
<!--
{trackback_rdf}
-->
</div> |
So, you need to add this line just after the {the_content}:
<a href="http://del.icio.us/post?url={permalink_link}&title={the_title_rss}">Bookmark This</a>
For example you can look at my blog. He is in russian, but anyway, just look how it works.
You can add a small del.icio.us logo square before the link. For this you need to use this line:
<img src="http://del.icio.us/img/delicious.gif"> <a href="http://del.icio.us/post?url={permalink_link}&title={the_title_rss}">Bookmark This</a>
That's all.
P.S. Sorry for my bad english. I'm a russian-language user.  |
|
| Back to top |
|
schinckel
Joined: 03 Apr 2005 Posts: 1238 Location: Adelaide, Australia
|
Posted: Mon Oct 17, 2005 9:23 am Post subject: |
|
|
Great tip.
Just a couple of hints:
Make sure you have the alt="del.icio.us bookmark" attribute in any image tags, and close the tag with />, otherwise it' won't validate.
[Oh, and your blog seems to be gone] _________________ Blogsome Forum: Rules/Search
WordPress Codex; Smarty Tags Docs |
|
| Back to top |
|
Ba5tarD
Joined: 24 Sep 2005 Posts: 9 Location: Rishon LeZion, Israel
|
Posted: Wed Nov 16, 2005 8:46 pm Post subject: |
|
|
| schinckel wrote: | Great tip.
Just a couple of hints:
Make sure you have the alt="del.icio.us bookmark" attribute in any image tags, and close the tag with />, otherwise it' won't validate.
[Oh, and your blog seems to be gone] |
Thanx. Btw I'm back and starting new blog. |
|
| Back to top |
|
jackrip Guest
|
Posted: Fri Nov 18, 2005 12:53 am Post subject: |
|
|
Just a couple of services to add.
Blinklist, furl, simpy, spurl, and yahoo
| Code: | <a title="Submit to BlinkList" href="http://www.blinklist.com/index.php?Action=Blink/addblink.php&Description=&Url={permalink_link}&Title={the_title_rss}">Blinklist</a>
<a title="Submit to Furl" href="http://www.furl.net/storeIt.jsp?t={the_title_rss}&u={permalink_link}">furl</a>
<a title="Submit to Simpy" href="http://simpy.com/simpy/LinkAdd.do?title={the_title_rss}&href={permalink_link}">simpy</a>
<a title="Submit to Spurl" href="http://www.spurl.net/spurl.php?v=3&title={the_title_rss}&url={permalink_link}">spurl</a>
<a title="Submit to Yahoo Web 2.0" href="http://synergy2.search.yahoo.com/myresults/bookmarklet?t={the_title_rss}&u={permalink_link}">yahoo</a> |
Example on my site:
http://ehoffmann.blogsome.com |
|
| Back to top |
|
Ba5tarD
Joined: 24 Sep 2005 Posts: 9 Location: Rishon LeZion, Israel
|
Posted: Fri Nov 18, 2005 5:18 am Post subject: |
|
|
Great tip! Thanx man!  |
|
| Back to top |
|
|