从一组博客中搜索帖子
我想知道是否有一种方法可以让我从选定数量的博客中搜索内容。
例如:
假设我有三个博客
Blog1(有 5 个帖子) 博客2(有 6 个帖子) Blog3(有 1 个帖子)
现在我想实现一个搜索,在这 12 个(5+6+1)个帖子中进行搜索。
我认为我需要为此使用某种 API,但我不知道是否有一个 API 可以让我做到这一点。
仅供参考,博客可以是博主博客或 WordPress 博客或任何其他类型的博客。
任何人都可以在这方面帮助我吗?
I was wondering if there is a way for me to search contents from a selected number of blogs.
For Example:
Assume I have three blogs
Blog1 (has 5 posts)
Blog2 (has 6 posts)
Blog3 (has 1 post)
now I want to implement a search that would search within these 12 (5+6+1) posts.
I think I need to use some kind of API for this but I dont know if there is one that would allow me to do this.
FYI the blog can be a blogger blog or a wordpress blog or any other kind of blog.
CAN ANYONE HELP ME OUT IN THIS ASPECT.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
有很多方法可以做到这一点。大多数博客都有 RSS 提要,因此您可以获取并解析它们。有些则不然,您必须抓取它们。
由于您的描述不够具体,因此需要简单的解决方案,请查看 Google 自定义搜索。它可以让您将这三个或更多博客添加到您的自定义搜索中,并为您完成所有后端工作。
当然,如果您有更多信息,那么我们可能可以为您提供更多帮助。
There are so many ways to do this. Most blogs have RSS feeds so you could fetch those and parse them. Some don't and you'll have to crawl them.
For a simple solution since you weren't very specific, check out Google Custom Search. It'll let you add those three or more blogs to your custom search and does all the backend work for you.
Of course, if you have more information then we could probably help you out a bit more.