PDA

View Full Version : Display islamic articles on your website


defending-islam
26-09-05, 10:53 PM
I have recently built this java script, where i put togeather some articles which my brothers and sisters can use in order to answer some of these christian and hindu missionaries, and defend Islam by quoting their scriptures back to them and give dawa to them so they may know the truth about Islam. its quite a simple one, it pulls data from my blog, its really customizable, this is the Javascript which you can copy and past on your website


<script src="http://www.invitation2truth.com/blog/index.php?/plugin/news?num=200&order=DESC&date=0&:i&point=-"></script>




you can edit the code, below i have given you a brief description of what they do. you can add these or delete it as you want.

details 1|0
- Shows either only the headlines or the whole entry (without extended body!)

category [catname] -
If set, only entries of this category will be shown, if not set, entries of all categories will be shown
categories are: Islam, Christiantiy, bible, Hinduism, Holy Quran,

num [N]
- if set [N] entries will be shown, if not 10 entries will be shown

order ASC|DESC
- sorting order of the entries (by creation date)

date 1|0
- if set to 1, the creation date will be shown

dateformat [formatstring] -
uses the provided formatstring to show the date (php-function date())

time 1|0 -
if set to 1, the creation time will be shown

timeformat [formatstring]
- uses the provided formatstring to show the time (php-function date())

point [string]
- uses the provided string as first part of the headlines. can be used to create a list (<li>), or similar.

defending-islam
26-09-05, 10:55 PM
I have also created a css which you can edit, to suite the way you want the articles displayed on your website. put this css between the <head> </head> tag

<style type="text/css">

.blog_title {
font-size: 14px;
font-weight: bolder;
}
.blog_hr {
border: none 0;
border-top: 1px dashed;
margin: 4px auto;
height: 1px;
}
.blog_body {
font-size: 12px;
}

</style>

defending-islam
26-09-05, 10:56 PM
This is an example which i have done:

www.invitation2truth.com/islam/archives.php (http://www.invitation2truth.com/islam/archives.php)

I havent added the css on there, because this is going to be my new website which is being built as i write this post.

It is about spreading the truth of Islam to the west and getting rid of the misconception that the west have on Islam.

Arsalan
30-09-05, 11:49 PM
Brilliant! Hopefully this will be of some benefit to the internet dawat effort.