The News Headline Service enables enables the Pluralism Project to share the rich resources of Religious Diversity News (RDN) with a wider audience. On the front page of our web site, we feature four current news headlines related to religious diversity, drawn from a range of news outlets and portals, as well as from ethnic media and religious advocacy groups. These headlines are updated twice a week, and include active links to news articles as well as to the larger RDN interface. We invite you to incorporate RDN headlines into your own web site or blog.
An example of RDN headlines in use may be found on the home page of the Duchess County Interfaith Council.
If space is a concern, you could offer a one line link to: Religious Diversity News (http://pluralism.org/news) and/or International RDN (http://pluralism.org/news/index/filter:intl).
You will find below the specifications for your webmaster to use to set up this feature. Please contact the Pluralism Project Webmaster (webmaster@pluralism.org) for more details, or if you have any questions about implementing our Religious Diversity News Headline Service on your website.
|
Religious Diversity News Headlines Read more at the Pluralism Project's Religious Diversity News |
To put the Pluralism Project's Religious Diversity News Headlines on your website, put the following snippet of code into your HTML:
<script language="javascript" type="text/javascript" src="http://pluralism.org/news/newsbox"></script>
This line of code will generate the four headlines seen above; we ask that it be preceded by the text "Religious Diversity News Headlines from the Pluralism Project" and followed by a link to the Pluralism Project's Religious Diversity News (Use: http://pluralism.org/news?source=newsbox).
These news headlines can be placed anywhere on your page; they can go in a table (as above) or a <div> if desired. The links to the four stories will each open in a new window.
The JavaScript loaded in by the line of code above produces four paragraphs, wrapped in <p></p> tags, of the following form:
<p class="ppnews" id="ppnews#">
<a href="http://pluralism.org/news/view/ID" class="ppnewslink" id="ppnewslink#" target="ppnewslink#">
<span class="ppnewstitle" id="ppnewstitle#">HYPERLINKED HEADLINE</span></a><br />
<span class="ppnewssource" id="ppnewssource#">SOURCE</span>
</p>
These paragraphs will inherit any CSS formatting applied to containing elements; the line of code above can be wrapped in <span> or <div> tags to apply formatting to the output paragraphs; or the classes (ppnews, ppnewslink, ppnewstitle, etc.) or ids (ppnews1, ppnewslink2, ppnewstitle3, etc.) can be given explicit style declarations in your stylesheet.
The classes and ids can also be used to attach event handlers to the elements in the output paragraphs with JavaScript or CSS (as with the rollover on the links above). However, given the many ways of scripting events, you may wish to consult with our Webmaster (webmaster@pluralism.org) to find the solution that integrates best into the HTML on your site.