Return to Web Version

How can I add the AAFP News Now widget to my website?

You're invited to use this widget to display the most recent stories from AAFP News Now on your website. For additional sizes or layout options, contact us.

Widget Previews and Respective Code

Copy and paste the JavaScript code shown with the widget size option you prefer below into the desired location in your website HTML code.

Vertical widget (140 pixels wide)

Vertical widget code

Horizontal widget (600 pixels wide)

Horizontal widget code

Plain HTML widget (add your own CSS) - get code and instructions below

Plain HTML code (add your own CSS)

CSS DIV structure

<div id="rssincl-box-id">
<div class="rssincl-head">
<p class="rssincl-title">Feed Title</p>
</div>
<div class="rssincl-content">
<div class="rssincl-entry">
<p class="rssincl-itemtitle">Title</p>
<p class="rssincl-itemdate">Date</p>
<p class="rssincl-itemdesc">Description</p>
</div>
</div>
</div>