[LON-CAPA-cvs] cvs: loncom /interface lonrss.pm
www
lon-capa-cvs@mail.lon-capa.org
Thu, 13 Apr 2006 16:23:04 -0000
www Thu Apr 13 12:23:04 2006 EDT
Modified files:
/loncom/interface lonrss.pm
Log:
Looks like only Safari recognizes protocol "feed"
Index: loncom/interface/lonrss.pm
diff -u loncom/interface/lonrss.pm:1.13 loncom/interface/lonrss.pm:1.14
--- loncom/interface/lonrss.pm:1.13 Thu Mar 23 17:32:11 2006
+++ loncom/interface/lonrss.pm Thu Apr 13 12:23:03 2006
@@ -1,7 +1,7 @@
# The LearningOnline Network
# RSS Feeder
#
-# $Id: lonrss.pm,v 1.13 2006/03/23 22:32:11 albertel Exp $
+# $Id: lonrss.pm,v 1.14 2006/04/13 16:23:03 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -83,7 +83,7 @@
}
foreach my $feed (sort(keys(%feednames))) {
if ($feed!~/^error\:/) {
- my $feedurl='feed://'.$ENV{'HTTP_HOST'}.'/public/'.$udom.'/'.$uname.'/'.$feed.'.rss';
+ my $feedurl='http://'.$ENV{'HTTP_HOST'}.'/public/'.$udom.'/'.$uname.'/'.$feed.'.rss';
my $htmlurl='http://'.$ENV{'HTTP_HOST'}.'/'.$mode.'/'.$udom.'/'.$uname.'/'.$feed.'_rss.html';
$feeds.='<li>'.$feednames{$feed}.
'<br />'.($edit?&mt('Edit'):'HTML').': <a href="'.$htmlurl.'"><tt>'.$htmlurl.'</tt></a>'.