Ignore:
Timestamp:
2015-01-26T07:50:54Z (10 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
12fe5ea
Parents:
dfaa46d
git-author:
William Pettersson <william.pettersson@…> (11-01-15 05:08:37)
git-committer:
dequis <dx@…> (26-01-15 07:50:54)
Message:

Twitter format strings

Allow users to specify how tweets should be displayed

3 new settings are available to set how tweets are displayed:

  • twitter_format_string for normal tweets
  • retweet_format_string for retweets
  • reply_format_string for replies

For full documentation see the help files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/twitter/twitter.c

    rdfaa46d rce402b2  
    539539
    540540        s = set_add(&acc->set, "strip_newlines", "false", set_eval_bool, acc);
     541
     542        s = set_add(&acc->set, "format_string", "\002[\002%i\002]\002 %c", NULL, acc);
     543        s = set_add(&acc->set, "retweet_format_string", "\002[\002%i\002]\002 RT @%a: %c", NULL, acc);
     544        s = set_add(&acc->set, "reply_format_string", "\002[\002%i->%r\002]\002 %c", NULL, acc);
    541545       
    542546        s = set_add(&acc->set, "_last_tweet", "0", NULL, acc);
Note: See TracChangeset for help on using the changeset viewer.