Given:
Url - http://www.contoso.com/search.php?q={param} returns:
-html-
--body-
{...}
---div id='foo'-
----div id='page1'/-
----div id='page2'/-
----div id='page3'/-
----div id='pageN'/-
---/div-
{...}
--/body-
-/html-
Wanted:
- The innerHtml of div id='foo' must be fetched by the client (i.e. Javascript).
- It will be split into discrete items (i.e. div id='page1' to div id='pageN').
- API Throttling prevents server-side code from pre-fetching the data, so the parsing and manipulation burden must be placed on the client.
Question:
- Could Yahoo-Pipes help format the data for easier consumption?
- The lack of a DOM parser gives me pause.
- Are there any existing pipes that could serve as an example?