View Full Version : Problem with DD's "Pausing RSS scroller"

07-17-2009, 10:37 AM
I stumbled across DD's "Pausing RSS scroller," and though that it might be nice to implement in a website i'm working on. After following all the steps, i got the script to run. Unfortunately, it seems as if the PHP file that reads the RSS and converts it into an Array is causing havoc on characters with accent marks in the Feed. When actually looking at the RSS (http://test.faimevi.eu/FAIMEVI/Blog_gl/rss.xml), the characters are fine. Any ideas on how i can fix the problem The code is the following:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>RSS Scroller</title>

<style type="text/css">

/*Example CSS for the two demo scrollers*/

width: 550px;
height: 15px;
border: none;
padding: 0px;
background-color: transparent;

.rssclass .rsstitle{
font-weight: none;

.rssclass .rssdate{
color: gray;
font-size: 85%;

.rssclass a{
color: rgb(0, 0, 128);
font-family: 'Trebuchet MS', sans-serif;
font-size: 13px;
font-stretch: normal;
font-style: normal;
font-variant: normal;
font-weight: 700;
letter-spacing: 0;
line-height: 15px;
margin-bottom: 0px;
margin-left: 0px;
margin-right: 0px;
margin-top: 0px;
opacity: 1.00;
padding-bottom: 0px;
padding-top: 0px;
text-align: left;
text-decoration: none;
text-indent: 0px;
text-transform: none;}


<script type="text/javascript" src="http://test.faimevi.eu/FAIMEVI/Scripts/rsspausescroller.js">

* RSS Pausing Scroller- Dynamic Drive (http://www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/dynamicindex17/rsspausescroller/ for source code and documentation




<script type="text/javascript">

//new rsspausescroller(RSS_id, divId, divClass, delay, linktarget, optionalswitch)
//1) RSS_id: "Array key of RSS feed in scrollerbridge.php script"
//2) divId: "ID of DIV to display ticker in. DIV is dynamically created"
//3) divClass: "Class name of this ticker, for styling purposes"
//4) delay: delay between message change, in milliseconds
//5) linktarget: Target of links inside RSS feed. Set to "" for current page.
//6) optionalswitch: "optional arbitrary" string to create additional logic for formatrssmessage() to use.
// By default, optionalswitch supports "date", or "date+description" to also show these parts of a RSS feed.

new rsspausescroller("faimevi", "rssscroller", "rssclass", 3000, "_new")


07-23-2009, 08:31 AM
Any ideas?