This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Xtreme One | |
* | |
* @copyright Copyright 2010-2012, dynamicinternet GmbH | |
* @license see http://xtreme-theme.com/licence/ | |
* @link http://xtreme-theme.com | |
* @package xtreme-one | |
**/ | |
(function(b){b.fn.extend({xtremeTweets:function(c){var d={username:"",showAvatar:false,showUsername:false,showFollower:false,numberTweets:5,avatarSize:40};this.options=b.extend(d,c);var e=this;return this.each(function(){var f=b(this);var g="";b('<ul class="xtreme-tweets"><li class="preLoader">'+xtreme_last_tweets.l10n.loading+"</li></ul>").appendTo(f);b.ajax({type:"GET",url:"https://api.twitter.com/1/statuses/user_timeline.json?screen_name="+e.options.username+"&count="+e.options.numberTweets+"",dataType:"jsonp",error:function(i,j,h){f.find("ul.xtreme-tweets").append("<li>An error occurred "+h+"</li>");},success:function(h){b("li.preLoader").remove();b.each(h,function(l,n){var p=n.created_at;var j=n.text.replace(/((https?|s?ftp|ssh)\:\/\/[^\"\s\<\>]*[^.,;'\">\:\s\<\>\)\]\!])/g,function(i){ret |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Plugin Name: FrontlineSMS-Posts | |
* Plugin URI: https://gist.github.com/1617749 | |
* Description: Plugin to create WordPress post from Frontline SMS, based on a plugin by Kaka E. Prakasa ( https://github.com/pr4ka5a/wp-frontlinesms_posts/ ) | |
* Author: AxWax | |
* Version: 0.1 | |
* Author URI: http://axwax.de | |
*/ |
NewerOlder