User Preferences

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

Blog Feeds

forward

Cedar Lounge
For lefties too stubborn to quit

offsite link Day of demonstrations ? open thread 10:25 Sat Nov 01, 2014 | WorldbyStorm

offsite link This Weekend I?ll Mostly Be Listening to? Songs about Water 06:00 Sat Nov 01, 2014 | irishelectionliterature

offsite link List of Demonstrations today ? so far 02:23 Sat Nov 01, 2014 | WorldbyStorm

offsite link CPOI Statement: National Day of Action against water charges 21:22 Fri Oct 31, 2014 | guestposter

offsite link An appeal to (right-wing) authority? 11:15 Fri Oct 31, 2014 | WorldbyStorm

Cedar Lounge >>

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

offsite link EXISTENTIALIST STOCK BUSINESS PHOTOS 12:03 Wed Oct 29, 2014

offsite link Irish Labour Movement 1889-1924: Lecture Six - Syndicalism in Ireland 09:02 Fri Oct 24, 2014

offsite link Global Finance, Money & Power: Lecture Seven - Bonds and Money Markets 08:26 Thu Oct 23, 2014

offsite link Irish Labour movement 1889-1924: Lecture Five - 1913 Lockout 09:47 Fri Oct 17, 2014

offsite link Global Finance, Money and Power: Lecture Six - Tax Havens 07:09 Thu Oct 16, 2014

Dublin Opinion >>

Irish Left Review
Joined up thinking for the Irish Left

offsite link Irish Air: Message from the CEO Fri Oct 31, 2014 15:19 | Kevin Higgins

offsite link Unrealistic Timelines: Water Charges and the Fiscal Deficit Tue Oct 28, 2014 15:14 | Michael Taft

offsite link That Day has Come Thu Oct 23, 2014 10:45 | Anne Irwin

offsite link The Changing Pattern of Foreign Investment in China Wed Oct 22, 2014 13:36 | John Ross

offsite link Welcome to the New Tax Avoidance Scheme, Same as the Old Tax Avoidance Scheme Mon Oct 20, 2014 16:26 | Michael Taft

Irish Left Review >>

Human Rights in Ireland
www.humanrights.ie

offsite link Northern/Irish Feminist Judgments: First Workshop ?The Foreign Subject? Wed Oct 29, 2014 12:22 | GuestPost

offsite link The Extraordinary Synod in Rome. Will it bring extraordinary times? Wed Oct 22, 2014 07:09 | GuestPost

offsite link A new Constitutional Settlement for Northern Ireland: Queries from International Law Mon Oct 20, 2014 10:27 | Aoife O'Donoghue

offsite link Why Budget 2015 must be that last of its kind Fri Oct 17, 2014 08:36 | Liam Thornton

offsite link Socio-Economic Rights & Budget Analysis: Some Notes on Available Resources, ?Progressivity? and Non... Thu Oct 16, 2014 11:55 | Liam Thornton

Human Rights in Ireland >>

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