Ozh’ Tweet Archiver is a WordPress plugin that can archive your tweets on your own blog; it simply creates a new post for each tweet. Additionally, it offers converting hashtags to WordPress tags, and several other features. Nevertheless, one feature, I thought might be interesting, is to process the links on tweets and show them as a Facebook feed. Recently, I modified the code and it worked very well on my blog: Gadelkareem Tweets.
– All we need is to modify the “wp-content/plugins/ozh-tweet-archiver/inc/import.php” file as following:
This is very important performance tuning for any web server more information here
#adduser www first http://gadelkareem.com/2012/02/26/adding-new-users-and-admins-to-linux-server/ ulimit -n unlimited - www #check default number of concurrently open file descriptors cat /proc/sys/fs/file-max #set the number to high value depending on server config echo '1773914' > /proc/sys/fs/file-max echo 'fs.file-max=1773914' >> /etc/sysctl.conf /sbin/sysctl -w fs.file-max=1773914
– disable SELINUX
vi /etc/selinux/config #change SELINUX=disabled
– reboot or run
– add iptables rules
you can exclude an email address or even a host that is spamming you using the access file located in your etc directory, the bad news is that it does not support regex or even wildcards.