搜索组合 - 标准化格式?

发布于 2024-08-16 07:24:05 字数 158 浏览 0 评论 0原文

在考虑如何最好地组合站点上不同资源(例如博客软件、论坛软件、页面等)的搜索结果时,我认为使用标准化格式(可能是 XML)来返回搜索结果会非常简洁。 。这可能包括标题、摘录和更多元信息,如时间、作者等……

听说过这样的事情还是我必须自己编程? ;)

当然,也欢迎其他想法!

While thinking about how to best combine search results from different resources on a site (e.g. blog software, forum software, pages etc.) it appeared to me that it would be pretty neat to have a standardized format (possibly XML) to return search results. This could consist of title, excerpt and more meta information like time, author etc...

Ever heard of such a thing or do I have to program it myself? ;)

Other ideas are, of course, welcome, too!

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

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

发布评论

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

评论(1

绝不服输 2024-08-23 07:24:05

对我来说听起来像 RSS 风格...

标准 RSS 标签包括:标题描述链接。您可以添加其他内容,例如类别pubDateGUID作者等。

此格式可用于发送搜索条件和检索搜索结果。只需处理传入的 XML,并形成 XML 文档并发回即可。

Sounds to me like RSS-ish...

Standard RSS tags include: Title, Description, and Link. You can add others like Category, pubDate, GUID, Author and more.

This format can be used for sending search criteria, and for retrieving search results. Just handle the incoming XML, and form an XML document to send back.

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