HOWTO News Scroller

A place to ask questions and get help. Be the first on your block to post ...

HOWTO News Scroller

Postby saltybeagle » Thu Jul 21, 2005 12:31 pm

The external UNL homepage and UNL Today have scrolling headlines that appear within the region for the secondary nav line.

This feature can be used on any UNL Template page with navigation (Liquid, Splash, Fixed etc).

The first step is to create a RSS Feed for your site. RSS stands for Really Simple Syndication and it provides a mechanism to publish/retrieve limited content for a website.

Here's a sample RSS document from which you can base yours:
http://ucommxsrv1.unl.edu/rssfeeds/unlinthenewsrss.xml

Within your pages, you can let browsers know you have a RSS feed by adding a line like the following to your <head>.
Code: Select all
<link>



After you have created a feed add the following javascript variables to your page:
Code: Select all
<script>
<!--//--><CDATA></a><!]]>
</script>


Substituting the title of your RSS feed and the URL of the xml file.
Note: Your RSS feed needs to be on the same server as the page you are adding the news scroller to.

Post here if you have problems or questions.
Last edited by saltybeagle on Mon Jul 24, 2006 8:05 am, edited 2 times in total.
Brett Bieber
Image
saltybeagle
 
Posts: 376
Joined: Fri Jan 16, 2004 3:10 pm
Location: 321 Admin

Postby bchavet » Thu Sep 15, 2005 1:40 pm

The given javascript code doesn't validate because of the direct use of '<' and '>'. But, '&lt;' and '&gt;' get parsed literally, and the link is not parsed as a link. Any ideas on how to get around this?
bchavet
 
Posts: 1
Joined: Wed Apr 27, 2005 7:09 pm


Return to Help & Assistance

Who is online

Users browsing this forum: No registered users and 1 guest