PDA

View Full Version : Add links for del.icio.us, furl and spurl


se.nsuo.us
02-13-2006, 04:51 AM
Here is a simple way allow people to easily bookmark your pictures on del.icio.us, Furl and Spurl. in your image_template.html place the following code somewhere appropriateAdd to <a href="http://del.icio.us/post?url=<SITE_URL>image/<IMAGE_ID>&title=<SITE_TITLE>-<IMAGE_TITLE>">del.icio.us</a> |
<a href="http://furl.net/storeIt.jsp?t=<SITE_TITLE>-<IMAGE_TITLE>&u=<SITE_URL>image/<IMAGE_ID>">Furl</a> | <a href="http://www.spurl.net/spurl.php?url=<SITE_URL>image/<IMAGE_ID>&title=<SITE_TITLE>-<IMAGE_TITLE>"> Spurl</a>

If you want Icons for the above services grab them from my site... For people who are markup challenged I might create an Addon with a few more services.... that is if someone does not do it before me [hint, hint ;) ]

mykodachrome
08-26-2006, 04:21 PM
Can anyone help - I can't get this to work - the problem is the image link it truncated (cut short) when I use this script. I am using Pixelpost 1.5rc (I know I have to upgrade soon but fugured the version should not be an issue here).

GeoS
08-26-2006, 11:59 PM
Show us link to your faulty page.

mykodachrome
08-27-2006, 05:08 AM
The page is www.mykodachrome.com and the link is at the bottom left - I used this as the code

<a href="http://del.icio.us/post?url=<SITE_URL>image/<IMAGE_ID>&title=<SITE_TITLE>-<IMAGE_TITLE>">add to del.icio.us</a> |

You will notice that the URL comes out on the current image as "http://www.mykodachrome.com/image/420" and it should be "http://www.mykodachrome.com/index.php?showimage=420"

Thanks for helping

Connie
08-27-2006, 07:14 AM
I got this URL in Firefox:

http://del.icio.us/post?url=http://www.mykodachrome.com/image/420&title=mykodachrome-lipstick

and the link worked... If I were a member there, I could have continued to bookmark it there..

(I will never understand why I should keep my data at other servers .. but that is my personal opinion)

mykodachrome
08-27-2006, 01:08 PM
I am a member there too and it works when I add other peoples sites - but on mine wiether I use IE or Firefox it fails to give the full URL address.

Any ideas?

Connie
08-27-2006, 02:11 PM
clear the cache of your browsers
clear the IE cache on the harddisk, not from inside the browser

that might help

mykodachrome
08-27-2006, 05:47 PM
tried it - no luck - even when I put my cursor over the link I do not get the full path, I get
"http://del.icio.us/post?url=http://www.mykodachrome.com/image/383&title=mykodachrome-siding"

and when I click it the URL becomes "http://www.mykodachrome.com/image/383" when it should be "http://www.mykodachrome.com/index.php?showimage=383"

Connie
08-27-2006, 08:01 PM
which browser are you using?

mykodachrome
08-27-2006, 08:14 PM
I tried it on IE6, Netscape8, & Firefox, tried it on my desktop computer and also my laptop - same problem each time no matter what.

If you are getting it to load, and I can get other peoples to load but not the links on my site, it is a real mystery.

jgrayson
08-29-2006, 07:30 PM
Here is a simple way allow people to easily bookmark your pictures on del.icio.us, Furl and Spurl. in your image_template.html place the following code somewhere appropriateAdd to <a href="http://del.icio.us/post?url=<SITE_URL>image/<IMAGE_ID>&title=<SITE_TITLE>-<IMAGE_TITLE>">del.icio.us</a> |
<a href="http://furl.net/storeIt.jsp?t=<SITE_TITLE>-<IMAGE_TITLE>&u=<SITE_URL>image/<IMAGE_ID>">Furl</a> | <a href="http://www.spurl.net/spurl.php?url=<SITE_URL>image/<IMAGE_ID>&title=<SITE_TITLE>-<IMAGE_TITLE>"> Spurl</a>

If you want Icons for the above services grab them from my site... For people who are markup challenged I might create an Addon with a few more services.... that is if someone does not do it before me [hint, hint ;) ]

problem is that code will make your page not Valid XHTML 1.0 Transitional

GeoS
08-29-2006, 11:56 PM
replace & with &amp; in each href attribute.

mykodachrome
08-30-2006, 03:12 AM
Ah thanks - I will try it...

back, and still no luck, I must be doing something very basic wrong. I only want the del.icio link so this is what I use:

<a href="http://del.icio.us/post?url=<SITE_URL>image/<IMAGE_ID>&amp;title=<SITE_TITLE>-<IMAGE_TITLE>">add to del.icio.us</a>

jgrayson
08-30-2006, 08:27 PM
replace & with &amp; in each href attribute.

ah, awesome.... but there's still a problem, that code above for delicious:
<a href="http://del.icio.us/post?url=<SITE_URL>image/<IMAGE_ID>&amp;title=<SITE_TITLE>-<IMAGE_TITLE>">del.icio.us</a>

will make your delicious link look like this:
http://www.YOURDOMAIN.com/image/1

but it should look like this:
http://www.YOURDOMAIN.com/index.php?showimage=1

so then shouldn't the delicious tag look like this?
<a href="http://del.icio.us/post?url=<SITE_URL>index.php?showimage=<IMAGE_ID>&amp;title=<SITE_TITLE>-<IMAGE_TITLE>">del.icio.us</a>

mykodachrome
08-30-2006, 10:06 PM
Ah prefect - works! Thanks so much!

umar
10-20-2006, 05:46 PM
thanks for the correction john.

request to se.nsuo.us: please update the first post with the correct code for delicious.