Plugin Directory

Changeset 131940


Ignore:
Timestamp:
07/04/2009 12:47:53 PM (16 years ago)
Author:
dsampaolo
Message:
 
Location:
yurl-retwitt/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • yurl-retwitt/trunk/readme.txt

    r111554 r131940  
    1818
    1919This plugin will allow your readers to publish a RT (Re-Twitt) on twitter, quoting the user name of your choice, your post's (or page) title and its url (shortened by http://yurl.fr/ )
     20
     21= Changelog 1.4 =
     22Now uses directly Twitter interface. Should increase "RT rate".
  • yurl-retwitt/trunk/yurl.php

    r111532 r131940  
    55 Description: Fetch, store (cache) and display, a tiny-version of the URL of each post. Allow your users to re-twitt it in one click. You can specify the RT default text. Can be quite handy if you're using Twitter :)
    66 Author: Didier Sampaolo
    7  Version: 1.3
     7 Version: 1.4
    88 Author URI: http://www.php-experts.org/
    99 */
     
    4646                $replace = array($yurl['login'], $yurl['title'], $yurl['yurl']);
    4747
    48                 $yurl['href'] = 'http://yurl.fr/rt.php?rt='.urlencode(str_replace($search, $replace, $yurl['syntax']));
    49                 echo '<a href="'.$yurl['href'].'">'.$yurl['anchor'].'</a>';
     48                $yurl['href'] = 'http://twitter.com/home?status='.urlencode(str_replace($search, $replace, $yurl['syntax']));
     49                echo '<a rel="nofollow" href="'.$yurl['href'].'">'.$yurl['anchor'].'</a>';
    5050            }
    5151        }
Note: See TracChangeset for help on using the changeset viewer.