|
Carry our Syndicated Content on YOUR Site!
|
Step Two - Decide on the TYPE of listing you want to display
There are three listing formats currently available. These are explained below. The bit of Javascript relevant to this section is shown in bold below.
<script language="JavaScript" src="http://www.ozgateway.com.au/cgibin/syndication.cgi?c=CATEGORY&n=5&y=2&b=&l=&f=&s=&t=">
</script>
- NORMAL - default - style of listing - suitable for many records/one category per page.
Specify &y=2 which displays the site name and URL in a coloured bar with a detailed site description (max 180 characters) below it in a white bar.
Code Sample:
<script language="JavaScript" src="http://www.ozgateway.com.au/cgibin/syndication.cgi?c=Business&n=5&y=2&b=&l=&f=&s=&t=">
</script>
Results in:
- Another type is &y=1 which displays the site name and URL in the first line with a short site description (max 90 characters) under. This information is contained in a table with a fixed MINIMUM height of 70 pixels and is best used on a page with other content.
Code Sample:
<script language="JavaScript" src="http://www.ozgateway.com.au/cgibin/syndication.cgi?c=Business&n=1&y=1&b=&l=&f=&s=&t=">
</script>
Results in:
- Or use &y=3 to simply list the site name and URL with bullet points. This format is also best used on a page with other content.
Code Sample:
<script language="JavaScript" src="http://www.ozgateway.com.au/cgibin/syndication.cgi?c=Business&n=5&y=3&b=&l=&f=&s=&t=">
</script>
Results in:
Go on to Step 3 - Specify the NUMBER of listings to display.
Back to Step 1 - Select the CATEGORIES to use.
|
|
|