Blog Feeds

Human Rights in Ireland
A Blog About Human Rights

offsite link Latest Updates Thu Nov 21, 2019 20:32 | Human Rights

offsite link US Holds China To Account For Human Rights Violations Sun Oct 13, 2019 19:12 | Human Rights

offsite link UN Human Rights Council Should Address Human Rights Crisis in Cambodia Sat Aug 31, 2019 13:41 | Human Rights

offsite link Fijian women still face Human Rights violations Mon Aug 26, 2019 18:49 | Human Rights

offsite link Saudi Human Rights Violation Fri Aug 09, 2019 20:41 | Human Rights

Human Rights in Ireland >>

Cedar Lounge
For lefties too stubborn to quit

offsite link 1989 Revisited: 1st December to 7th December, significant changes in the DDR 19:36 Sun Dec 08, 2019 | WorldbyStorm

offsite link Sunday and other Media Stupid Statements from this week? 10:20 Sun Dec 08, 2019 | guestposter

offsite link Speaking of flying? 13:29 Sat Dec 07, 2019 | WorldbyStorm

offsite link Fear of Flying 10:26 Sat Dec 07, 2019 | WorldbyStorm

offsite link This Weekend I?ll Mostly be Listening to Songs and Music about? Flying 06:55 Sat Dec 07, 2019 | WorldbyStorm

Cedar Lounge >>

Dublin Opinion
Life should be full of strangeness, like a rich painting

offsite link Some Thoughts on the Brexit Joint Report 11:50 Sat Dec 09, 2017

offsite link IRISH COMMONWEALTH: TRADE UNIONS AND CIVIL SOCIETY IN THE 21ST CENTURY 14:06 Sat Nov 18, 2017

offsite link Notes for a Book on Money and the Irish State - The Marshall Aid Program 15:10 Sat Apr 02, 2016

offsite link The Financial Crisis:What Have We Learnt? 19:58 Sat Aug 29, 2015

offsite link Money in 35,000 Words or Less 21:34 Sat Aug 22, 2015

Dublin Opinion >>

NAMA Wine Lake

offsite link Test ? 12 November 2018 Mon Nov 12, 2018 14:28 | namawinelake

offsite link Farewell from NWL Sun May 19, 2013 14:00 | namawinelake

offsite link Happy 70th Birthday, Michael Sun May 19, 2013 14:00 | namawinelake

offsite link Of the Week? Sat May 18, 2013 00:02 | namawinelake

offsite link Noonan denies IBRC legal fees loan approval to Paddy McKillen was in breach of E... Fri May 17, 2013 14:23 | namawinelake

NAMA Wine Lake >>

Examples of javascript code

Examples of javascript code you can use to show Indymedia Ireland articles on your site

JavaScript Syndication Examples

The examples below show you some of the ways that you can embed a JavaScript news feed into your webpage. The examples use some functions which are included in the dynamically generated newsfeed but you may of course study the JavaScript file yourself and write your own display methods using the array of stories provided.

Marquee Sample 1

This example shows a simple scrolling marquee

To add this to your own web page insert the following code:

<script src="http://www.indymedia.ie/jsnewsfeed.php">
</script>
<script type='text/javascript' language='JavaScript'> writeStoryMarquee();
</script>

Marquee Sample 2

This example also shows a scrolling marquee but illustrates how you can use the parameters to display the marquee differently.

To add this to your own web page insert the following code:

<script src="http://www.indymedia.ie/jsnewsfeed.php">
</script>
<script type='text/javascript' language='JavaScript'>
// parameters are width,height,direction[up,down,left,right],style(in CSS format)
// any parameter left as null will use default.
writeStoryMarquee(100,200,"up","background-color=lightgreen; border:1px solid black");
</script>

Table Sample 1

This example also shows a simple table but illustrates how you can use the parameters to display the table differently.

To add this to your own web page insert the following code:

<script src="http://www.indymedia.ie/jsnewsfeed.php">
</script>
<script type='text/javascript' language='JavaScript'>
writeStoryTable();
</script>

Table Sample 2

This example also shows a simple table but illustrates how you can use the parameters to display the table differently.



To add this to your own web page insert the following code:

<script src="http://www.indymedia.ie/jsnewsfeed.php">
</script>
<script type='text/javascript' language='JavaScript'>
// parameters are width,height,alignment[left,right],style(in CSS format)
// any parameter left as null will use default.
writeStoryTable(380,null,"left","background-color=#44AA44; border:1px solid black");

</script>
© 2001-2019 Independent Media Centre Ireland. Unless otherwise stated by the author, all content is free for non-commercial reuse, reprint, and rebroadcast, on the net and elsewhere. Opinions are those of the contributors and are not necessarily endorsed by Independent Media Centre Ireland. Disclaimer | Privacy