Needs work
Project:
Phone Number
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
26 Jul 2010 at 05:24 UTC
Updated:
10 Sep 2012 at 09:46 UTC
Jump to comment: Most recent file
arpeggio in #848740: Phone Number Drupal 7 Port:
Support for RDFA (with customizable rel value, selection of phone number subaddress type: telephone/fax's extension number (ext), ISDN subaddress (isub), fax's T33 subaddress (tsub), modem's parameters (type) and recommended parameters (rec). Ref: http://tools.ietf.org/html/rfc2806)
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | cck_phone rdfa.patch | 567.4 KB | arpeggio |
Comments
Comment #1
arpeggio commentedThis is an upgrade patch at http://drupal.org/node/849006, supporting RDFA. Drupal 7 embrace RDF system see: http://semantic-drupal.com/about. Supporting RDFA for phone numbers follows URL format of tel scheme. Using rel attribute of anchor tag as the property and href as the object. Example:
Phone number module for D7 supports:
- customizable rel value
- selection of phone number subaddress type: telephone/fax's extension number (ext), ISDN subaddress (isub), fax's T33 subaddress (tsub), modem's parameters (type) and recommended parameters (rec)
Comment #2
ckngNode to self, check out hook_rdf_mapping. Does drupal_render already help generate the needed markup?
Comment #3
ckngLet's get the D7 patch clean up and committed before we re-roll this patch.
Comment #4
arpeggio commentedYes, I have checked hook_rdf_mapping(). Looking at its structure a module should have a defined entity, in our case Phone number module can be used in different entities such as node, user, taxonomy term, etc.
Additionally, we offer a flexible RDFA support for our module as the rel value can be customized, to allow users use different vocabularies other than FOAF which the additional vocabulary can be defined at hook_rdf_namespaces().
Comment #5
scor commentedsubscribe
Comment #6
daffodilsoftware commentedThis feature is required or not. Should anything done for this or wait for new version?