главная|main page

состояние|status

блог|blog

файлы|files

программы|software

summaryrefslogtreecommitdiff
path: root/bb.sh
diff options
context:
space:
mode:
authorCarlos Fenollosa <carlos.fenollosa@gmail.com>2016-02-25 20:18:22 +0100
committerCarlos Fenollosa <carlos.fenollosa@gmail.com>2016-02-25 20:18:22 +0100
commit48f1fd465f6896ba2e3bfdc3fb14900f6544d5c6 (patch)
tree971f7aca43d4536ebe863854f028b8d79fd6d3fe /bb.sh
parent93d6877a387eb79814766fe2c0e75a0caa6e8a74 (diff)
parent10078f28cbda71f6bec544532382a149217dfb0e (diff)
Merge pull request #103 from platschi/master
remove topsy, their website now gets forwarded to apple support
Diffstat (limited to 'bb.sh')
-rwxr-xr-xbb.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/bb.sh b/bb.sh
index a72634f..d55e63c 100755
--- a/bb.sh
+++ b/bb.sh
@@ -52,8 +52,7 @@ global_variables() {
# Set this to false for a Twitter button with share count. The cookieless version
# is just a link.
global_twitter_cookieless="true"
- # Set to "topsy" which can search tweets way early in time, or "twitter"
- # for the default search page, where tweets more than a week old are hidden
+ # Default search page, where tweets more than a week old are hidden
global_twitter_search="twitter"
# Change this to your disqus username to use disqus for comments
@@ -343,8 +342,7 @@ twitter() {
id=$RANDOM
search_engine="https://twitter.com/search?q="
- [[ $global_twitter_search == topsy ]] && search_engine="http://topsy.com/trackback?url="
-
+
echo "<p id='twitter'><a href='http://twitter.com/intent/tweet?url=$1&text=$template_twitter_comment&via=$global_twitter_username'>$template_comments $template_twitter_button</a> "
echo "<a href='$search_engine""$1'><span id='count-$id'></span></a>&nbsp;</p>"
# Get current tweet count