Patches: Browse | Submit New | Admin

[#26443] error when Yahoo! Local omits an element

Date:
2009-06-27 19:49
Priority:
3
Submitted By:
Erik Ostrom (eostrom)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
error when Yahoo! Local omits an element

Detailed description
Yahoo! seems to have changed their service to omit the BusinessUrl element (sometimes? always? don't know). YM4R tries
to get the BusinessUrl element and then get its text, which fails. But instead we can request the text directly from
the parent element (Result), which returns nil. See patch.

Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
ym4r-null-elements-fix.diff patch to handle missing Yahoo! Local result elements gracefully Download

Changes:

Field Old Value Date By
File Added4680: ym4r-null-elements-fix.diff2009-08-12 06:47eostrom