This is a discussion on About RSS feed integration within the Coding Help forums, part of the Webmaster Help category; Hi ghost, Advice noted. Thanks satimis...
| |||||||
| Register | Forum Rules | FAQ | Donate | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi ghost, Could you please shed me some light on; 1) RSS_1col I need to increase the blank space between each RSS feed website, not looking as one being stacked on another. 2) RSS_2col The RSS feed news are running in 2 columns. The news urls on left colums are too close to the news urls on the right column. I need to keep them a little bid apart. I have been trying a whole day. CSS can't help me out. TIA B.R. satimis |
| ||||
| Quote:
I tried both versions on rss_1col only, but failed Version_1 Code: 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>'; Version_2 Code: 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>'; Code: Warning Invalid argument supplied for foreach() in /var/www/index.php on line 118. Code: foreach ($rss_right as $url) ShowOneRSS($url); After trying 2 days, it comes to my notice that the website takes prolonged time to refresh. Also takes prolonged time to start. I'm testing it on the server via domain.com. I don't know why? After clicking domain.com on browser (firefox) it just hangs there for a while before popup the webpage. Would it be connecting all news URLs taking some times? B.R. satimis |
| |||||
| a cell padding and spacing of 10 wont give you much try 25 also look at styling the ul I 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 Last edited by ghost; 15-03-2008 at 12:24 PM. Reason: spelling |
| ||||
| 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. Quote:
Code: 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";
Quote:
got problem, removing it the problem gone. Thanks B.R. satimis |
| |||||
| echo '<table class="rss_section" originaly I had the table styled with .rss_section so you could create a style and include .rss_section ul .rss_section li check this site for tutorials on lists Listamatic: Seth's horizontal list |
| Tags |
| feed, integration, rss |
| Thread Tools | |
| Display Modes | |
|
|
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| rss feed or newsletter | Busarus | Webmaster Discussion | 4 | 02-03-2007 10:29 PM |
| Need RSS Feed Help | Gavin | Blogs & Blogging | 4 | 12-02-2007 02:31 PM |
| 1 Bag of RSS feed: 100% RDA of internet. Warning: may contain nut traces. | gary.b | General Chat | 15 | 29-01-2007 11:03 PM |
| incorporating phpadsnew into an rss feed | Busarus | Coding Help | 10 | 23-10-2006 06:04 PM |
| rss feed | louie | General Chat | 0 | 29-04-2006 08:18 PM |
| ||||||||
| | ![]() | |||||||