r2006 - branches/milestone_43.x/wpi/extensions/RSS

1 view
Skip to first unread message

martijn....@bigcat.unimaas.nl

unread,
Jul 3, 2017, 9:31:08 PM7/3/17
to wikipathw...@googlegroups.com
Author: AlexanderPico
Date: Tue Jul 4 05:18:03 2017
New Revision: 2006

Log:
added support for rss images; plus space

Modified:
branches/milestone_43.x/wpi/extensions/RSS/rss.php

Modified: branches/milestone_43.x/wpi/extensions/RSS/rss.php
==============================================================================
--- branches/milestone_43.x/wpi/extensions/RSS/rss.php (original)
+++ branches/milestone_43.x/wpi/extensions/RSS/rss.php Tue Jul 4 05:18:03 2017
@@ -180,7 +180,7 @@
$img = "<img src='$imgurl'/>";
}
if ( $display ) {
- $output.= "<dt>$img<a href='$href'><b>$title</b></a></dt>";
+ $output.= "<dt>$img&nbsp;&nbsp;<a href='$href'><b>$title</b></a></dt>";
if ( $date ) $output.= " ($pubdate)";
if ( $text ) $output.= "<dd>$text <b>[<a href='$href'>?</a>]</b></dd>";
}
@@ -220,7 +220,7 @@
}
if ( $d_title && !in_array( $title, $displayed ) ) {
// Add date to ouput if specified
- $output.= '<li>'.$img.'<a href="'.$href.'" title="'.$title.'">'.$title.'</a>';
+ $output.= '<li>'.$img.'&nbsp;&nbsp;<a href="'.$href.'" title="'.$title.'">'.$title.'</a>';
if( $date ) {
$output.= " ($pubdate)";
}
Reply all
Reply to author
Forward
0 new messages