Bug 362572 - Microformat adoption
Summary: Microformat adoption
Status: CONFIRMED
Alias: None
Product: kmail2
Classification: Applications
Component: composer (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-02 06:40 UTC by JZA
Modified: 2017-04-11 19:11 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description JZA 2016-05-02 06:40:19 UTC
It would be a great idea to have recognition of microformat, meaning <a href="http://microformats.org/wiki/h-card">hcards</a>, <a href="http://microformats.org/wiki/h-calendar">hcalendar</a> recognized on the body of the email. 

Reproducible: Always

Steps to Reproduce:
1. Signature tags
2. Recognize for atributes such as phone, pgp signatures, names, etc.
3. One click import signature to Address book or calendar.

Actual Results:  
Generate result from microformat definition.

Expected Results:  
Create new event/contact.
Comment 1 JZA 2016-05-02 06:41:34 UTC
More information on microformats here: http://microformats.org/ and http://schema.org
Comment 2 Laurent Montel 2016-05-02 07:32:24 UTC
could you provide mail example ?
Comment 3 JZA 2016-05-02 15:52:57 UTC
Here is a small example, the class respond to the microformat schema:
<div class="vcard">
   <a class="url fn" href="http://tantek.com/">Joe Smith</a>
   <a href="mailto:svs-office@informatik.uni-hamburg.de" class="email">Email us.</a><br/>
           Tel.: <span class="tel">+49 40 42883 - 2510</span><br/>
           Fax: +49 40 42883 - 2086 <br/>
           Room: F-631 <br>
</div>

versus the regular HTML:
<p>Joe Smith<br />
<a href="mailto:svs-office@informatik.uni-hamburg.de">Email us.</a><br />
Tel.: +49 40 42883 - 2510<br />
Fax: +49 40 42883 - 2086 <br/>
 Room: F-631 </p>

For a full list of schemas: http://microformats.org/wiki/hcard#Property_List
Comment 4 Laurent Montel 2016-05-02 16:50:34 UTC
I want a real example :)
Not a example from potential application :)