- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
BILLYFISHING (11-29-2011)
John
Billy
That image is only supposed to show while the feed is being loaded. Once the feed is obtained, the loading image disappears.
That's not happening because there is no folder on the server:
http://world-fishing-news.com/INTRO/1/images/
Once you make that folder. you should put the image in it. While loading, it should then look something like so (click for larger version):
Right now it only has the text:
And in some browsers the broken image token, with or without the alternate text 'loading', in others just the alternate text.Initializing RSS Feed
I'm concerned about those browsers that show the broken image token. Looks tacky.
If making the folder and putting the image in it is too much trouble for you, you should at least disable the loading image by adding the highlighted style:
Code:/* CSS for RSS crawler(s) */ .marquee { height: 54px; }#rssloading img { display: none; }.rsstable { border-collapse: collapse; } .rsstable td { padding: 5px; margin: 5px; vertical-align: top; background-color: #ffa; font: normal 13px verdana, arial, sans-serif; white-space: normal; border-right: 2px solid #fff; } .rsstable div { width: 600px; height: 45px; font-size: 13px; overflow: hidden; } .rsstitle { font-weight: bold; } .rssdate { color: #222; font-size: 10px; display: block; } /* End CSS for RSS crawler(s) */
Last edited by jscheuer1; 11-29-2011 at 03:03 PM. Reason: fix typo
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
No I will put the image in I thaught the image was not loading into this forum my mistake and will copy it now thank you.
Billy
Where can I change the below text not sure what file it is located in.
"Initializing RSS Feed"
To
"One moment just got a Bite"
Thank you for your help, this would have not been posible without you, when I see you the Drinks are on ME!
Billy
Open up the simple_crawler.js file in the js folder with a text only editor like NotePad. In it you will see:
Scroll the above code block until you see the highlighted text. Change that to whatever you like, save it and use that version.Code:// Simple Rss/Crawler Interface Script v1.0 (c)2011 John Davenport Scheuer // as first seen in http://www.dynamicdrive.com/forums/ // username: jscheuer1 - This Notice Must Remain for Legal Use rsscrawler.loading = 'images/loading.gif'; function rsscrawler(feedurl, divid, crawlerobj){ var bridgepath = './simplepie/simple_bridge.php', // For syndication, use absolute path. s = document.createElement('script'); this.displaydiv = document.getElementById(divid); this.displaydiv.style.visibility = 'visible'; this.displaydiv.innerHTML = '<table id="rssloading" style="height: 100%;"><tbody><tr><td valign="middle" style="height: 100%;"><div>Initializing RSS Feed<img src="' + rsscrawler.loading + '" alt="loading" title=""></div></td></tr></tbody></table>'; feedurl = encodeURIComponent(feedurl); s.type = 'text/javascript'; s.charset = 'utf-8'; s.src = bridgepath + '?feedurl=' + feedurl + '&divid=' + divid + '&scriptcount=' + rsscrawler.scriptcount + '&bustcache=' + new Date().getTime(); document.getElementsByTagName('head')[0].insertBefore(s, document.getElementsByTagName('script')[rsscrawler.scriptcount++]); this.init(divid, crawlerobj); } rsscrawler.scriptcount = 0; rsscrawler.rsscon . . .
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
John thank you for that!
I am still having problems I tried again to day to do a new one uknewsfeed and up loaded it to the website but nothing happened the link is
http://world-fishing-news.com/RSSWFN...knewsfeed.html
So knowing me I am not understannding something or doing somthing in correct it might just be me.
Billy
OK, where you have:
It needs to be:Code:<body> <script type="text/javascript"> new rsscrawler('http://www.google.com/alerts/feeds/03413850423032271991/16942127247299621922', 'uknewsfeed'); </script> </body>
Code:<body><div id="uknewsfeed" class="marquee"></div><script type="text/javascript"> new rsscrawler('http://www.google.com/alerts/feeds/03413850423032271991/16942127247299621922', 'uknewsfeed'); </script> </body>
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
Thanks John going to do that now!
John
Every time I added the code using Kompozer to edit the html when I went back after saving it, it had disappeared in the end I used notepad to edit the page and then it worked strange but now working.
http://world-fishing-news.com/RSSWFN...knewsfeed.html![]()
Bookmarks