echo '<table class="rss_section" cellpadding="5" cellspacing="5" border="0"><tr><td width="40%" valign="top">';
foreach ($rss_left as $url) ShowOneRSS($url);
echo '</td>
<td width="20%" valign="top"> </td>
<td width="40%" valign="top">';
foreach ($rss_right as $url) ShowOneRSS($url);
echo '</td></tr></table>';
?>
Hi Mick,The generated news is displayed in a table so you could play around with that
example on this line
echo '<table class="rss_section" cellpadding="5" border="0">
could add cellspacing="5" then increase them to 10
echo '<table class="rss_section" cellpadding="10" cellspacing="10" border="0">
You are limited on that as it will increase all round .
or you could stick in an other cell , space it , or plant something in it
MickCode:echo '<table class="rss_section" cellpadding="5" cellspacing="5" border="0"><tr><td width="40%" valign="top">'; foreach ($rss_left as $url) ShowOneRSS($url); echo '</td> <td width="20%" valign="top"> </td> <td width="40%" valign="top">'; foreach ($rss_right as $url) ShowOneRSS($url); echo '</td></tr></table>'; ?>
echo '<table class="rss_section" cellpadding="10" cellspacing="10" border="0"><tr><td width="50%" valign="top">';
foreach ($rss_left as $url) ShowOneRSS($url);
echo '</td></tr></table>';
echo '<table class="rss_section" cellpadding="5" cellspacing="5" border="0"><tr><td width="40%" valign="top">';
foreach ($rss_left as $url) ShowOneRSS($url);
echo '</td>
<td width="20%" valign="top"> </td>
<td width="40%" valign="top">';
foreach ($rss_right as $url) ShowOneRSS($url);
echo '</td></tr></table>';
Warning
Invalid argument supplied for foreach() in /var/www/index.php on line 118.
foreach ($rss_right as $url) ShowOneRSS($url);
No effect, space remains the same. Increasing both padding and spacing to 50 the width of each URL is reduced leaving large space on both sides but the space between RSS feed sites is still the same. It seems increasing spacing having no effect.a cell padding and spacing of 10 wont give you much try 25
No style of ul defined;also look at styling th ul
echo "<ul>\n";
foreach ($rs['items'] as $item) {
echo '<li><a href="'.$item['link'].'" title="'.$item['description'].'">'.$item['title'].'</a></li>';
}
if ($rs['items_count'] <= 0) { echo "<li>Sorry, no items found in the RSS file :-(</li>"; }
echo "</ul>\n";
http://www.freshfolder.com/rss.phpI think the error is caused by one of the feeds could be down or gone.
I know these two are OK
RTÉ Sport - GAA News
Independent.ie - Hurling RSS Feed
try replacing the others with feeds you know are reliable.
Multiple feeds on a page will slow it down