diff options
author | Simone Rota <sip@crux.nu> | 2006-10-18 19:28:34 +0200 |
---|---|---|
committer | Simone Rota <sip@crux.nu> | 2006-10-18 19:28:34 +0200 |
commit | 50f2fc48f02538033d5f3a8223be2844d81c2b4a (patch) | |
tree | 3a838f9e5e32e3f462bcae96b6a7e3d2b4efe61b | |
parent | 986d989628605a9a9ec05acf30f606dc9b862621 (diff) | |
download | webtools-50f2fc48f02538033d5f3a8223be2844d81c2b4a.tar.gz webtools-50f2fc48f02538033d5f3a8223be2844d81c2b4a.tar.xz |
timeline rss: adjusted for git
-rw-r--r-- | timeline/rss.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/timeline/rss.php b/timeline/rss.php index 0453bd2..8be04f0 100644 --- a/timeline/rss.php +++ b/timeline/rss.php @@ -23,14 +23,14 @@ while ($evt =& $res->fetchRow()) { $description = preg_replace('/\(\[\[.*\]\]\)/s','', $evt['event_description']); # strip wiki link with url $description = preg_replace('/\[\[(.*)\|(\d+)\]\]/s','$2', $description); - # strip users (svn) + # strip users (git) $description = preg_replace('/\[\[~(.*)\|(.*)\]\]/s','$2', $description); # strip wiki link without url $description = preg_replace('/\[\[(\w+)\.(\w+)\]\] /s','$1.$2', $description); # strip wiki user with ~ $description = preg_replace('/\[\[~(\w+)\]\] /s','$1', $description); - # Compact description for svn commits - $description = preg_replace('/Revision (.*) committed by .*/','r$1', $description); + # Compact description for git commits + $description = preg_replace('/\[\[http(.*)\|(.*)\]\] committed by/','$2 by', $description); # Compact description for wiki edits $description = str_replace ("Wiki page ","", $description); |