邮件模板安装
bShare最新推出Email模板嵌入分享按钮的功能。查看邮件时,您便可以将喜欢的邮件内容直接分享到各大社交平台上。您只需几个简单的安装步骤,就能轻松地将bShare分享功能加入到您的邮件模板中:
打开邮件模板文件,将以下分享按钮代码复制到模板的相应位置。
<a title="分享到人人网" href="http://api.bshare.cn/share/renren?url=[URL]&title=[title]&content=[content]&pic=[picURL]&publisherUuid=[UUID]" target="_blank" style="text-decoration:none;"><img src="http://static.bshare.cn/frame/images/logos/mp/renren.gif"/></a>
<a title="分享到QQ空间" href="http://api.bshare.cn/share/qzone?url=[URL]&title=[title]&content=[content]&pic=[picURL]&publisherUuid=[UUID]" target="_blank" style="text-decoration:none;"><img src="http://static.bshare.cn/frame/images/logos/mp/qzone.gif"/></a>
<a title="分享到新浪微博" href="http://api.bshare.cn/share/sinaminiblog?url=[URL]&title=[title]&content=[content]&pic=[picURL]&publisherUuid=[UUID]" target="_blank" style="text-decoration:none;"><img src="http://static.bshare.cn/frame/images/logos/mp/sinaminiblog.gif"/></a>
<a title="更多平台..." href="http://www.bshare.cn/share?url=[URL]&title=[title]&content=[content]" target="_blank" style="text-decoration:none;"><img src="http://static.bshare.cn/frame/images/logos/mp/more.gif"/></a>
说明:
1. 代码中标绿的部分,[URL]是必填项,其余参数如[title]、[content]、[picURL]、[UUID]都是可选项。且以上参数必须是encode形式(在线Encode转换工具供参考:http://meyerweb.com/eric/tools/dencoder/)。
2. 对于其它的分享平台,您只需将代码中标红的部分替换成你所需要的平台代码即可。
3. 您也可以根据自己的实际需求,将代码中标蓝的部分替换成你所需要的bShare分享按钮的尺寸大小。例如:s4 (16x16), m2 (24x24), mp2 (32x32), l3 (50x50)。
将此模板保存到邮件模板中,以后发送邮件时即可出现bShare分享按纽。快试试看吧!