Feed-Me provides a set of interfaces to talk about streams of content.
Two interfaces drive the description of content.
First we have the Content
interface which describes discrete content as a collection of media.
interface Content {
public function getMedia(): FeedMe\Media\Collection;
public function setMedia(FeedMe\Media\Collection $collection): void;
}
Second we have the Media
interface which describes discrete media as a stream of bytes.
interface Media {
public function getData(): Streamable\Stream;
}
- Include
Engagement
Try three to use it at least three times!
- Feed-Me RSS
- Feed-Me Facebook
- Feed-Me Twitter