diff options
author | Yen Chi Hsuan | 2015-03-11 02:34:21 +0800 |
---|---|---|
committer | Yen Chi Hsuan | 2015-03-11 02:34:21 +0800 |
commit | 3e4790184200b288cd4df267d8a3566d36b4f28f (patch) | |
tree | a6e9e91f692496b5cecf1584bb5c200f2ab8e462 | |
parent | 8a2139b69f49eeec726797e55297b75612c9a3bc (diff) | |
download | aur-3e4790184200b288cd4df267d8a3566d36b4f28f.tar.gz |
Intorduce generic svn check script
-rw-r--r-- | spim-svn.php | 14 |
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"; -} -?> |