Never been to TextSnippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)

« Newer Snippets
Older Snippets »
2 total  XML / RSS feed 

"Digg this page" XSS

// To include the nice little live-updated Digg widget

<script src="http://digg.com/tools/diggthis.js" type="text/javascript">script>

Adding "post to" links for del.icio.us, digg, and ma.gnolia in Textpattern

Here's how to add "post to" links for del.icio.us, digg, and ma.gnolia to individual articles in Textpattern

del.icio.us


              
post to <a href="http://del.icio.us/post?url=&title=">del.icio.usa> 



digg


              
post to <a href="http://www.digg.com/submit?phase=2&url=">digga>



ma.gnolia


              
post to <a href="http://ma.gnolia.com/bookmarklet/add?url=&title=">ma.gnoliaa>



Clicking one of the those links will automatically post a permanent link for an article and, in the case of del.icio.us and ma.gnolia, the title to one of the above services.
« Newer Snippets
Older Snippets »
2 total  XML / RSS feed