—Content-based service, which dynamically routes and delivers events from sources to interested users, is extremely important to network services. However, existing content-based protocols for static networks will incur unaffordable maintenance costs if they are applied directly to the highly mobile environment that is featured in disruption-tolerant networks (DTNs). In this paper, we propose a unique publish/subscribe scheme that utilizes the long-term social network properties, which are observed in many DTNs, to facilitate content-based services in DTNs. We distributively construct communities based on the neighboring relationships from nodes’ encounter histories. Nodes within a community directly communicate when events and interests match since they have strong intra-community relationships. Brokers are deployed to bridge the communities, and they adopt a locally weighted pub/sub scheme which combines the structural importance with subscription interests, to decide what events...