Construction UK Construction Directory
Time and date
CONSTRUCTION DIRECTORY

Webmaster Tools - Construction News

Display Local News from Construction UK On Your Own Website For Free

The journalism team produces daily stories from our offices in Belfast. You can enhance your website with this news to encourage people who use your website to visit more often.

Here is some example code which you can use. https://www.construction.co.uk/misc/testnews.aspx

Overview
This is a simple script that takes news from our RSS feed and uses the Google feeds service to extract the content and insert it into your page. You can dissect the code and modify it as you wish. You can also host the scripts locally if you want.

To install:
NB:This website operates on 3 different domains each with its own custom news service. Choosing one of the 3 domains will set the feed.
The domains are:
https://www.construction.co.uk
https://www.constructionireland.ie/
https://www.buildscotland.co.uk/

Put this in the <head> portion of your HTML on the page you want to display news on

Put this in the page where you want the news to show. Change conHeadlineCount to match the number of stories you want to show (max 10) and change showConNewsSnippet to false if you want to hide the story snippets.


Optional Add this to the <head> portion of the page if you want to style the content. You can add / remove from the css classes, this is just for testing. (remove style tags if you are adding to an existing <style> section).


Please contact us if you have any problems with this script or have any suggestions.

Example

You can find more webmaster tools here.
ContainexNo Hydro123v PlcForge Lifts LtdAtlas Winch & Hoist Services Ltd (UK)Landscaping CambridgeMy Thread Curtains(London) Builder Cambridge LtdElectrical Test Midlands LtdEH Smith Builders Merchants
Terms and Conditions
2024/11/21 06:36:03