Drupal 7 站点之间的协作
我在 Drupal 7 中的一个系统上工作,该系统针对某个域(该域不起作用,但系统中的所有站点都具有相同的域)。我正在努力让不同的网站更加无缝地协同工作。
这个想法是两个站点应该能够通过共享它们的节点来协同工作,例如它们想要共享它们的日历事件。问题是这两个站点位于不同的数据库中,无法更改。两个站点应该能够随时开始或结束协作。一定程度的实时共享会很好。这样一个站点可以更新和事件,而另一个站点可以在很短的时间内知道。
我希望已经存在一个用于此目的的模块,但我一直找不到。这似乎是站点之间同步的情况。你知道这个问题的解决办法吗?
I working on a system in Drupal 7 that is targeted on a certain domain (the domain plays no role, but all sites in the system have the same domain). I'm trying to make different sites work together more seamlessly.
The idea is that two sites should be able to work together by sharing their nodes, e.g. they want to share their calendar events. The problem is that the two sites are in seperate databases, which can't be changed. Two sites should be able to start or end the collaboration at any time they want. Some degree of realtime sharing would be nice. So that one site can update and event and the other will know within a realitively short timeframe.
I was hoping that a module for this already existed, but I haven't been able to find one. It seems to be a case of syncronization between the sites. Do you know a solution to this problem?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以设置 feeds api 来创建 rss feed,其内容将导入到事件内容类型的节点中。然后,您为日历创建的视图将需要引用站点自己的事件类型以及包含从其他站点导入的事件的内容类型。为了最有效地做到这一点,您可能需要一个中央站点提取参与站点的所有相关 RSS 提要,并生成自己的 RSS 提要以供导出。
You could set up feeds api to create an rss feed, whose contents are imported into nodes of a content type for events. The views you create for the calendars then would need to reference a site's own event type plus the content type containing the events imported from the other site. To do this most efficiently, you'd probably want one central site pulling all the relevant rss feeds of the participating sites, and producing its own rss feed for export.
您考虑过域模块吗? http://drupal.org/project/domain。我已将其用于 5 个网站、某些网站上的共享内容、标准页脚内容、共享用户。
注意:我的部署是在 Drupal 6 中,不确定 D7 版本的性能如何。
Have you considered the Domains module? http://drupal.org/project/domain. I've used that for 5 sites, shared content on some sites, standard footer content, shared users.
Note: My deployment was in Drupal 6, not sure how the D7 version performs.