From 44ecc6ffc42eca97f9ae71799ba9a866183d1120 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 27 Mar 2017 14:24:50 +0200 Subject: minor second --- git2rss | 41 ++++++++++++++++++++++++++++++++++++++--- 1 file changed, 38 insertions(+), 3 deletions(-) (limited to 'git2rss') diff --git a/git2rss b/git2rss index a494ea1..ab6be66 100755 --- a/git2rss +++ b/git2rss @@ -1,6 +1,12 @@ #!/usr/bin/env php title("Remi's RPM git repostiories") + ->description('Change') + ->url('https://git.remirepo.net/cgit') + ->language('en-US') + ->copyright('Copyright 2005-2017, Remi Collet') + ->pubDate(time()) + ->lastBuildDate(time()) + ->ttl(60) + ->appendTo($feed); + + +$item = new Item(); +$item + ->title($msg) + ->description($msg) + ->url('https://git.remirepo.net/cgit') + ->author($author) + ->pubDate($time) + ->guid("${repo}_${hash}", true) + ->appendTo($channel); +echo $feed; // or echo $feed->render(); -- cgit