Hello,

In response to http://wiki.openmoko.org/wiki/Opimd_redesign dos1 improved
opimds type handling.
I'm sending this to shr-devel since there are many shr apps that use opimd,
and I also CCed the PISI devs, as they should probably change a thing or two
in pisi in order to support this change.
This change brought a lot of sanity into opimd and it's API and will let us
have a lot of control, and soon after, major performance improvements.

The change is described in the following section:
http://wiki.openmoko.org/wiki/Opimd_redesign#Changes_in_fields

Summary of the wiki page:
You now can (and should) state the type of every non generic field, for
instance "Phone" and "cellphone" will have the type "phonenumber" and
"Name", "Surname" and "Nickname" will have the type "name". "Work-Email"
will have the type "email" etc.
This will let both the UI apps and opimd itself to handle things more
correctly (For a more full description read the wiki page).
But most importantly, you should now ***DROP*** the "tel:" prefix from the
phone numbers fields.

We'll provide (dos1 will write) a script that drops all the "tel:" prefixes
from all the fields with names that contain "phone" (case insensitive) and
will add the them to types.


Please ask here if there's something you don't understand.

Although I stated it enough in the wiki page, I really think it's important
to make sure you understand how crucial it is to add types to your opimd
using apps, so please do.

Again, a lot of thanks to dos1 that did a great job implementing those
changes and in a very short period of time. :P

This change is not yet in master branch but will get there soon, so get
ready and wait for further notices.
-- 
Tom.
_______________________________________________
Shr-devel mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-devel

Reply via email to