User Preferences

  • Language - en | ga
  • text size >>
  • make this your indymedia front page make this your indymedia front page

Blog Feeds

forward

Irish Left Review
Joined up thinking for the Irish Left

offsite link Progressive Film Club: Palfest & ?5 Broken Cameras? Thu Jul 02, 2015 15:59 | Irish Left Review

offsite link Greece; Deathplace of Democracy Wed Jul 01, 2015 17:51 | Tony Phillips

offsite link Irish Living Standards Fall Further Behind Europe Wed Jul 01, 2015 15:52 | Michael Taft

offsite link Free Education: A Really Modest Proposal Fri Jun 26, 2015 13:04 | Michael Taft

offsite link The June Issue of Socialist Voice is Out Now! Thu Jun 25, 2015 14:01 | Communist Party of Ireland

Irish Left Review >>

Spirit of Contradiction

offsite link Commentary and Discussion to the Syriza Victory in the Greek Referendum Mon Jul 06, 2015 01:10 | Jerome Nikolai Warren

offsite link Trotsky and TTIP: how secret diplomacy serves elite interests Tue Jun 09, 2015 16:02 | yeksmesh

offsite link Some Various Tidbits on #GE2015 Fri May 08, 2015 01:49 | Jerome Nikolai Warren

offsite link America’s Palestinians: Lessons from The American Indian Experience for Israel... Sun Mar 29, 2015 20:00 | Jerome Nikolai Warren

offsite link Spain is not Greece, or is it? Electoral prospects for the left in 2015. Thu Feb 05, 2015 19:00 | modulus

Spirit of Contradiction >>

Public Inquiry
Just another WordPress site

offsite link The pitchforks are coming….unless

offsite link Greece: The first country to challenge the rogue capitalists Anthony

offsite link Sean O’Rourke’s continuing support for the Government Anthony

offsite link Sean O’Rourke: No bias allowed – except RTEs Anthony

offsite link Journalist Sinead Ryan: Not an informed journalist Anthony

Public Inquiry >>

The Saker
A bird's eye view of the vineyard

offsite link THIS BLOG HAS MOVED TO A NEW LOCATION VINEYARDSAKER:

offsite link Good news out of Russia - even the "non-system" opposition refuses to blame the Kremlin VINEYARDSAKER:

offsite link Nemtsov murder: Putin warned about exactly this type of "false flag" two years ago VINEYARDSAKER:

offsite link DPR PM Zakharchenko presser 27/02/15 Economical and political future of DPR VINEYARDSAKER:

offsite link Breaking news: FALSE FLAG IN MOSCOW! VINEYARDSAKER:

The Saker >>

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-2015 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