martijn....@bigcat.unimaas.nl
unread,Jul 3, 2017, 9:31:31 PM7/3/17Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to wikipathw...@googlegroups.com
Author: AlexanderPico
Date: Tue Jul 4 05:18:26 2017
New Revision: 2007
Log:
added support for rss images; plus space
Modified:
trunk/wpi/extensions/RSS/rss.php
Modified: trunk/wpi/extensions/RSS/rss.php
==============================================================================
--- trunk/wpi/extensions/RSS/rss.php (original)
+++ trunk/wpi/extensions/RSS/rss.php Tue Jul 4 05:18:26 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 <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.' <a href="'.$href.'" title="'.$title.'">'.$title.'</a>';
if( $date ) {
$output.= " ($pubdate)";
}