Trackback 实现:rel="trackback" 与 RDF

发布于 2024-07-27 15:53:00 字数 441 浏览 2 评论 0 原文

我希望我的 Rails 应用程序能够解析外部网站以获取引用 URL,但我不确定是否应该只查找

<a href="url" rel="trackback">Text</a>

或遵循 Sixapart 描述的 RDF 规范。 或两者。 Wordpress 和 Techcrunch 都只提供 rel="trackback" 链接,他们应该知道。 另一方面,也许某些博客只提供 RDF,而我缺少链接。

你怎么认为?

是否有任何现成的 gem/插件(在谷歌上搜索引用真的很难......)

谢谢。

更新

我现在首先尝试查找 RDF 信息。 如果我没有找到任何东西,我会寻找链接标签。 我指的是 Sixapart 规范。 感谢您的帮助。

I want my Rails App to parse external websites for a trackback URL but I'm not really sure if I should just look for a

<a href="url" rel="trackback">Text</a>

or follow the RDF specifications described by sixapart. Or both. Wordpress and Techcrunch both only offer a rel="trackback" link and they should know. On the other hand maybe some blog only provides RDF and I'm missing the link.

What do you think?

And is there any ready gem/plugin out there (it's really hard to google for trackback...)

Thanks.

UPDATE

I'm now first trying to find the RDF information. If I do not find anything, I look for the link tag. I was refering to the sixapart specifications. Thanks for your help.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

柏拉图鍀咏恒 2024-08-03 15:53:00

我现在正在检查两者(首先是 RDF,如果不成功则进行链接)。 我指的是 Sixapart 规范。 感谢您的帮助!

I'm checking for both now (first RDF, then link if not successfull). I was refering to the sixapart specifications. Thanks for your help!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文