Not signed in (Sign In)

SkillShare - A place to discuss Web Standards and Web Design topics

Categories

Vanilla 1.1.9 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorlprintz
    • CommentTimeJun 3rd 2008
     permalink
    Does anybody know where I can find the code to replicate the news teaser on MSN?

    Specifically the main one on their homepage that filters through on its own or the user can click 'next,' 'previous'

    Thanks so much!
    • CommentAuthorsoulID
    • CommentTimeJun 3rd 2008
     permalink
    Are you wanting this in a particular language? Google has a free news reader you can use. It gets refreshed only once or a couple times a day, but you can choose to display certain labels only (e.g. if you want only RSS items you labeled "politics" or whatever). If you have a google account, you can go in and just create it. It's a FeedControl. Your javascript code will look something like this:

    <script type="text/javascript">

    google.load("feeds", "1");

    function initialize() {

    var feedControl = new google.feeds.FeedControl();
    feedControl.addFeed("http://URLtoRSSHere", "");
    feedControl.setNumEntries(3); //controls how many items to display
    feedControl.draw(document.getElementById("feedControl"));
    }
    google.setOnLoadCallback(initialize);

    </script>
    • CommentAuthorlprintz
    • CommentTimeJun 4th 2008
     permalink
    Actually, I needed to use this functionality and manually input the different slides. Preferably CSS or javascript would be OK.
Add your comments
    Username Password
  • Format comments as (Help)