开发者

Expose a feed for ACL restricted content to crawl via feeds

开发者 https://www.devze.com 2023-01-29 12:58 出处:网络
Hey guys, I\'m trying to sync 2 sites on drupal, ideally the route to go would be to use feeds, however the content I\'m trying to sync is restricted to user开发者_运维百科s with a role they pay to ha

Hey guys, I'm trying to sync 2 sites on drupal, ideally the route to go would be to use feeds, however the content I'm trying to sync is restricted to user开发者_运维百科s with a role they pay to have.

That means the other site can't see the feed because it gets denied the content. How would I go about exposing this feed so feeds can crawl it on the other site?


I ended up writing a module that outputs as rss, I used an access callback to validate the host and a key I appended in the url of the feed. works pretty well.

0

精彩评论

暂无评论...
验证码 换一张
取 消