Can you suggest a way to make the http: links in the Twitter feed active / clickable and the @links leading to the user page on Twitter? Thanks.

CommentFileSizeAuthor
#4 addlinks-749630-4.patch2.14 KBthe_g_bomb

Comments

jjeff’s picture

I believe that the regex code for this type of thing is contained in the filter hooks of the Twitter module. If someone wants to roll a patch for this, I'd be happy to consider committing it.

joecanti’s picture

The twitter module + views provides a really great twitter interface - you can customize it hugely and have all the links active + display 'follow me' links, number of followers, profile pics etc. One thing to remember with the twitter module is to not put your user and pass into the main twitter options under site config, but add an account to a user, then it works great if you remove the user id argument from the tweets view.

Hope this helps, Joe

typehost’s picture

I am using activity stream for sidebar Twitter posts but would like to add the filter code to template.php so the feed works as it does now in 960robots but with active html links, @--- & #hashtag links going to twitter.com.

the_g_bomb’s picture

Status: Active » Needs review
StatusFileSize
new2.14 KB

Used the regex in twitter as suggested. How does this seem? or was the idea to use the twitter module to provide the filtering?

avpaderno’s picture

Version: 6.x-2.1 » 6.x-2.x-dev
Issue summary: View changes
Status: Needs review » Closed (outdated)

I am closing this issue, since it's for a Drupal version no longer supported.