RSS layout
Generates an RSS 2.0 or Atom feed.
String variables are:
- (Required) title of your feed- the base URL of your web site, including protocol (http://) - if $baseUrl is omitted Vork will try to create one from the SITE_DOMAIN constant set in the .config file.- (Required) description of your feed- alias for $description, you can use this instead of $description if your script is already sending out a meta description for the other layouts- (Required) The articles to syndicate should be sent in the $articles array, each article needs a key for:- the content of your feed- name of the person who created the content- the part of the URL that appears after the baseUrl, with MVC this is usually controllerName/actionName
The is very flexible and can accept any format of the PHP strtotime() function eg.:
Feed image
If you would like to add a logo image with your RSS feed you can add the image to the /webroot/images folder and then uncomment out the line at the top of the RSS layout:
Generating an Atom feed
The default feed format is RSS 2.0; to generate an Atom feed add to the query string of the page: feed=atom
So the page http://www.YourSite.com/rss would become http://www.YourSite.com/rss?feed=atom


