Skip to content

Instantly share code, notes, and snippets.

@wjzhangq
Created November 22, 2009 05:13
Show Gist options
  • Save wjzhangq/240437 to your computer and use it in GitHub Desktop.
Save wjzhangq/240437 to your computer and use it in GitHub Desktop.
<?php
$str = <<<ETO
<p style="text-align: center;"><img src=[IMG:7gunhvb8hd5a8] alt="" /></p>
<p>&nbsp;&nbsp;&nbsp; 应用起源于需要&mdash;&mdash;就像日前我们及我们软件源同步介绍的拉手软件一样,无独有偶,老外的这项Bump应用也是非常的得意!它可以在两个iPhone用户之间迅速的交换两个Facebook等SNS类交友网站的个人信息。<br /><br />&nbsp;&nbsp;&nbsp;&nbsp; 对于一些SNS交友达人和宅男宅女来讲,这一应用无疑增加了某些幸福事件的发生机率,当你不再热衷于搭讪和眉来眼去时,可以让iPhone帮你完成你所有的心愿。<br /><br />&nbsp;&nbsp;&nbsp;&nbsp; 不仅如此,它还可以根据人名、添加日期和地图位置进行搜索,不得不佩服这些人的对脑能力。另有可靠消息,此软件目前已经在iTunes上发布,并且免费。跃跃欲试的用户们可不要再矜持了。</p>
<p style="text-align: center;"><img src=[IMG:7gunivbeq0f2d] alt="" /></p>
<p style="text-align: center;"><img src=[IMG:7gunjv8u4c02b] alt="" /></p>
<p style="text-align: center;"><img src=[IMG:7gunlvj5ab991] alt="" /></p>
ETO;
$post = preg_replace('/(\<img[^\>]+\>)/', '\1<spond></spond>', $str);
echo $post;
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment