-
2008-07-15
Automate Travel Itineraries into Outlook Calendar
版权声明:转载时请以超链接形式标明文章原始出处和作者信息及本声明
http://aerdna.blogbus.com/logs/24779931.html
Dear Outlook Developers,
I wish you could take note of what the smarty pants at Dopplr are doing, and automate the transfer of travel itineraries that I receive in email messages into my outlook calendar?
For your reference, here is the hint on how Dopplr realized the automation:
There are an awful lot of ways to format a travel itinerary. When people asked us to extract trips from emails, we looked at our long history of e-tickets, confirmations and reservations, and scratched our heads.
Inspiration came in the shape of Apple’s last OS X release, Leopard, and an intriguing feature called “Data detectors“.
We realised that instead of creating a piece of code to decode every email format out there, we could look for patterns of dates and place names in the text (and later, other information too) and turn those into trips.
A happy side-effect of this approach is that as well as extracting information from automatic reservation emails, it works well with short text strings like “I’ll be in San Francisco from 3rd July to 7th July”. This means we can work with many hand-written emails, with Twitters, and with SMSes too.
Of course it won’t work with every variation under the sun (for example, it’s most reliable when an email contains just a return trip in a single hop), but we’ve had very satisfying results in our testing. And of course every email you send us will be added to our test suite so that our engine can get better and better over time.
随机文章:
Sender's time zone in Microsoft Outlook? 2009-04-09hello dopplr, i've got an idea for you 2008-07-01Suggestion for GMail / Calendar 2008-06-24Outlook Web Access notifier for Firefox? 2008-06-24Suggestion for Google Calendar 2008-06-10
收藏到:Del.icio.us







