Skip to content

kdambekalns/RobertLemke.Rss

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RSS / Atom Feed Generator

This is yet another RSS / Atom feed generator for PHP 5.5 and later. It works great in combination with Flow but should also be fine as a standalone library.

This package is composer enabled.

Example

<?php

$feed = new Feed();

$channel = new Channel();
$channel
  ->setTitle('All about TYPO3 Flow')
  ->setDescription($channelDescription)
  ->setFeedUri($feedUri)
  ->setWebsiteUri($websiteUri)
  ->setLanguage('en-US');

$item = new Item();
$item
  ->setTitle('My first blog post')
  ->setGuid($someUniqueIdentifier)
  ->setPublicationDate(new \DateTime())
  ->setContent($blogPostContent);

$channel->addItem($item);
$feed->addChannel($channel);

echo $feed;

About

A multi purpose library for generating RSS feeds. Pretty opinionated, not a lot to configure (yet).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages

  • PHP 100.0%