/    Sign up×
Community /Pin to ProfileBookmark

Request for help on rss script

Hi all,

I’m looking for a free scrolling rss news ticker that will let me specify the feed.

Unfortunately, I’m not a coder, just a semi-proficient copy/paster. (I’ve worked a lot with macros, .bat files, html, etc. so I can usually muddle thru other codes like javascript… usually ? )

I’ve located a [URL=http://www.mioplanet.com/rsc/newsticker_javascript.htm]freeware script from mioplanet.com[/URL] that looks promising (see below). It uses a .js file that you download. The webpage say’s it can import from [I]“RSS, XML or any other format”[/I] but I can’t seem to get it to work.

I tried replacing “myimportlib.php” with “http://www.npr.org/rss/rss.php?id=1001” and “http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml“, but neither would display.

I can’t get help from mioplanet because their forum and support email are currently down. Could someone here help me make this work?

If this is a non-functional script, perhaps someone knows of an alternative? (I did find one other script, but it costs $10.)

Thanks VERY MUCH for any and all assistance!

[CODE]<BODY>
<DIV ID=”TICKER” STYLE=”overflow:hidden; width:520px”>
<? include “myimportlib.php” ?>
</DIV>
<script src=”webticker_lib.js”></script>
</BODY>[/CODE]

to post a comment
JavaScript

3 Comments(s)

Copy linkTweet thisAlerts:
@CrazyMerlinMay 19.2006 — did you save your page as .php?

it has a php include there, so you need to either have your server parse the file, or rename the xtension to your page to .php

and then of course you need to make sure you have that inport library...whatever it is.
Copy linkTweet thisAlerts:
@coyotewrwauthorMay 19.2006 — Sorry, but maybe I should have mentioned before that the html file is for the Maxthon sidebar, thus is stored locally to the hard drive. (Maxthon is a freeware front-end that uses the IE engine.)

Perhaps there's a better solution than the above script? I'd like to include a newsfeed to the plugin I'm developing for Maxthon, which would be free to other users, so I'm reluctant to spend money on that other script I mentioned. I'd rather use a public one.

If there's anyone here who want's to write script for this, I'd be happy to include credits and a link to their site in the plugin readme.
Copy linkTweet thisAlerts:
@mstraubJun 22.2009 — I was able to figure out the coding for the myimportlib.php to pull from a text file that is saved on the web server. Hope this helps you out. I typed the code in notepad and saved as a php extension.

The following is the code I used:

$myFile = "ticker.txt";

$fh = fopen($myFile, 'r');

$theData= fread($fh, filesize($myFile));

fclose($fh);

echo $theData;
×

Success!

Help @coyotewrw spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...