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!)

About this user

Christopher http://horrell.ca/

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

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.

Switching a working copy with subversion

If you find that the location to a subversion repository has changed, do this:

svn switch --relocate http://textpattern.com/svn/repos/current/textpattern http://svn.textpattern.com/current/textpattern


Where the old url is http://textpattern.com/svn/repos/current/textpattern

And the new one is http://svn.textpattern.com/current/textpattern

To see if it worked, do this:

svn info | grep URL


And you should see something like this:

URL: http://svn.textpattern.com/current/textpattern


(source: Switching a Working Copy)
« Newer Snippets
Older Snippets »
2 total  XML / RSS feed