test

Adding Pages with Javascript

You can access a raw list of the list pages and flat pages on your site by accessing the following:

Please replace tickercode with your site’s instance ticker code – provided by IRM. If you do not have this, please contact your account manager or email support@irmau.com.

List Page’s

https://tickercode.irmau.com/site/SiteData.aspx?DataType=ListPage

Flat Page’s

https://tickercode.irmau.com/site/SiteData.aspx?DataType=FlatPage


A demo for this site can be viewed here:

http://irmn0.test.irmau.com/site/SiteData.aspx?DataType=ListPage

These produce a list of category names and id’s in short code format which can be used in the query string when requesting pages.

Example: [irmflat=251] Company Overview or [irmlist=8] : ASX Announcements.

To use these in the query string and call different pages please use the CategoryID option.

To show a list of ASX Announcements which also will show a link to for archived announcements, use the following code:

<div data-newsroomurl="https://tickercode.irmau.com/site/ShowListPagexml.aspx?CategoryID=8">..</div>

Live Example

..

CSS & HTML for Live Example

1	<style>
2 .article {
3 border-bottom:1px solid #999;
4 margin-bottom:10px;
5 }
6 .articleDate {
7 float:right;
8 color:#999;
9 }
10 .article a {
11 float:none;
12 width:100%;
13 }
14 .article > a {
15 font-weight:bold;
16 font-size:22px;
17 }
18 </style>
19
20 <script type="text/javascript" src="https://www.irmau.com/irm/js/Newsroom.js"></script>
21
22 <h2>Live Example</h2>
23
24 <div class='row'>
25 <div class='large-12 columns'>
26 <div data-newsroomurl="https://www.irmau.com/irm/ShowListPagexml.aspx?CategoryID=442">..</div>
27 </div>
28 </div>

view rawnewsroom-news-example.html – HTTPS hosted with ❤ by GitHub