fixed post encoding
removed twitter-specific search keyword for compatibility
improved mimetype detecting on post