郵件模板安裝
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.deathrowspeaks.net/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分享按紐??煸囋嚳窗?!