在电报中检索站点信息的网站结构应该是什么? [英] what should be structure of website to retrieve site information in telegram?

查看:23
本文介绍了在电报中检索站点信息的网站结构应该是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有些网站在发送链接时在电报中检索信息,有些网站不喜欢这样:

Some website retrieved information in telegram when send link and some website doesn't like this:

所以我的问题是网站有什么结构可以在电报中加载信息吗?

So my question is there any structure for website to load information in telegram ?

推荐答案

Open Graph 协议 使任何网页都可以成为丰富的对象社交图谱,如 Facebook、Twitter、telegram、Skype 和 ...

The Open Graph protocol enables any web page to become a rich object in a social graph like Facebook, twitter, telegram, Skype and ...

例如,以下是 IMDB 上 The Rock 的 Open Graph 协议标记:

As an example, the following is the Open Graph protocol markup for The Rock on IMDB:

<html prefix="og: http://ogp.me/ns#">
<head>
<title>The Rock (1996)</title>
<meta property="og:title" content="The Rock" />
<meta property="og:type" content="video.movie" />
<meta property="og:url" content="http://www.imdb.com/title/tt0117500/" />
<meta property="og:image" content="http://ia.media-imdb.com/images/rock.jpg" />
...
</head>
...
</html>

这篇关于在电报中检索站点信息的网站结构应该是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆