Show
Ignore:
Timestamp:
01/11/05 23:00:06 (8 years ago)
Author:
benoitg
Message:

2004-01-11 Benoit Gr�goire <bock@…>

  • INSTALL: Mandate PHP5
  • wifidog/hotspot_status.php: Allow export of the list as a RSS feed
  • wifidog/classes/RssPressReview.inc: Make it truly functionnal.
  • wifidog/portal/index.php: Support multiple RSS feeds. The system will automatically pick the best 5 entries from all the feeds. It will compensate for disparate publication intervals. An entry from a feed that does not publish often will live longer than an entry from a feed that publishes very often. If a feed doesn't have any entry that makes the cut, it will not appear at all.
  • wifidog/templates/hotspot_status.html: Add link to the RSS version.
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/wifidog-auth/wifidog/hotspot_status.php

    r314 r315  
    6767    $title = $channel->appendChild($title); 
    6868 
    69     $textnode = $xmldoc->createTextNode(utf8_encode(_("New ").HOTSPOT_NETWORK_NAME. _("Hotspots"))); 
     69    $textnode = $xmldoc->createTextNode(utf8_encode(_("Newest")." ".HOTSPOT_NETWORK_NAME. " ". _("Hotspots"))); 
    7070    $title->appendChild($textnode); 
    7171 
     
    292292     } 
    293293     $smarty->assign("nodes_count", count($node_results)); 
     294     $smarty->assign("rss_format_url", 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF'].'?format=RSS'); 
    294295     echo $style->GetHeader(HOTSPOT_NETWORK_NAME.' hotspot status'); 
    295296     $smarty->display("hotspot_status.html");