View Full Version : Resolved Would someone be able to
ajfmrf
08-25-2012, 04:18 PM
Redo somewhat the "RSS Display Boxes" script to update it and add more options including making the feed scroll from right to left ?
I would be willing to pay a fee for someone to do this if it is not too expensive-lol
post here or email me for more on what I am looking for.
This could lead to some other work along the same type(rss feeds):D
this time the posts increased by one but the last time I posted it did not.......
jscheuer1
08-25-2012, 05:28 PM
Something like:
http://jscheuer1.comli.com/rsscrawler/simple_ticker_demo.htm
ajfmrf
08-26-2012, 03:14 AM
Yes thats what I am talking about.
I just looked and did not see it in the rss/xml section.Is the script going to be available for use?
Thanks John
jscheuer1
08-26-2012, 06:07 AM
It's just something I made up on request last Nov-Dec. Here's everything you need (right click and 'Save As'):
4700
Unzip it to an empty folder. It's ready to go. If you look at the files, it's a lot like the other RSS scripts. You may or may not need help configuring it. Let me know.
For information on configuration, etc. see:
http://www.dynamicdrive.com/forums/showthread.php?65908-RSS-Ticker
Around post number 10 I start to explain the usage. Don't use the archive from that thread though, I've since made some minor improvements. That's (the improved one) the version I've attached to this post.
ajfmrf
08-27-2012, 07:02 AM
Yep, thats what I want to use.I am going to tweak the css though and try to make it a bit better looking for my page.
Great job once again John
ajfmrf
08-28-2012, 04:00 AM
Hi John,I want to show just the story headlines,no date,description or any other info.
Do I need to make that adjustment here?
function outputRSS_JS($url, $divid) {
global $rss;
$data = $rss->data;
$items = $data['items'];
if (count($items) > 0){
foreach ($items as $item) {
$rssdata[] = "{link:'" . slashit(html_entity_decode ($item->get_permalink()), $charset = 'UTF-8') . "', title:'" . slashit($item->get_title()) . "', description:'" . slashit($item->get_description()) . "', date:'" . slashit($item->get_date($rss->date_format)) . "'}";
}
echo "rsscrawler.rsscontent.$divid = [\n\t" . implode($rssdata, ",\n\t") . "\n];\n";
}
else if (count($items) <= 0) { echo "rsscrawler.rsscontent.$divid=\"Sorry, no items found in the RSS file\""; }
else {
echo "rsscrawler.rsscontent.$divid=\"Sorry: It's not possible to reach RSS file $url\"";
// All else fails
}
}
Which is in the simple_bridge.php file.
jscheuer1
08-28-2012, 05:09 AM
No real need to get under the hood so much as the entire feed will be fetched regardless of what use you make of it. So you may as well just use css. Add this to the head of the page after the styles for the rsscrawler:
<style type="text/css">
.rssdate, .rssdescription {display: none;}
</style>
Or add it's rule at the end of the existing stylesheet. You will of course want to make other adjustments to the styles at that point in order to format what remains.
ajfmrf
08-28-2012, 11:20 AM
Here is what I got so far.
http://www.web-user.info/rss/demo.htm
jscheuer1
08-28-2012, 02:26 PM
I'd suggest getting rid of the red and adding the green:
.rsstable td {
padding: 5px;
padding-top: 12px;
margin: 5px;
vertical-align: top;
background-color: bisque;
font: normal 13px verdana, arial, sans-serif;
white-space: normal;
border-right: 2px solid #fff;
}
.rsstable div {
width: 700px;
height: 25px;
font-size: 13px;
overflow: hidden;
}
That way, each item should fill as much or as little horizontal space as it needs and be centered vertically.
Oh, and here, I'd lose the width:
.marquee {
height: 24px;border:1px solid red;width:500px;
}
So that it can fill the same space as the scrolling feed will.
And for IE 7, add the highlighted:
.rsstitle {
font-weight: bold;
white-space: nowrap;
}
ajfmrf
08-28-2012, 11:08 PM
Thanks John,I have another question about this script but will start a new one because I put it 'resolved' too soon-lol
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.