<Subject>{{ uri }}</Subject>
<Alias>http://{{ request.host }}/u/{{ username }}</Alias>
+ <Link rel='http://microformats.org/profile/hcard'
+ href='http://{{ request.host }}/u/{{ username }}' />
+
<Link rel="http://schemas.google.com/g/2010#updates-from"
type="application/atom+xml"
href="http://{{ request.host }}/u/{{ username }}/atom/" />
'mediagoblin/webfinger/xrd.xml',
{'request': request,
'username': re.search(
- r'^acct:([^@]*)',
- request.GET.get('uri')).group(1)})
+ r'^(acct:)?([^@]*)',
+ request.GET.get('uri')).group(2)})