Changeset 131940
- Timestamp:
- 07/04/2009 12:47:53 PM (16 years ago)
- Location:
- yurl-retwitt/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
yurl-retwitt/trunk/readme.txt
r111554 r131940 18 18 19 19 This 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 = 22 Now uses directly Twitter interface. Should increase "RT rate". -
yurl-retwitt/trunk/yurl.php
r111532 r131940 5 5 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 :) 6 6 Author: Didier Sampaolo 7 Version: 1. 37 Version: 1.4 8 8 Author URI: http://www.php-experts.org/ 9 9 */ … … 46 46 $replace = array($yurl['login'], $yurl['title'], $yurl['yurl']); 47 47 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>'; 50 50 } 51 51 }
Note: See TracChangeset
for help on using the changeset viewer.