summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorYen Chi Hsuan2015-03-11 02:34:21 +0800
committerYen Chi Hsuan2015-03-11 02:34:21 +0800
commit3e4790184200b288cd4df267d8a3566d36b4f28f (patch)
treea6e9e91f692496b5cecf1584bb5c200f2ab8e462
parent8a2139b69f49eeec726797e55297b75612c9a3bc (diff)
downloadaur-3e4790184200b288cd4df267d8a3566d36b4f28f.tar.gz
Intorduce generic svn check script
-rw-r--r--spim-svn.php14
1 files changed, 0 insertions, 14 deletions
diff --git a/spim-svn.php b/spim-svn.php
deleted file mode 100644
index ef4cf8a695e3..000000000000
--- a/spim-svn.php
+++ /dev/null
@@ -1,14 +0,0 @@
-<?php
-$url = 'http://sourceforge.net/p/spimsimulator/code/feed';
-$dom = new SimpleXMLElement($url, 0, true);
-$pattern = '/^http:\/\/sourceforge\.net\/p\/spimsimulator\/code\/(\d+)\/$/';
-$newestLink = $dom->channel->item[0]->link;
-if(preg_match($pattern, $newestLink, $result) === 1)
-{
- echo $result[1];
-}
-else
-{
- echo "Error occurred\n";
-}
-?>