Skip to content
This repository was archived by the owner on Apr 9, 2020. It is now read-only.
This repository was archived by the owner on Apr 9, 2020. It is now read-only.

Improve WP API #28

@gmh04

Description

@gmh04

Currently some on the metadata of the WP API that the app requires needs to mined for on the content.rendered field on the API. This is error prone and potentially expensive on the js thread (esp. as the react-native-html-parser is failing on this HTML snippet). It would be helpful if the following field were added to the API:

images: [
    http://curiousedinburgh.org/wp-content/uploads/img1,png,
    http://curiousedinburgh.org/wp-content/uploads/img2,png,
    ...
]

The order of images is significant, as the first one will appear in the Tour Summary page.

The tour_stop number is in the form history_of_physics_tour_stop, history_of_science_tour_stop and history_of_geology_tour_stop. It would be better if this was simply tour_stop

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions