[轉]SMO

https://cola.workxplay.net/what-is-smo-metatag/ FaceBook : Open Graph tags https://developers.facebook.com/docs/sharing/webmasters#markup 最常見的 FB og /社群標籤,直接影響轉貼、分享於 FB 上的內容 小乾貨:有時修改了 og tag 內容,但是 FB 的分享畫面總是出現舊資料,這時可以試試 https://developers.facebook.com/tools/debug/ ,請 FB 重新抓取指定網址的資料。 ===== Twitter card info https://dev.twitter.com/cards/types/summary個人愛用,雖然近期使用人數大減,但他的好處和優點很難用文字說明 XD ,除了 card info 的標籤官網也指出:我們也吃 og 標籤 https://dev.twitter.com/cards/getting-started#opengraph ===== Google Plus / Google + https://developers.google.com/+/web/snippet/你以為 Google plus 沒人用,那就虧大了!Google 的 搜尋結果頁超愛這味的! 上面的網址內也有提供產生器,讓非工程師也能簡單使用。 ===== MicroData JSON-LD https://developers.google.com/schemas/formats/json-ld?hl=zh-TW這算是比較工程師層面的,把內容丟給你家工程師看吧 由入門的 MicroData (http://schema.org/) 延伸到較進階的 JSON-LD ==================== Google 提供的 https://developers.google.com/structured-data/testing-tool/ ,他能驗證、檢驗你設定的 tag 有沒有生效、正確 強大的 http://smo.knowem.com/ ,他能將所有常用、相關的 tag 分類列出,並且還能告訴你缺少了哪些 較可惜的 https://www.similarweb.com/website/,他可以取得目標網站的各種資料,關鍵字、連入/連出網站等,缺點就是想要更多資訊,就需要升級付費功能

2016-04-26 · 1 min · 72 words · Me

大量email

http://mailchimp.com/pricing/entrepreneur/ https://sendgrid.com/pricing

2016-04-26 · 1 min · 2 words · Me

turnkeylinux bitnami

https://www.turnkeylinux.org

2016-04-26 · 1 min · word · Me

php news records previous next

http://www.sitepoint.com/forums/showthread.php?645467-Retreiving-the-previous-and-next-row-through-PDO&p=4425809&viewfull=1#post4425809 SELECT i.images_id ,COALESCE( (SELECT images.images_id FROM images WHERE images.images_id < i.images_id ORDER BY images.images_id DESC LIMIT 1), (SELECT images.images_id FROM images ORDER BY images.images_id DESC LIMIT 1) ) AS previous_images_id ,COALESCE( (SELECT images.images_id FROM images WHERE images.images_id > i.images_id ORDER BY images.images_id ASC LIMIT 1), (SELECT images.images_id FROM images ORDER BY images.images_id ASC LIMIT 1) ) AS next_images_id FROM images i WHERE i.images_id = 1 \========== for record, not for page 1、 get all new\_id in array (PDO fetchAll(PDO::FETCH\_ASSOC) ) > $all\_news\_ids = $crud->sql("select news\_id from news"); 2、get $now\_news\_id key for array > $now\_news\_id\_key\_id = array\_search(array('news\_id'=>$now\_news\_id), $ar\_all\_news\_ids); 3、check $now\_news\_id\_key\_id first, if empty > $prive\_news\_id = empty($now\_news\_id\_key\_id)?"":get\_record\_column('news\_id', $all\_news\_ids, $now\_news\_id\_key\_id+1); > $next\_news\_id = empty($now\_news\_id\_key\_id)?"":get\_record\_column('news\_id', $all\_news\_ids, $now\_news\_id\_key\_id-1); > function get\_array\_column($val, $ar){ > return array\_key\_exists($val, $ar)?$ar\[$val\]:""; > } > function get\_record\_column($val, $ar, $rec\_arrow=0){ > return (isset($ar\[$rec\_arrow\]))?get\_array\_column($val, $ar\[$rec\_arrow\]) : ""; > }

2016-04-26 · 1 min · 138 words · Me

sikuli 自動化 自動化操作 圖像辨視

http://www.sikuli.org/

2016-04-22 · 1 min · word · Me