Skip to content

Recognize text-based nutrients in HTML #3

@WPDOrdina

Description

@WPDOrdina

As requested in #1, this issue calls for recognizing text-based nutrients in html. This is something for the future, but here a start is made. Below is something that occurs on the Aldi website in the UK.

<h2 class="h5 font-weight-bold">Specifications</h2>
<table class="table table-striped">
  <tr>
    <th>Nutrition information</th>
    <td>Per 100g: Energy 1543kJ, 371kcal Fat 25g of which saturates 12g Carbohydrate 28g of which sugars 16g Fibre 1.6g Protein 7.5g Salt 0.21g</td>
  </tr>
</table>

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestwontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions