Difference between revisions of "WolfTech Information Technology"

From WolfTech
Jump to navigation Jump to search
Line 71: Line 71:
$num_items = '5';
$num_items = 5;
$rss = fetch_rss($url);
$rss = fetch_rss($url);
$items = array_slice($rss->items, 0, $num_items);
$items3 = array_slice($rss->items, 0, $num_items);
echo "<b><a href=\"http://www.wolftech.ncsu.edu/news/\">", $rss->channel['title'], "</a></b><br>";
echo "<b><a href=\"http://www.wolftech.ncsu.edu/news/\">", $rss->channel['title'], "</a></b><br>";

Revision as of 18:19, 11 October 2006


Welcome to the one-stop computing resource site for Electrical and Computer Engineering and all other NC State users of WolfTech computing or web resources. With this site, you only have to remember one address to find anything and everything about using your computer at NC State. We're continuing to add vast amounts of information to this website, and should you find anything missing, we encourage you to email us a request for more information.

Before getting started, be sure you have read through the NC State and ECE Information Technology Policies.

Icon-lock.png Accounts & Policies
Access and its requirements
Icon-paperclip.png Active Directory
ECE's Windows environment
Icon-ipod.png Classes & Courseware
Class and classroom support
Icon-computer.png Computer Labs
Come use our computers
Icon-education.png Education
Campus learning resources
Icon-email.png Email & Calendar
Clients, setup, scheduling
Icon-fileserver.png File Storage
Protect your data files
Icon-keyboard.png Help & Tutorials
Solve your own problems
Icon-pda.png Mobile Computing
Computing on the go
Icon-printer.png Printing
Connect to your printer
Icon-radio.png Remote Access
Off campus IT resources
Icon-science.png Research Computing
Resources for Researchers
Icon-virus.png Security & Viruses
Protect your computer
Icon-processor.png Software & Hardware
Availability and Purchasing
Icon-paper.png Web & Databases
Create your online identity
Icon-pocketknife.png WolfTech Tools
WolfTech Web Products

<php> require('magpierss/rss_fetch.inc');

  1. require('magpierss/rss_utils.inc');

$url="http://www.wolftech.ncsu.edu/news/?feed=rss2"; $num_items = 5;

$rss = fetch_rss($url); $items3 = array_slice($rss->items, 0, $num_items);

echo "<a href=\"http://www.wolftech.ncsu.edu/news/\">", $rss->channel['title'], "</a>
"; foreach ($rss->items as $item ) { $title = $item[title]; $url = $item[link]; $published = parse_w3cdtf($item['dc']['date']); echo date("M dS H:i", $published); echo " - ";

echo "<a href=$url>$title</a>
"; } </php> NCSU Systems Updates <php> require_once('xml_news.php');

                            1. \XML NEWS FEED\ ##############

// important settings for XML news feed $num_stories_to_show = 5; $num_stories = get_xml_news($news,$num_stories_to_show); if( $num_stories < 1 ) { // oh no! echo "News service temporarily unavailable."; } else { PRINT ("

"); for( $f = 0 ; $f < $num_stories_to_show ; $f++ ) { PRINT ("");

} // end for for() loop


PRINT $news[$f][date];


PRINT $news[$f][time];

 - ");

PRINT ("<a href=\"".$news[$f][link]."\">"); PRINT $news[$f][name]; PRINT ("</a>");



} // end of if/else

                            1. /XML NEWS FEED/ ##############

PRINT (" ");


<php> PRINT ("<a href=\"http://sysnews.ncsu.edu/tools-php/spam-filter-setup.php\">"); PRINT ("<img src=\"http://www.wolftech.ncsu.edu/support/images/Spam-drowning.png\">"); PRINT ("</a>"); </php>