Put Pro-Life Headlines on Your Web Site
 
To place the latest pro-life news headlines from CovenantNews.com on your web site, copy this code and paste it where you want the headlines to display on your page:


<script language="JavaScript" src="http://covenantnews.com/rss2js/rss2js.php
?src=http://www.covenantnews.com/abortion/index.xml
&chan=yes&num=6&desc=no&date=no"></script>



The above code will look like this on your web page:

To display the headlines and the description of the article, use this code:


<script language="JavaScript" src="http://covenantnews.com/rss2js/rss2js.php
?src=http://www.covenantnews.com/abortion/index.xml
&chan=yes&num=6&desc=yes&date=no"></script>


Which will display like this:


You can customize the code string by changing the following variables

&chan=yes

This tells the script to show the name of the original RSS feed source. "No" removes the channel name.

&num=6

This tells the script how many headlines you want to display. You can set it from 1 to 15.

&desc=yes

This tells the script to display the headline and the description. If you change this to "no" only the headlines will be shown.

&date=no

This tells the script not to display the date the original story was posted. "Yes" will display the date.


Back to The Covenant News