Home Tournaments Winter League 2011/12 Linking to fixtures and divisions
Linking to fixtures and divisions PDF Print E-mail
Tournaments - General
Written by Andy   
Friday, 04 January 2008 14:49

Q. How can I embed my team fixtures and live results in my website?

The short answer

Simply include a line similar to the following in your page:

<iframe width="100%" src="http://www.cdnl.org/old/wrapped/wrapped_fixtures.php?embedded&tournament=22&myTeamOnly&teamId=24"></iframe>

The longer answer

It's possible to link to the live divisions and fixtures/results for any of the tournaments since 2004.

Using one of the links described below you could therefore embed the live data within your pages.

To show all the fixtures for a particular tournament use a url of the following form:

http://www.cdnl.org/old/wrapped/wrapped_fixtures.php?embedded&tournament=yyy

or to show all the divisions for a particular tournament use:

http://www.cdnl.org/old/wrapped/wrapped_divisions.php?embedded&tournament=yyy

where yyy is the tournament identifier.

If you'd like to show only fixtures for one team use:

http://www.cdnl.org/old/wrapped/wrapped_fixtures.php?embedded&tournament=yyy&myTeamOnly&teamId=xxx

where - like above - yyy indicates the tournament and where xxx indicates your team.

Q. How can I find the right tournament and team identifiers?

To find the identifiers for the tournament and team:

  1. navigate the cdnl.org site to the relevant fixtures.
  2. hover your mouse over your team
  3. the link you are hovering over now includes the tournament and team identifiers.

The current valid values for yyy are:

id Tournament
18 Summer League 2010
19 Winter League 2010
20 County League 2010/11
21 Summer League 2011
22 Winter League 2011

22 Winter League 201121 Summer League 201120 County League 2010/1119 Winter League 201018 Summer League 2010

Q. I Have more questions

Contact me and I'll try my best to help.

Andy 

Last Updated on Saturday, 24 September 2011 12:14
 
Copyright © 2013 The Cambridge and District Netball League. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.