|
||||
GW Micro - RSSRSS (or Really Simple Syndication) allows users to subscribe to dynamic GW Micro headlines. The GW Micro website offers several RSS feeds:
If you're new to RSS, please take a moment to read through the following pages, as they provide an excelent overview of both what RSS is used for, and how to use it. Adding GW Micro RSS Feeds to Your WebsiteThe GW Micro RSS feed URLs require three parameters for inclusion in offsite web pages. You must designate a RSS feed name, a limit amount, and an output method. An acceptable name would be one of the following: news - Latest Newsevents - Upcoming Events kbtop - Top 5 Knowledgebase Articles kbrecent - 5 Most Recently Added Knowledgebase Articles downloads - Top 10 Downloads The limit must be an integer between 1 and 10, and the output parameter can be one of the following: xml - XML output (this is the default if no output is specified).html - HTML output js - JavaScript output For example, the URL for including RSS output with 5 Latest News headlines in HTML format would be: http://gwmicro.com/gwrssfeed.php?name=news&limit=5&output=html JavaScriptThe easiest way to include a GW Micro RSS feed is to include a JavaScript SCRIPT element with the SRC attribute pointing to a valid GW Micro RSS feed URL, such as the following: <SCRIPT SRC="http://gwmicro.com/gwrssfeed.php?name=news&limit=10&output=js"></SCRIPT>Place this line in your HTML code where you want the GW Micro RSS headlines to appear. PHPIf you are successfully using PHP on your web server, you can include the GW Micro RSS headlines in your PHP scripts using the following code as an example: <?php $gwRssURL = 'http://gwmicro.com/gwrssfeed.php?name=news&limit=5&output=html'; $gwRssHTML = file_get_contents($gwRssURL); echo $gwRssHTML; ?>There are other PHP methods to include remote files. Please consult the PHP documentation for additional information. IFRAMEUsing an HTML IFRAME, you can specify a GW Micro RSS source URL, such as: <IFRAME SRC="http://gwmicro.com/gwrssfeed.php?name=news&limit=5&output=html"> </IFRAME>Place this line in your HTML code where you want the GW Micro RSS headlines to appear. StylesEach element of the HTML output of a GW Micro RSS feed contains a unqiue ID attribute. Using style sheets, you can apply your own style of each element, allowing seamless integration into the format of your own page layout. The ID attributes are as follows: gwRssMain - Main DIV element which contains the headline list.gwRssHeader - Header element which contains the RSS feed title. gwRssList - Unordered headline list. gwRssListItem - Each unordered headline list item. For example, to apply a different font-family to the main DIV element of a GW Micro RSS feed, you might do something like the following in your own STYLE designation:
DIV#gwRssMain {
font-family: Verdana;
}
If you have questions about inserting a GW Micro RSS feed into your own web page, please contact webmaster@gwmicro.com. |
Text Size:
![]() General Links |
|||
|
© 2008 GW Micro, Inc. All Rights Reserved. GW Micro, Inc. 725 Airport North Office Park Fort Wayne, IN 46825Ph: 260-489-3671 Fax: 260-489-2608 www.gwmicro.com sales@gwmicro.com support@gwmicro.comHours: M-F, 8a-5p, EDST |
||||