-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e012d30
commit 3dfd9e1
Showing
4 changed files
with
19 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
## Open Graph | ||
OG(Open Graph)协议是一种用于网页和社交媒体分享的元数据标记协议,最初由Facebook开发。它允许网站管理员指定在社交媒体上分享链接时显示的标题、描述、图片等内容,以确保分享链接的信息在各种社交媒体平台上都能被正确地显示和优化。 | ||
|
||
- 多语言支持: 如果你的网站支持多语言,可以为每种语言提供相应的OG元数据,以确保分享内容适应不同的受众。 | ||
- 动态内容: 你可以根据每个页面的内容动态生成OG元数据,以确保分享的内容与页面内容一致。 | ||
- 分享按钮和插件: 很多社交媒体平台提供了分享按钮和插件,可以轻松地将OG协议应用到网站上。这些插件可以自动识别和提取OG元数据。 | ||
- 推荐图片尺寸: 为了获得最佳效果,分享图片的建议尺寸通常为1200x630像素。 | ||
- 视频和音频: 除了网页链接,OG协议还支持分享视频和音频内容,可以使用og:video和og:audio标签来定义。 | ||
|
||
|
||
## 其他链接 | ||
[https://www.opengraph.xyz/](opengraph预览) | ||
[https://telegram.me/webpagebot](清除telegram的og缓存) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[The Graph入门教程:如何索引合约事件](https://learnblockchain.cn/article/2466) |