diff --git a/README.md b/README.md
index aeaac43..cef63c2 100644
--- a/README.md
+++ b/README.md
@@ -57,6 +57,7 @@ GITWEB="gitweb.example.com"
JIRA="jira.example.com"
REDMINE="redmine.example.com"
GITORIOUS="gitorious.example.com"
+PHABRICATOR="phabricator.example.com"
```
## Contributions
diff --git a/hipchat-post-receive b/hipchat-post-receive
index 209f2e6..94c15bc 100755
--- a/hipchat-post-receive
+++ b/hipchat-post-receive
@@ -40,6 +40,14 @@ then
BRANCH_LINK="$BRANCH"
fi
+#construct phabricator links
+if [ -n "$PHABRICATOR" ]
+then
+ USER_LINK="$USER"
+ REPO_LINK="$REPO"
+ BRANCH_LINK="$BRANCH"
+fi
+
# Construct message
if [ "$OLDREV" = "$NULLREV" ]
then
@@ -60,6 +68,9 @@ else
elif [ -n "$GITORIOUS" ]
then
LOG=`$GIT_EXEC log $OLDREV..$NEWREV --format="- %s (%h)"`
+ elif [ -n "$PHABRICATOR" ]
+ then
+ LOG=`$GIT_EXEC log $OLDREV..$NEWREV --format="- %s (%h)"`
else
LOG=`$GIT_EXEC log $OLDREV..$NEWREV --format="- %s (%h)"`
fi