Syndicate with Javascript

Mumineen.org offers the ability to syndicate its content to other websites or blogs with Javascript. All that’s required for you to do is to cut and paste some HTML onto your site. Your content will stay current, updating the same second we update ours.

To put headlines from our Huzurala TUS Akhbar, Bilaad Imaniyah Akhbar and Announcements sections on your site or blog, you simply need to add the code below to your web page where you would like the syndicated headlines to appear. There are two formats to choose from, one that provides an unordered HTML list (encapsulated within <ul> </ul> tags) of headlines only and another that generates an unordered HTML list of the headlines along with an abstract.

1. For Akhbar of Huzurala (TUS)

Headlines only

Headline and Abstract

2. For Akhbar al-Bilad

Headlines only

Headline and Abstract

3. For Announcements

Headlines only

Headline and Abstract

4. For Salaat Timings

Copy the following code on your Jamaat’s website replacing ‘yourcity’ with valid locations (example: mumbai, houston, london…)

The salaat syndication can easily be stylized using CSS.

Note: You should be aware of the following inherent Javascript weaknesses when you use Javascript syndication:

  • JavaScript depends on the user’s browser: if JavaScript is not enabled your content will not appear. People with disabilities will not have access to the content
  • Search engines will not index the syndicated content.
  • If your users are browsing with a device other than a computer such as PDA, mobile phone or Web-on-TV system – then their devices may not have javascript functionality.

One thought on “Syndicate with Javascript