<table><tr><td style="">lbeltrame created this revision.<br />lbeltrame added a reviewer: vkrause.<br />Herald added a project: KDE PIM.<br />Herald added a subscriber: kde-pim.<br />lbeltrame requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D26258">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Booking.com's emails have several quirks when done with Japanese hotels:</p>

<ol class="remarkup-list">
<li class="remarkup-list-item">There is no indication of the country</li>
<li class="remarkup-list-item">The address contains the hotel name twice: once Romanized, once in Japanese</li>
<li class="remarkup-list-item">The address has two fields (one Romanized, one Japanese)</li>
<li class="remarkup-list-item">The order of the Japanese addresses is different</li>
</ol>

<p>This is somewhat a hack, but the booking.com emails are not structured<br />
enough to extract the information.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Tested a Japanese reservation HTML from booking.com, worked. Tested a<br />
non-Japanese reservation from booking.com, worked.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R1003 KItinerary: Travel Reservation handling library</div></div></div><br /><div><strong>BRANCH</strong><div><div>booking-com-japanese-address (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D26258">https://phabricator.kde.org/D26258</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/extractors/booking.js</div></div></div><br /><div><strong>To: </strong>lbeltrame, vkrause<br /><strong>Cc: </strong>kde-pim, fbampaloukas, dcaliste, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss, dvratil<br /></div>