Permalink
Browse files

add more data to the yml file and the rss feed

  • Loading branch information...
1 parent 22e1ad4 commit 4ff90196e7aa0099e453c2353c073a253fef5e5c @szabgab committed Mar 6, 2011
Showing with 13 additions and 0 deletions.
  1. +2 −0 data/events.yml
  2. +11 −0 lib/PEG.pm
View
@@ -69,6 +69,8 @@
days: 2
title: Chemnitzer Linux-Tage
address: Chemnitz, Germany
+ url: http://chemnitzer.linux-tage.de/
+ wiki: events 2011 linuxtage chemnitz
- date: 2011.03.22
days: 3
title: UKUUG
View
@@ -120,6 +120,17 @@ sub _rss {
} else {
$text = "starting on $n->{date} for $n->{days} days";
}
+
+ $text .= "<br />";
+ if ($n->{url}) {
+ $text .= qq{ <a href="$n->{url}">$n->{title}</a><br /> };
+ }
+ if ($n->{wiki}) {
+ $n->{wiki} =~ s/ /_/g;
+ my $wiki = "http://perlfoundation.org/perl5/$n->{wiki}";
+ $text .= qq{ Presence is being organized on the <a href="$wiki">wiki</a><br /> };
+ }
+ $text .= " Location: $n->{address}<br />";
}
$rss->add_item(

0 comments on commit 4ff9019

Please sign in to comment.