MathWeb Search XML API
Alberto González Palomo
URL: http://betasearch.mathweb.org/search-xml.php
Example query:
HTTP query parameters: (same names as used by Google)
- num: number of results per page.
- start: start result index for the current page.
- q: query as Content MathML with MWS query attributes and elements.
The root element is either <success> or <error>:
-
<success>
Attributes:
- identifier: MWS query identifier.
- seconds: time for the main MWS query, not including the details queries time.
- total: total result count.
- num: results per page as requested, or default 10.
- start: index of first result in the page, or default 0.
Content: a sequence of <entry> or <error> elements.-
<entry>
Attributes:
- href: result URL.
- rank: result rank, a number between 0.0 and 1.0.
- title: result title.
- description: result description.
Content: one <match> element, and a sequence of <substitution> elements.-
<match>
Attributes:
- href: result URL again, from the DETAIL query. Should be the same.
Content: whole matched formula, normally as MathML.
-
<substitution>
Attributes:
- for: generic term identifier.
Content: subformula, normally as MathML.
-
<error>
Attributes:
- code: error code, a unique identifier, so that errors can be recognized independently of the human-readable message which could be in different languages.
- message: error message.




