Submitted by greggles on
So, I read this post in the digg blog with much fascination.
it shows this:
digg_url = \'URLOFSTORY\';
Which is pretty cool because then it makes it easier for users to digg a story on your site even if they found the story through some other means. But there's a pretty huge problem with the widget...
The workflow for this is something like:
- write story
- wait for someone to digg story
- find URL of the digg story
- add widget to my site
Because then the workflow would be something like
1. write story
And that's clearly a better workflow.
If the answer is "we just can't do that" then I've got a surprise someone else will do a better job and you'll be forgotten.
- Log in to post comments
Jason replied on Permalink
You blog software should do it
If you can't make your blog software give you the URL of the page, then you need to learn more about your software. If you are using Drupal (I see you have quite a few Drupal related posts), you can simple add something like url("node/$node->nid") in that spot and it will give the URL. There might be a more elegant way to do it, but that works for me.
greggles replied on Permalink
thanks for misunderstanding the script
If it were the URL of the page then yes, that would be easy. But it's not. It's the URL of the story on digg.com. This is, in fact, my point.