Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 31

Thread: RSS Ticker

  1. #21
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    29,023
    Thanks
    44
    Thanked 3,209 Times in 3,171 Posts
    Blog Entries
    12

    Default

    You have to make the folder and upload the image to it:

    Quote Originally Posted by jscheuer1 View Post
    Make a folder:

    world-fishing-news.com/RSSWFNews/rsscrawler/rsscrawler/images

    Put this image in it:

    Right click on the image and 'save as'. It should be loading.gif

    Make the folder as described above and put the image in it.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  2. The Following User Says Thank You to jscheuer1 For This Useful Post:

    BILLYFISHING (11-29-2011)

  3. #22
    Join Date
    Nov 2011
    Posts
    19
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    John



    Billy

  4. #23
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    29,023
    Thanks
    44
    Thanked 3,209 Times in 3,171 Posts
    Blog Entries
    12

    Default

    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):

    Attachment 4235

    Right now it only has the text:

    Initializing RSS Feed
    And in some browsers the broken image token, with or without the alternate text 'loading', in others just the alternate text.

    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

  5. #24
    Join Date
    Nov 2011
    Posts
    19
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    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

  6. #25
    Join Date
    Nov 2011
    Posts
    19
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    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

  7. #26
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    29,023
    Thanks
    44
    Thanked 3,209 Times in 3,171 Posts
    Blog Entries
    12

    Default

    Open up the simple_crawler.js file in the js folder with a text only editor like NotePad. In it you will see:

    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 . . .
    Scroll the above code block until you see the highlighted text. Change that to whatever you like, save it and use that version.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  8. #27
    Join Date
    Nov 2011
    Posts
    19
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    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

  9. #28
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    29,023
    Thanks
    44
    Thanked 3,209 Times in 3,171 Posts
    Blog Entries
    12

    Default

    OK, where you have:

    Code:
    <body>
    <script type="text/javascript">
    new rsscrawler('http://www.google.com/alerts/feeds/03413850423032271991/16942127247299621922', 'uknewsfeed');
    </script>
    </body>
    It needs to be:

    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

  10. #29
    Join Date
    Nov 2011
    Posts
    19
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Thanks John going to do that now!

  11. #30
    Join Date
    Nov 2011
    Posts
    19
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •