• Welcome to Computer Association of SIUE - Forums.
 

New RSS Feed

Started by R. Andrew Lamonica, 2005-08-03T12:01:43-05:00 (Wednesday)

Previous topic - Next topic

R. Andrew Lamonica

As you can see, I have added the new CS Department RSS feed to the headlines section of this page. If any CAOS officer disapproves of this change then let me know and I will take it down ASAP.

For those of you who are interested, the RSS 2.0 feed URL is:
http://www.cs.siue.edu/news/rss.aspx

The new news page is:
http://www.cs.siue.edu/news/

R. Andrew Lamonica
SIUE Dept. of Computer Science

Peter Motyka

SIUE CS Alumni 2002
Grad Student, Regis University
Senior Engineer, Ping Identity
http://motyka.org

Ross Mead

Yeah, very cool!  Nice job! :-)

Stiffler

That is really nice. :) Although, I think CS News should be above Slashdot and Wired news. Hmm ... Or maybe even above Recent forum topics? Just a thought.
Retired webmaster of CAOS.

Ross Mead

Yeah, we discussed putting the CS News above Slashdot and Wired, but it doesn't get updated nearly as much as either of those pages (though we hope that someday that might change! :-) ).  This could be a simple poll question:

What do you think about the CS News feed?
- I like it.
- I don't like it.
- I'd like it if it were updated more.
- It needs to be above Slashdot and Wired news.
- It should stay where it's at.
- There's a CS News webpage? :-P

Ehh, just a thought...  what do you guys think?

R. Andrew Lamonica

I have replaced the old XOOPS RSS headlines template with one of my own devising.  I don't know Smarty so I had to use PHP in the template, but it seems to work and I chose variable names that should not conflict with anything.

This should help solve the problem of where to put the CS headlines.  

OLD
<{foreach item=feed from=$block.feeds}>

<{$feed}>


<{/foreach}>
[/size]

NEW
<{php}>
    $andrew_lamonica_feed_count = 0;
<{/php}>

   
        <{foreach item=feed from=$block.feeds}>      
           
            <{php}>
                if($andrew_lamonica_feed_count % 2)
                    print "";
                $andrew_lamonica_feed_count++;    
            <{/php}>
        <{/foreach}>
        <{php}>
            while($andrew_lamonica_feed_count % 2)
            {
                print "";
                $andrew_lamonica_feed_count++;    
            }
        <{/php}>
   

                <{$feed}>

           
[/size]