Comments (5)
是什么问题?大陆没有FB的使用环境。
from bw.
关于OG tag 请参考以下网页:
https://developers.facebook.com/docs/sharing/webmasters/
相关问题说明:
https://blog.apao.idv.tw/post/1279/
from bw.
og tag似乎是一组的元数据,可以自行添加到模板文件里。具体需要修改的文件是 theme/xxxx/page.php
比如
<meta property="og:url" content="[[::canonicalURL]]" />
<meta property="og:type" content="article" />
<meta property="og:title" content="[[::pageTitle]]" />
大致这样。但og:tag中有两项无法实现:
- 指定一张图片作为og:image 在动态消息中显示高品质预览。 bW没有强制要求每篇文章指定一个图片作为高品质预览图的功能,所以这个定义不存在。
- og:description 即内容的简要说明。因为不是每篇文章都有summary分隔符,也没有为每篇文章编写概要的功能,所以这个定义也不存在。
综上,除非开发特定的插件做深入定制,否则不能很完美的契合FB的这个功能。
特别是,以上两项og:tag都需要为每篇日志存储额外的字段,要改动数据库结构的。
from bw.
十分感谢您能抽空回覆... 谢谢
from bw.
现行在bo-blog ver2.x 也有对应Facebook的困扰,正在想办法解决中。
https://picsee.co/
可以利用这个解决一半问题。
from bw.
Related Issues (20)
- HTTPS无法无整
- bo有支持支付的下载插件吗,类似wp的erphpdown
- 标题里有#,生成的文章id会打不开
- Bo-Blog ver2 对应 Facebook Pixle 問題
- 关于一些markdown语法看起来貌似没有的问题 HOT 1
- 请问如何跳转网址 HOT 1
- 官方https证书过期 HOT 1
- There is a xss vulnerability HOT 1
- tag问题 HOT 3
- 关于BW在虚拟主机上运行的问题!
- SQL Injection vuln
- 在cadyyserer允行上的问题 HOT 1
- 安装问题 HOT 4
- bo-blog 2.x 老版本在哪下载啊? HOT 1
- 首页如何设置只看部分文章? HOT 2
- 手机照片无法上传
- 一个老版bo-blog报错undefined function multi_str_replace() HOT 5
- 大佬,主题现在还有吗?
- apache下的伪静态规则不能用 提示No input file specified.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bw.