Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Hacks and Modifications

Post Reply
 
Thread Tools
  #11  
Old 08-29-2006, 07:30 PM
jgrayson Offline
pixelpost guru
 
Join Date: Jun 2006
Posts: 125
Quote:
Originally Posted by se.nsuo.us
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 appropriate
HTML Code:
Add 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
Reply With Quote
  #12  
Old 08-29-2006, 11:56 PM
GeoS's Avatar
GeoS+ Offline
Team Pixelpost
 
Join Date: Apr 2005
Location: Warsaw, Poland
Posts: 3,613
Send a message via ICQ to GeoS Send a message via Skype™ to GeoS
replace & with &amp; in each href attribute.
__________________
photoblog | portfolio | addons | Donate
Reply With Quote
  #13  
Old 08-30-2006, 03:12 AM
mykodachrome's Avatar
mykodachrome Offline
pp veteran
 
Join Date: Apr 2006
Location: Canada
Posts: 57
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>

Last edited by mykodachrome; 08-30-2006 at 04:10 AM.
Reply With Quote
  #14  
Old 08-30-2006, 08:27 PM
jgrayson Offline
pixelpost guru
 
Join Date: Jun 2006
Posts: 125
Quote:
Originally Posted by GeoS
replace & with &amp; in each href attribute.
ah, awesome.... but there's still a problem, that code above for delicious:
Code:
<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?
Code:
<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>
Reply With Quote
  #15  
Old 08-30-2006, 10:06 PM
mykodachrome's Avatar
mykodachrome Offline
pp veteran
 
Join Date: Apr 2006
Location: Canada
Posts: 57
Ah prefect - works! Thanks so much!
Reply With Quote
  #16  
Old 10-20-2006, 05:46 PM
umar's Avatar
umar Offline
pp regular
 
Join Date: Jun 2006
Posts: 26
thanks for the correction john.

request to se.nsuo.us: please update the first post with the correct code for delicious.
__________________
www.umarshahzad.com/focus
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 08:01 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs