JavaScript News Feeds
Pssst ... here's a way to pull live Cool Solutions headlines into the web page of your choosing. Be the hero of your support staff or end users by adding our fresh, dynamic headlines to any page anywhere.
Current News for Any Web Page
- Copy this JavaScript:
<script language="javascript" type="text/javascript" src="http://www.novell.com/newsfeeds/js/coolsolutions.js"></script>
<script language="javascript" type="text/javascript">
var number_of_headlines = 5;
for (i=0; i<number_of_headlines; i++)
{
document.write(coolfeed[i]);
}
document.write(logo);
</script> - Use a text editor (notepad works) to open an HTML file and paste the JavaScript just about anywhere. (You can paste it in a table cell to control its width.)
- Save the page with an ".htm" or ".html" extension where you can find it (desktop works for us). Open it with your browser and watch the content flow in.
- If you get lost, here's a sample file for you to reverse-engineer.
- Internet Explorer users: right-click on the hyperlink and select the "Save Target As..." menu option.
- Netscape Navigator users: right-click on the hyperlink and select the "Save Link As..." menu option.
Make it fit:
You can customize the feed to display as many headlines as you have room for (up to 15). All you need to do is change the JavaScript variable "number_of_headlines" to the number of headlines you want to display. So, using the JavaScript above as an example, you would change the 5 to a 10.
Class it up:
If you want to modify the headline and description style, add this code between your <head> and </head> tags. We've set up some default styles but feel free to modify at will.
<style>
p {margin-top:0px;margin-bottom:6px;}
.novellTitle {font-family:sans-serif;font-size:9pt;font-weight:bold}
.novellDescription {font-family:sans-serif;font-size:8pt;color:black}
.novellDate {font-family:sans-serif;font-size:7pt;color:red}
</style>
Get specific:
The "coolsolutions.js" file gathers news from all the Cool Solutions communities. If you want to specify headlines from a single community, change the JavaScript to include any one of these feeds:
- http://www.novell.com/newsfeeds/js/coolsolutions.js (all inclusive)
- http://www.novell.com/newsfeeds/js/bordermag.js (BorderManager)
- http://www.novell.com/newsfeeds/js/cooldev.js (Developers)
- http://www.novell.com/newsfeeds/js/edirectory.js (eDirectory)
- http://www.novell.com/newsfeeds/js/gwmag.js (GroupWise)
- http://www.novell.com/newsfeeds/js/ichain.js (iChain)
- http://www.novell.com/newsfeeds/js/linuxnewbie.js (Linux Newbie)
- http://www.novell.com/newsfeeds/js/netware.js (NetWare)
- http://www.novell.com/newsfeeds/js/nld.js (Novell Linux Desktop)
- http://www.novell.com/newsfeeds/js/nsm.js (Novell Security Manager)
- http://www.novell.com/newsfeeds/js/audit.js (Novell Audit)
- http://www.novell.com/newsfeeds/js/nim.js (Nsure Identity Manager)
- http://www.novell.com/newsfeeds/js/slmag.js (Nsure Securelogin)
- http://www.novell.com/newsfeeds/js/oes.js (Open Enterprise Server)
- http://www.novell.com/newsfeeds/js/smallbiz.js (Small Business Suite)
- http://www.novell.com/newsfeeds/js/sles.js (SUSE Linux Enterprise Edition)
- http://www.novell.com/newsfeeds/js/slp.js (SUSE Linux Professional)
- http://www.novell.com/newsfeeds/js/zenworks.js (ZENworks)
