Tickets
Please note, the box office will be closed from Monday 19th March and will reopen Monday 23rd April. Between these times, please book online or by post.
By Telephone
01904 322439
Online
www.yorkspringfestival.co.uk
Please note these is a booking fee of 65p per ticket
By Post
Please write with full details of the tickets that you require with your address and daytime telephone number. Enclose a cheque (made payable to ‘University of York’) or enclose your card details. Please enclose a stamped, addressed envelope or add 40p to cover postage.
Box Office
Sir Jack Lyons Concert Hall
Department of Music
University of York
York
YO10 5DD
By Email
Reserve ticket by emailing the address below with full details of the tickets you require, your name, address and daytime telephone number. We will contact you by phone to arrange payment.
In Person
The box office is located in the Department of Music at the University of York.
Monday-Friday: 13:00 - 15:30
Saturday (concert days): 13:00 - 15:30
Tickets will also be available on concert days 45 minutes before the start of each concert.
Latest from Twitter
-
/* twitter-rss-to-html.php
Twitter-RSS-to-HTML for PHP by Rogers Cadenhead
Version 1.1
Web: http://www.cadenhead.org/workbench/twitter-rss-to-html
Copyright (C) 2008 Rogers Cadenhead
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
// a PHP script to display Twitter updates from a user's RSS feed on a web page
require_once("magpierss/rss_fetch.inc");
define('MAGPIE_INPUT_ENCODING', 'UTF-8');
define('MAGPIE_OUTPUT_ENCODING', 'UTF-8');
// set up script variables
// the user's RSS feed on Twitter
$remote_url = "http://twitter.com/statuses/user_timeline/ysfnm.rss";
// the number of tweets to display (or -1 to display all)
$tweets_to_display = 4;
// the page where the tweet(s) will be displayed
$page = "http://www.yorkspingfestival.co.uk/";
// the user's Twitter username
$username = "YSFNM";
$rss = fetch_rss($remote_url);
// start buffering output
ob_start();
$count = 1;
$now = time();
foreach ($rss->items as $item) {
// limit the number of tweets displayed
if ($tweets_to_display > 0) {
if ($count > $tweets_to_display) {
continue;
}
}
$tweet = $item['description'];
$link = $item['link'];
// ignore tweets linking back to page (if it is defined)
if ($page != "") {
if (!strpos($tweet, $page) === false) {
continue;
}
}
// figure out how recently the tweet was posted
$when = ($now - strtotime($item['pubdate']));
$posted = "";
if ($when < 60) {
$posted = $when . " seconds ago";
}
if (($posted == "") & ($when < 3600)) {
$posted = "about " . (floor($when / 60)) . " minutes ago";
}
if (($posted == "") & ($when < 7200)) {
$posted = "about 1 hour ago";
}
if (($posted == "") & ($when < 86400)) {
$posted = "about " . (floor($when / 3600)) . " hours ago";
}
if (($posted == "") & ($when < 172800)) {
$posted = "about 1 day ago";
}
if ($posted == "") {
$posted = (floor($when / 86400)) . " days ago";
}
// filter the user's username out of tweets
$tweet = str_replace($username . ": ", "", $tweet);
// turn URLs into hyperlinks
$tweet = preg_replace("/(http:\/\/)(.*?)\/([\w\.\/\&\=\?\-\,\:\;\#\_\~\%\+]*)/", "\\0", $tweet);
// link to users in replies
$tweet = preg_replace("(@([a-zA-Z0-9\_]+))", "\\0", $tweet);
// add the time posted
$tweet = $tweet . " " . $posted . " →";
echo ("\n\n
- " . $tweet ." "); $count++; } // display output ob_end_flush(); ?>

