D8583: Add semantic data extraction plugin
Volker Krause
noreply at phabricator.kde.org
Tue Oct 31 17:35:11 GMT 2017
vkrause created this revision.
Restricted Application added a project: KDE PIM.
Restricted Application added a subscriber: KDE PIM.
REVISION SUMMARY
This plugins looks for structured data about the email content inside HTML
mail parts based on the schema.org ontology, as can be found in e.g.
airline and hotel booking confirmation emails.
The only thing this does with that information for now is showing a simple
summary of a flight itinerary. That's already useful, so you don't have
to look through the usual several pages of poorly rendered HTML content.
Allowing to add booking details to your calendar is an obvious next step.
Seeing how many workarounds were needed to parse the real-world mails I
have here, I suspect this will need more adjustments, so please send me
test material :)
See also https://developers.google.com/gmail/markup/
REPOSITORY
R81 KDE PIM Addons
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D8583
AFFECTED FILES
plugins/messageviewer/bodypartformatter/CMakeLists.txt
plugins/messageviewer/bodypartformatter/autotests/CMakeLists.txt
plugins/messageviewer/bodypartformatter/autotests/structureddata/google-flight-reservation-json-ld.html
plugins/messageviewer/bodypartformatter/autotests/structureddata/google-flight-reservation-json-ld.json
plugins/messageviewer/bodypartformatter/autotests/structureddata/google-flight-reservation-microdata.html
plugins/messageviewer/bodypartformatter/autotests/structureddata/google-flight-reservation-microdata.json
plugins/messageviewer/bodypartformatter/autotests/structureddata/google-json-ld.html
plugins/messageviewer/bodypartformatter/autotests/structureddata/google-json-ld.json
plugins/messageviewer/bodypartformatter/autotests/structureddata/google-microdata-inline.html
plugins/messageviewer/bodypartformatter/autotests/structureddata/google-microdata-inline.json
plugins/messageviewer/bodypartformatter/autotests/structureddata/google-microdata.html
plugins/messageviewer/bodypartformatter/autotests/structureddata/google-microdata.json
plugins/messageviewer/bodypartformatter/autotests/structureddata/hotel-json-ld-fallback.html
plugins/messageviewer/bodypartformatter/autotests/structureddata/hotel-json-ld-fallback.json
plugins/messageviewer/bodypartformatter/autotests/structureddata/lh-invalid-microdata.html
plugins/messageviewer/bodypartformatter/autotests/structureddata/lh-invalid-microdata.json
plugins/messageviewer/bodypartformatter/autotests/structureddataextractortest.cpp
plugins/messageviewer/bodypartformatter/semantic/CMakeLists.txt
plugins/messageviewer/bodypartformatter/semantic/datatypes.cpp
plugins/messageviewer/bodypartformatter/semantic/datatypes.h
plugins/messageviewer/bodypartformatter/semantic/jsonlddocument.cpp
plugins/messageviewer/bodypartformatter/semantic/jsonlddocument.h
plugins/messageviewer/bodypartformatter/semantic/semantic_plugin.cpp
plugins/messageviewer/bodypartformatter/semantic/semantic_plugin.json
plugins/messageviewer/bodypartformatter/semantic/semanticmemento.cpp
plugins/messageviewer/bodypartformatter/semantic/semanticmemento.h
plugins/messageviewer/bodypartformatter/semantic/semanticprocessor.cpp
plugins/messageviewer/bodypartformatter/semantic/semanticprocessor.h
plugins/messageviewer/bodypartformatter/semantic/semanticrenderer.cpp
plugins/messageviewer/bodypartformatter/semantic/semanticrenderer.h
plugins/messageviewer/bodypartformatter/semantic/structureddataextractor.cpp
plugins/messageviewer/bodypartformatter/semantic/structureddataextractor.h
plugins/messageviewer/bodypartformatter/semantic/templates.qrc
plugins/messageviewer/bodypartformatter/semantic/templates/semantic.html
To: vkrause
Cc: #kde_pim, dvasin, winterz, vkrause, mlaurent, knauss, dvratil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20171031/48a3aa1f/attachment.html>
More information about the kde-pim
mailing list