My own topics
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:
I recently installed Disqus plugin for WordPress; however, I have been receiving this message “unable to connect to the disqus api servers.” By looking into the source code, it looks like curl is the problem! more specifically the _dsq_curl_urlopen() function, but I did not investigate this error further. As fortunately, we can easily switch to the alternative function _dsq_fsockopen_urlopen().
mkdir nginx cd nginx wget http://nginx.org/download/nginx-1.0.12.tar.gz tar xfz nginx-1.0.12.tar.gz cd nginx-1.0.12 #Change server string vi src/http/ngx_http_header_filter_module.c #change static char ngx_http_server_string = "Server: example.com" CRLF; static char ngx_http_server_full_string = "Server: example.com" CRLF; #change vi src/http/ngx_http_special_response.c # replace '"<hr /><center>nginx</center>" CRLF' and '"<hr /><center>" NGINX_VER "</center>" CRLF' "<hr /><center>example.com</center>" CRLF #create tmp dirs mkdir /server/tmp /server/tmp/nginx /server/tmp/nginx/client /server/tmp/nginx/fcgi /server/tmp/nginx/proxy chmod -R 777 /server/tmp