ER Tweet Me

Current Version: 1.0.0

4 comments

Added on November 14th by Erik Reagan

ER Tweet Me

This plugin was is the brainchild of Andy Marshall, @moogaloo, and was developed by me. It searches through the passed data for @ ("at mentions") and # ("hash tags"). When it finds them it automagically turns them into links to twitter user pages and hash tag searches. You can see it in action on the homepage of my website. I'm using it in conjunction with the Twitter Search plugin to show and add links to my latest tweet.

Features

  • Automagically turns @mentions and #tags into links to twitter
  • Can be used on single words or full text (see docs for usage)

Example Usage

This is part of the code I’m using on my homepage to produce my latest tweet and link up any @mentions and #tags

{exp:twitter_search:find q="from:erikreagan" rpp="1" lang="en" convert_url="yes" cache="yes" refresh="5" parse="inward"}
<p><span class="tweetl">&ldquo;</span>
   
{exp:er_tweet_me}{text}{/exp:er_tweet_me} <span class="tweetr">&rdquo;</span></p>
<
class="right"><a href="http://twitter.com/{twitter_username}">Follow me on twitter</a></p>
{/exp:twitter_search:find} 

Comments

Hmmm, sounds like what I could really use, but even when I use your exact sample, I’m getting no conversion. hmmm Am I missing a setting? I’m even using twitter_search, just like you.

Chris Kennedy on Nov 16th at 4:56 pm

Hey Chris. Any chance I can peek at a live version of your test? Ping me at erik(at)erikreagan{dot}com smile

Erik Reagan on Nov 16th at 4:58 pm

Never mind. I missed “parse=‘inward’”. Whoops. :D Works fantastic!

Chris Kennedy on Nov 16th at 5:02 pm

Fantastic! Glad you like it. The parse parameter is for when you have a plugin within a plugin and the inner plugin should be parsed on the results of the outer plugin, if that makes sense.

Erik Reagan on Nov 16th at 5:03 pm

Your Words of Wisdom

Remember me       Notify me of follow-up comments