<channel> <title><?php echo htmlentities(S_SITE_TITLE); ?> RSS feed</title> <link><?php echo htmlentities($RD_baseURL . "/showRides.php"); ?> </link> <description>RSS feed for <?php echo htmlentities(S_SITE_TITLE); ?> </description> <?php $rides = new RDride(DBconnect(), $units); $result = $rides->queryRides($currentQuery->getWhereStatement(), $start, $num); while ($rides->parseNextRow($result)) { unset($tmpGetVars); $tmpGetVars["units"] = $units->unitsString(); $tmpGetVars["rideID"] = $rides->f_rideID; $itemLink = "{$RD_baseURL}/showRide.php" . encodeGet($tmpGetVars); $title = $rides->f_riderID_firstName . " - " . $rides->getDatePart() . ", " . number_format($units->metricToSetting($rides->f_distance), 2) . " " . $units->distanceString() . ", " . fixFieldForHtml($rides->f_locationID_location, false); echo "<item>\n"; echo " <title>" . htmlentities($title) . "</title>\n"; echo " <description>" . htmlentities($title . fixFieldForHtml("\n\n" . $rides->f_notes, true)) . "</description>\n"; echo " <link>" . htmlentities($itemLink) . "</link>\n"; echo "</item>\n"; } ?> </channel> </rss>
</TH> <TH class="tbLogHeader">Time</TH> <TH class="tbLogHeader">Avg<br><?php echo $units->velocityString(); ?> </TH> <TH class="tbLogHeader">Max<br><?php echo $units->velocityString(); ?> </TH> <TH class="tbLogHeader">Effort</TH> <!-- <TH class="tbLogHeader">T/Wind/Sky</TH> --> </TR> <?php $rides = new RDride(DBconnect(), $units); $result = $rides->queryRides($currentQuery->getWhereStatement(), $start, $num + 1); $maxSpd = 0; $totalTime = 0; $totalDist = 0; $numRides = 0; //Not really num rides, used to see if more data is available. while ($rides->parseNextRow($result)) { $numRides++; if ($numRides > $num) { break; } echo "<TR>"; echo "<TD class=\"tbLogBody\">" . "<a href=\"showRide.php"; $tgetvars = $getVars; $tgetvars["rideID"] = $rides->f_rideID; echo encodeGet($tgetvars) . "\">" . $rides->f_date . "</a> " . "<img width='10' height='16' src=\"" . getImgForTemp($rides->f_temperature, $units) . "\">" . "<img width='25' height='16' src=\"s" . $rides->f_sky . ".png\">" . "<img width='16' height='16' src=\"w" . $rides->f_wind . ".png\">" . "</TD>";