Module: Redfinger::LinkHelpers
- Included in:
- Finger
- Defined in:
- lib/redfinger/link_helpers.rb
Instance Method Summary collapse
-
#hcard ⇒ Object
An array of links with hCard information about this e-mail address.
-
#open_id ⇒ Object
An array of links of OpenID providers for this e-mail address.
-
#profile_page ⇒ Object
An array of links to profile pages belonging to this e-mail address.
-
#xfn ⇒ Object
An array of links to XFN compatible URLs for this e-mail address.
Instance Method Details
#hcard ⇒ Object
An array of links with hCard information about this e-mail address.
6 7 8 |
# File 'lib/redfinger/link_helpers.rb', line 6 def hcard relmap('http://microformats.org/profile/hcard') end |
#open_id ⇒ Object
An array of links of OpenID providers for this e-mail address.
11 12 13 |
# File 'lib/redfinger/link_helpers.rb', line 11 def open_id relmap('http://specs.openid.net/auth/', true) end |
#profile_page ⇒ Object
An array of links to profile pages belonging to this e-mail address.
16 17 18 |
# File 'lib/redfinger/link_helpers.rb', line 16 def profile_page relmap('http://webfinger.net/rel/profile-page') end |
#xfn ⇒ Object
An array of links to XFN compatible URLs for this e-mail address.
21 22 23 |
# File 'lib/redfinger/link_helpers.rb', line 21 def xfn relmap('http://gmpg.org/xfn/', true) end |