Irish SEO,  Marketing & Webmaster Discussion

 
Make money - save the planet!

About RSS feed integration

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...


Go Back   Irish SEO, Marketing & Webmaster Discussion > Webmaster Help > Coding Help

Register Forum Rules FAQDonate Members List Calendar Search Today's Posts Mark Forums Read


Notices

Reply

 

LinkBack Thread Tools Display Modes
  #21 (permalink)  
Old 14-03-2008, 07:05 AM
Coder
 
Join Date: Jun 2007
Posts: 36
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
satimis will become famous soon enough
Default

Hi ghost,


Advice noted. Thanks


satimis
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #22 (permalink)  
Old 15-03-2008, 05:58 AM
Coder
 
Join Date: Jun 2007
Posts: 36
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
satimis will become famous soon enough
Default

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #23 (permalink)  
Old 15-03-2008, 09:14 AM
ghost's Avatar
Wannabe Geek
 
Join Date: Dec 2007
Location: Ennis
Posts: 167
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
ghost will become famous soon enough
Default

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

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">&nbsp;</td>

<td width="40%" valign="top">';
foreach ($rss_right as $url) ShowOneRSS($url);
echo '</td></tr></table>';
?>
Mick
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #24 (permalink)  
Old 15-03-2008, 10:42 AM
Coder
 
Join Date: Jun 2007
Posts: 36
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
satimis will become famous soon enough
Default

Quote:
Originally Posted by ghost View Post
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

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">&nbsp;</td>

<td width="40%" valign="top">';
foreach ($rss_right as $url) ShowOneRSS($url);
echo '</td></tr></table>';
?>
Mick
Hi Mick,


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>';
No difference after changing. The separating space remains the same.


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">&nbsp;</td>

<td width="40%" valign="top">';
foreach ($rss_right as $url) ShowOneRSS($url);
echo '</td></tr></table>';
On the marquee container all URLs were pushed to the left. Following warning took up the right
Code:
Warning
Invalid argument supplied for foreach() in /var/www/index.php on line 118.
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #25 (permalink)  
Old 15-03-2008, 11:20 AM
ghost's Avatar
Wannabe Geek
 
Join Date: Dec 2007
Location: Ennis
Posts: 167
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
ghost will become famous soon enough
Default

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #26 (permalink)  
Old 15-03-2008, 12:25 PM
Coder
 
Join Date: Jun 2007
Posts: 36
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
satimis will become famous soon enough
Default

Quote:
Originally Posted by ghost View Post
a cell padding and spacing of 10 wont give you much try 25
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:
also look at styling th ul
No style of ul defined;
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:
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
http://www.freshfolder.com/rss.php

got problem, removing it the problem gone.


Thanks


B.R.
satimis
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #27 (permalink)  
Old 15-03-2008, 12:43 PM
ghost's Avatar
Wannabe Geek
 
Join Date: Dec 2007
Location: Ennis
Posts: 167
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
ghost will become famous soon enough
Default listamatic for lists

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
feed, integration, rss

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads

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


Sponsored links

Paid On Results


All times are GMT +1. The time now is 01:40 PM.


Powered by: vBulletin Version 3.7.3, Copyright ©2000 - 2008, Jelsoft Enterprises Limited.
Hosted in Ireland by Blacknight - Test your ISP |Irish Hosting Directory| Armchair.ie|Logo by Eden Web Design|Avatars by Afterglow |Latest Blog Entries | VPS HostingAd Management by RedTyger

Search Engine Friendly URLs by vBSEO 3.2.0