Tech Note: The Retweet Button

Our latest addition to The Blog codebase is a button to let you “retweet” an LGF article. “Retweeting” is a common way for people to spread interesting content around on Twitter. Since each article is already automatically posted to Twitter, your tweet is prefaced with the standard Twitter syntax to show that it’s a retweet from the LGF Twitter account, with the letters “RT’ for ReTweet, followed by the ‘@’ symbol and the username of the original tweetist: ‘RT @lizardoid’.

The code is basically John Resig’s Easy Retweet Button, with the CSS styles extracted into my main CSS file instead of embedded in the Javascript. This retweet function uses the LGF account with bit.ly, a URL shortener that tracks statistics; the number shown above the green Retweet button is the number of incoming clicks from the bit.ly URL for that article — in other words, the Twitter traffic for that article.

Right now, the Retweet button is only visible on the individual page for an article (either with or without comments) at the lower left of main article, next to the rating buttons.

UPDATE at 11/1/09 6:45:11 pm:

Retweet buttons are now on the front page, too, unless bit.ly lets me know the server load is too much.

Jump to top

Create a PageThis is the LGF Pages posting bookmarklet. To use it, drag this button to your browser's bookmark bar, and title it 'LGF Pages' (or whatever you like). Then browse to a site you want to post, select some text on the page to use for a quote, click the bookmarklet, and the Pages posting window will appear with the title, text, and any embedded video or audio files already filled in, ready to go.
Or... you can just click this button to open the Pages posting window right away.
Last updated: 2016-01-01 10:29 am PST
LGF User's Guide RSS Feeds Tweet

Help support Little Green Footballs!

Subscribe now for ad-free access!Register and sign in to a free LGF account before subscribing, and your ad-free access will be automatically enabled.

Donate with
PayPal
Square Cash Shop at amazon
as an LGF Associate!
Recent PagesClick to refresh
Portugal. The Man - Tidal Wave (Lyric Video)Portugal. the Man - TIdal Wave WOODSTOCK available now!atlantic.lnk.to Follow Portugal. The Manportugaltheman.comfacebook.com instagram.com@portugalthemanSoundCloudportugaltheman.tumblr.com Animations by Sam Binkowsammybinkow.cominstagram.com
Thanos
1 week, 1 day ago
Views: 453 • Comments: 0 • Rating: 0
Tweets: 2 • Share to Facebook
Shares: 0
Comments: 0
: 0
The US Army Is Quietly Discharging Immigrant Recruits Martha Mendoza, Garance Burke, Associated Press SAN ANTONIO — Some immigrant U.S. Army reservists and recruits who enlisted in the military with a promised path to citizenship are being abruptly discharged, the Associated Press has learned. The AP was ...
Cheechako
1 week, 4 days ago
Views: 417 • Comments: 0 • Rating: 1
Tweets: 1 • Share to Facebook
Shares: 0
Comments: 0
: 0
Dave Alvin - the 4th of July Every year, I find this song, with it's melancholia speaks more to me and every year I've been here, I've shared a version of the song. This year I thought I'd page it as well. Best known as a ...
William Lewis
1 week, 5 days ago
Views: 328 • Comments: 0 • Rating: 0
Tweets: 0 • Share to Facebook
Shares: 0
Comments: 0
: 0
Delvon Lamarr Organ Trio - Al Greenery (Live on KEXP)kexp.org presents Delvon Lamarr Organ Trio performing "Al Greenery" live in the KEXP studio. Recorded April 5, 2018. Host: Kevin ColeAudio Engineer: Kevin SuggsCameras: Jim Beckmann, Scott Holpainen & Justin WilmoreEditor: Jim Beckmann kexp.orgdlo3music.com
Thanos
1 week, 5 days ago
Views: 353 • Comments: 0 • Rating: 1
Tweets: 2 • Share to Facebook
Shares: 0
Comments: 0
: 0
Khruangbin - Maria También (Live on KEXP)kexp.org presents Khruangbin performing "Maria También" live in the KEXP studio. Recorded April 26, 2018. Host: Cheryl WatersAudio Engineers: Tim Iseler & Kevin Suggs Cameras: Alaia D'Alessandro, Scott Holpainen & Justin WilmoreEditor: Justin Wilmore kexp.orgkhruangbin.com
Thanos
1 week, 5 days ago
Views: 484 • Comments: 0 • Rating: 1
Tweets: 2 • Share to Facebook
Shares: 0
Comments: 0
: 0
Dessa - Velodrome (Live on KEXP)kexp.org presents Dessa performing "Velodrome" live in the KEXP studio. Recorded April 27, 2018. Host: Kevin ColeAudio Engineer: Kevin SuggsCameras: Alaia D'Alessandro, Kendall Rock & Justin WilmoreEditor: Scott Holpainen kexp.orgdoomtree.net
Thanos
2 weeks ago
Views: 428 • Comments: 0 • Rating: 0
Tweets: 2 • Share to Facebook
Shares: 0
Comments: 0
: 0
Paramore: Caught in the Middle [OFFICIAL VIDEO] We're doing it LIVE! Get your tickets to see Paramore on tour now with Foster The People at paramore.net Paramore's music video for 'Caught In The Middle' from the album, After Laughter - available now on Fueled By Ramen. ...
Thanos
2 weeks ago
Views: 451 • Comments: 0 • Rating: 0
Tweets: 3 • Share to Facebook
Shares: 0
Comments: 0
: 0