Fight Aging! Content Feeds

Both the short news posts and longer traditional posts here at Fight Aging! can be accessed in full through a content feed. For feed readers, aggregators, and programmers in the audience, there is an RSS 2.0 main feed, a newsletter feed, and a comment feed:

Fight Aging! also sports a Javascript feed for the short news posts only. This is intended to help people place the news items on their own websites with a minimum of fuss and effort. Simply cut and paste the following code into your page:

<div id="fa_news"></div>
<script src="https://www.fightaging.org/newsjs/?headlines=10&descriptions=no" type="text/javascript"></script>

The Javascript inserts Fight Aging! short news posts into the <div> element with id="fa_news" - or where the script is placed if that element doesn't exist. To avoid issues with browsers appearing to hang on those rare times when the Fight Aging! site is unresponsive, you should place the <script> element at the bottom of your page, just above </body>. The <div> element can be placed anywhere above the script in the page. Then even if a visitor's browser cannot reach Fight Aging! to download the script, it will still display your page without hanging.

You can customize the appearance of the news by using Cascading Style Sheets (CSS), as demonstrated below. If CSS is new to you, you'll find a wealth of helpful tutorials and references online. Some basic examples follow:

.lm_headline_table {
margin: 7px;
padding: 0px;
border: 1px solid #DDDDDD;
}

.lm_headline {
font-size: 9pt;
color: #555555;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 5px;
margin-left: 2px;
}

.lm_headline A, .lm_headline A:link, .lm_headline A:visited {
text-decoration: none;
color: #555555;
}

.lm_headline A:hover {
text-decoration: underline;
color: #555555;
}

You can control the number of headlines displayed by setting the value of the "headlines" parameter in the script URL. In addition, setting the "descriptions" parameter to "yes" will result in a different formatting and display of full posts:

.lm_commentary {
font-size: 9pt;
text-align:justify;
color: #555555;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 5px;
margin-left: 2px;
max-width:350px;
}

.lm_commentary A, .lm_commentary A:link, .lm_commentary A:visited {
text-decoration: none;
color: #995555;
}

.lm_commentary A:hover {
text-decoration: underline;
color: #995555;
}