Results 1 to 8 of 8

Thread: Pausing RSS scroller

  1. #1
    Join Date
    Mar 2014
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Pausing RSS scroller

    Pausing RSS scroller

    http://www.dynamicdrive.com/dynamici...ller/index.htm

    I can not make this work, I don't know if I am doing something really silly but it just won't work
    and I am sure I have done everything right, help please!

    This is waht I am gettting http://boutiquecapital.com/index3.htm (feed on right hand side of page)

    Does it make a difference what PHP the server is running, I know they just upgraded to the latest?

    If anyone can help, many thanks x

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Yes the version can make a difference. Settings (permissions and/or allowed shortcuts) can also come into play. I don't have the latest version of PHP (I don't have any PHP really, just a sandbox for it), I use 5.3.0 there. That's more advanced and set more strictly than what this script was written for and I have had to make some changes to the script in order to get the script to work with it. In fact, I got rid of lastRSS.php in favor of simplepie.inc to use as the main feed interpreter. Try it out (right click and 'Save As'):

    rsspausescroller_pie.zip
    - John
    ________________________

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

  3. #3
    Join Date
    Mar 2014
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks so much John, but I still can not get it to work, am I overlooking something really silly, missing out one line or something, can you see if it is just something simple I have or haven't done? http://boutiquecapital.com/index3.htm
    Many thanks Sue

  4. #4
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    Hi Sue,

    Looking at your code, you have this as the JavaScript initialisation;
    Code:
    new rsspausescroller("News", "pscroller1", "rssclass", 3000, "_new")
    new rsspausescroller("http://mf.feeds.reuters.com/reuters/UKBankingFinancial", "pscroller2", "rssclass", 3000, "http://mf.feeds.reuters.com/reuters/UKBankingFinancial", "date+description")
    Unfortunately, if you read the instructions in the demo, you need to define your own feed in the "scrollerbridge.php" file (both in the DD demo and John's SimplePie demo).

    You should have a line in the "scrollerbridge.php" file that looks something like this;
    Code:
    "UKBankingFinancial" => "http://mf.feeds.reuters.com/reuters/UKBankingFinancial",
    And then the JavaScript in the web page would look something like this;
    Code:
    new rsspausescroller("UKBankingFinancial", "pscroller2", "rssclass", 3000, "_new", "date+description")
    Note the 1st parameter should be the name of the feed as defined in the "scrollerbridge.php" file (not the actual link) and the other highlighted parameter (the 5th) is how the feel link is opened; in a new page ("_new"), or in the same page ("")

    Hope that helps
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

  5. #5
    Join Date
    Mar 2014
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you Beverley, I can see where I went wrong, I have corrected these and it still will not work

  6. #6
    Join Date
    Mar 2014
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Beverley thank you, it is now working, there is one other thing, I don't know if this is possible, can we remove images etc from the feed even though the feed is coming from someone elses page? Many thanks Sue

  7. #7
    Join Date
    Mar 2014
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Don't worry I have worked that out also, I just used a little snippet of CSS code, thank you for all your help, Sue x

  8. #8
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    If you're using John's SimplePie version, there's a line in the "scrollerbridge.php" file that looks like this;
    Code:
    $allowtags = '<p><a><img>'; //tags to allow in items
    If you remove "<img>", no images will display from the feed.
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

Similar Threads

  1. Apply Memory Scroller to Pausing up-down message scroller
    By sadblue34 in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 06-28-2011, 11:13 AM
  2. Pausing up-down Scroller cut off in IE
    By Trishah in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 11-11-2009, 01:50 AM
  3. Pausing RSS scroller
    By aka Robbie in forum Looking for such a script or service
    Replies: 2
    Last Post: 10-31-2007, 09:15 AM
  4. Pausing up-down scroller
    By taydu in forum Dynamic Drive scripts help
    Replies: 3
    Last Post: 10-26-2007, 10:11 AM
  5. Help With Pausing RSS scroller
    By pr0gr4mm3r in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 11-02-2006, 09:21 PM

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
  •