daily twitters round-up: 2008-09-27
Posted September 27th, 2008 at 23:59 by KawehComments Off /
Filed under: everything
- is totally excited about going to Brussels! #
Comments Off /
Filed under: everything

1 Comment » /
Filed under: kawehdashti.com

Hello humans.
A couple of weeks ago I added simple delicious.com and digg com text links to my wordpress template. Now, every time I write a post, wordpress automatically adds a post-specific digg.com “digg this” and a delicious.com “bookmark this” link to the bottom of the post.
I did this because the links, widgets, buttons etc that delicious.com and digg.com provide for their users are too big, do not fit into my template and/or are not customisable enough. Having unsuccessfully searched far and wide for a how-to for simple customised text links, I decided to write a how-to of my own.
Before you start, it is important that you place the links between the code-snippets you can see below. If you don’t, the links will not be post-specific. They will instead just add your blog address, rather than the post’s permalink.
The following code should be applied to your index.php and the files that create your single posts and archives, normally single.php and archive.php
Adding a digg.com link:
<a href=”http://digg.com/submit?phase=2&url=<?php the_permalink() ?>&title=<?php the_title(); ?>”>Digg This</a>
This link can be styled using CSS just like any other html link.
In your index.php add the above code for the link somewhere between
<?php while (have_posts()) : the_post(); ?>
and
<?php endwhile; ?>
Adding a delicious.com link:
<a href=”http://del.icio.us/post?url=<?php the_permalink() ?>&title=<?php the_title(); ?>” target=”_blank”>Bookmark This</a>
Again, this link can be styled using CSS and should be added in your index.php somewhere between
<?php while (have_posts()) : the_post(); ?>
and
<?php endwhile; ?>
Del.icio.us has been relaunched as delicious.com, but the old domain still works in the link. I don’t know if this will work forever, and as soon as I know how to add the link with the new domain I will update this post.
Disclaimer: I am not a PHP guru. The stuff you see here worked for me, if it messes up your website, tough. Rant off in the forum if you like.

1 Comment » /
Filed under: everything
I saw this on TV a couple of days ago and had to share it. I found it again on YouTube and here you are.
Their advert is not going to make me eat more Hovis (see their own website for the HD version), but it is damn great compared to other adverts.
Should you wish to see another Hovis feat of excellence, check out their very impressive Healthy Living website. Go on, I dare you…

6 Comments » /
Filed under: everything

While it may not be very unusual to experience sunshine during summer, the closer you get to the British Isles the rarer a commodity it becomes. Considering the total absence of an Indian Summer this year, we are supposed to have a truly wonderful weekend. Feel lucky people! You get the opportunity to fill the air with smoke from your barbeques and have a good time for once!
It is forecast (I am not trying to jinx anything here…) to be sunny, without clouds and no rain.
Go forth and be jolly!
Written somewhere in the garden.

2 Comments » /
Filed under: kawehdashti.com

I have spend the longest part of the evening trying to figure out a way to get simple customised text-only delicious.com and digg.com links to display at the bottom of my posts.
Yeah, I know there are a zillion wordpress plug-ins that do that, and that both websites provide their own solutions. However, neither the native solutions, nor any of the plug-ins I found seem to allow for the kind of customisation I have in mind. If they do, then I was simply too stupid to find out how.
Anyway, after hours of experimenting I finally managed to get just what I wanted and in the process rearranged and restructured the way posts are being displayed. Take a look at the top of any post and you will find a link to the comments for that particular post and a reference of the category the post is filed under. Previously I chose not to use categories, so until now everything has been filled under “everything”.
Underneath each post you now find another link to the comments section (hint, hint…) and the links allowing you to bookmark the post through delicious.com and share it through digg.com that have triggered this episode.
Go on and try out these new features and let me know what you think.
I am astonished that there don’t seem to be any tutorials on this and that it was so simple in the end. I will most likely write a how-to post in the next few days. The delicious.com link needs a little more work, so it will probably not be before next weekend.

|
|