|
#1
|
|||
|
|||
|
Digg
Would it be possible to extract the current URL, similar to <IMAGE_PERMALINK>, for use in other links?
For example, if you wanted to add a link to Digg this page, you'd need a link to http://digg.com/submit?phase=2&url=example.com Also, your link need to URL-encode your strings like http%3A%2F%2Fyourwebsite%2Fyourstoryurl%2Fstorypag edetails.html Is there a tag which lets you do this? Edit: I did it by hacking index.php, but perhaps there's a more elegant solution.
__________________
Photoblog Last edited by Ariel; 04-17-2007 at 06:23 AM. |
|
#2
|
||||
|
||||
|
You could make make a little addon to do that, or you could try adding a few tags together like the person did in this thread:
http://forum.pixelpost.org/showthread.php?t=3392
__________________
Jay Williams | A Different View |
|
#3
|
|||
|
|||
|
Ah, excellent. That's a nice framework. Thanks Jay.
This works: Code:
<a href="http://digg.com/submit?phase=2&url=<SITE_URL>index.php?showimage=<IMAGE_ID>">Digg</a>
__________________
Photoblog Last edited by Ariel; 04-17-2007 at 06:38 AM. Reason: added the code |
| Post Reply |
| Thread Tools | |
|
|