Skip to content

Commit

Permalink
add the readme and remove some html contents from file
Browse files Browse the repository at this point in the history
  • Loading branch information
pujak17 committed Jun 10, 2024
1 parent 20c09fb commit 99232dd
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 164 deletions.
16 changes: 12 additions & 4 deletions tests/resources/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,18 @@

* `mixed-jsonld-microdata.html` - A real world example of a website containing both JSON-LD tags, and Microdata, as well as having more than one JSON-LD tag. (Source: https://www.zeit.de/zeit-magazin/2023-06/schokolade-tonys-tafel-genuss)

## Related to other projects
## Related to other cookbook issues:

* `resources/cookbook-issue-campbells.html` - HTML pulled from hellofresh.de, which caused an issue in [nextcloud/cookbook](https://github.com/nextcloud/cookbook). See: https://github.com/nextcloud/cookbook/issues/1509.
* `resources/cookbook-issue-campbells.html` - HTML pulled from campbells.com, which caused an issue in [nextcloud/cookbook](https://github.com/nextcloud/cookbook). See: https://github.com/nextcloud/cookbook/issues/1647.

* `resources/cookbook-issue-indian-recipie.html` - HTML pulled from marmiton.org, which caused an issue in [nextcloud/cookbook](https://github.com/nextcloud/cookbook). See: https://github.com/nextcloud/cookbook/issues/1592.
* `resources/cookbook-issue-indian-recipie.html` - HTML pulled from vegrecipesofindia.com, which caused an issue in [nextcloud/cookbook](https://github.com/nextcloud/cookbook). See: https://github.com/nextcloud/cookbook/issues/1638.

* `cookbook-issue-rewe.html` - HTML pulled from rezeptwelt.de, which caused an issue in [nextcloud/cookbook](https://github.com/nextcloud/cookbook). See: https://github.com/nextcloud/cookbook/issues/1508.
* `resources/cookbook-issue-rewe.html` - HTML pulled from rewe.de, which caused an issue in [nextcloud/cookbook](https://github.com/nextcloud/cookbook). See: https://github.com/nextcloud/cookbook/issues/1458.

* `resources/cookbook-issue-swrfernsehen.html` - HTML pulled from swrfernsehen.de, which caused an issue in [nextcloud/cookbook](https://github.com/nextcloud/cookbook). See: https://github.com/nextcloud/cookbook/issues/1617.

* `resources/cookbook-issue-toutesrecettes.html` - HTML pulled from toutesrecettes.com, which caused an issue in [nextcloud/cookbook](https://github.com/nextcloud/cookbook). See: https://github.com/nextcloud/cookbook/issues/1664.

* `resources/cookbooks-issue-backerby-nature.html` - HTML pulled from bakerbynature.com, which caused an issue in [nextcloud/cookbook](https://github.com/nextcloud/cookbook). See: https://github.com/nextcloud/cookbook/issues/1639.

* `resources/cookbooks-issue-holy-cow-vegan.html` - HTML pulled from holycowvegan.net, which caused an issue in [nextcloud/cookbook](https://github.com/nextcloud/cookbook). See: https://github.com/nextcloud/cookbook/issues/1637.
100 changes: 5 additions & 95 deletions tests/resources/cookbook-issue-campbells.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@
<div class="search_form"></div> </div>
</div>

<div class="gma_signup test "></div>

<div class="container container--smaller" id="content">
<nav role="navigation" class="breadcrumbs">
<ol itemscope itemtype="https://schema.org/BreadcrumbList" aria-label="breadcrumb navigation">

<li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
Expand All @@ -34,160 +31,73 @@
</li>

</ol>
</nav>
</div>




<div class="recipe-instructions">



<div class="nutrition-facts__single js-button-toggle__container" id="dumbells-condensed-potato-gravy">
<div class="nutrition-table-scroll" itemprop="nutrition" itemscope itemtype="http://schema.org/NutritionInformation">
<table>
<tbody>
<tr>
<td>
<strong>Calories</strong>
</td>

<td itemprop="calories">
240 </td>
<td>
</td>
</tr>
<tr>
<td>
<strong>Total Fat</strong>
</td>

<td itemprop="fat-total">
8 </td>
<td>
g </td>
</tr>
<tr>
<td>
<strong>Sat. Fat</strong>
</td>
>
<td itemprop="saturated-fat">
5 </td>
<td>
g </td>
</tr>
<tr>
<td>
<strong>Trans Fat</strong>
</td>

<td itemprop="transfat">
0 </td>
<td>
g </td>
</tr>
<tr>
<td>
<strong>Cholesterol</strong>
</td>
<td itemprop="cholesterol">
36 </td>
<td>
mg </td>
</tr>
<tr>
<td>
<strong>Sodium</strong>
</td>
<td itemprop="sodium">
215 </td>
<td>
mg </td>
</tr>
<tr>
<td>
<strong>Total Carb</strong>
</td>

<td itemprop="carbohydrate-total">
41 </td>
<td>
g </td>
</tr>
<tr>
<td>
<strong>Dietary Fiber</strong>
</td>
<td itemprop="dietary-fiber">
1 </td>
<td>
g </td>
</tr>
<tr>
<td>
<strong>Sugar</strong>
</td>
<td itemprop="sugars">
31 </td>
<td>
g </td>
</tr>
<tr>
<td>
<strong></strong>
</td>
<td itemprop="">
</td>
<td>
</td>
</tr>
<tr>
<td>
<strong>Protein</strong>
</td>
<td itemprop="protein">
3 </td>
<td>
g </td>
</tr>
<tr>
<td>
<strong>Vitamin D</strong>
</td>
<td itemprop="vitamin-d-dv">
2 </td>
<td>
%DV </td>
</tr>
<tr>
<td>
<strong>Calcium</strong>
</td>
<td itemprop="calcium-dv">
6 </td>
<td>
%DV </td>
</tr>
<tr>
<td>
<strong>Iron</strong>
</td>
<td itemprop="iron-dv">
4 </td>
<td>
%DV </td>
</tr>
<tr>
<td>
<strong>Potassium</strong>
</td>
<td itemprop="potassium-dv">
2 </td>
<td>
%DV </td>
</tr>
</tbody>
</table>
</div>
</div>


<script type="application/ld+json">
{"@context":"http:\/\/schema.org\/","@type":"Recipe","name":"potato gravy Spice tiny cakes in a cup","image":{"1":"https:\/\/www.example.com\/recipes\/wide_cknew\/wide_24354.jpg","3":"https:\/\/tls-v1-0.badssl.com:1010","4":"https:\/\/www.example.com\/recipes\/square_cknew\/square_24354.jpg"},"url":"https:\/\/www.dumbells.com\/recipes\/potato-gravy-spice-cake\/","author":{"@type":"Thing","name":"dumbell's Kitchen"},"keywords":"","datePublished":"2021-07-08","description":"Ever ventured outside the culinary box? These potato gravy Spice tiny cakes in a cup will surprise you with their unexpected ingredient and irresistible taste. condensed potato gravy adds a beautiful reddish hue to this otherwise classic cupcake recipe, and keeps the cake nice and moist under the vanilla cream cheese frosting. The most fun you&#8217;ll have apart from eating potato gravy Spice tiny cakes in a cup is telling people what&#8217;s inside. And if you&#8217;re hungry for more adventurous treats, try our Easy potato gravy Spice Waffles for breakfast or brunch! You can make them with just 4 ingredients- see the tip below to learn how!","aggregateRating":{"@type":"AggregateRating","ratingValue":"4.33","reviewCount":"30","bestRating":"5","worstRating":"1"},"prepTime":"PT20M","cookTime":"PT20M","totalTime":"PT1H0M","recipeYield":"24 servings","nutrition":{"@type":"NutritionInformation","servingSize":"servings","calories":"240cal","carbohydrateContent":"31.44g","cholesterolContent":"4.5g","fatContent":"69","fiberContent":"76mcg","proteinContent":"1mg","saturatedFatContent":"7.7g","sodiumContent":"0.2g"},"recipeIngredient":["2 cups all purpose flour, sifted","1 1\/2 tablespoons baking powder","1 1\/2 teaspoons ground allspice","1 teaspoon ground cinnamon","1\/2 teaspoon ground cloves","1\/2 cup (1 stick) butter, softened","1 1\/3 cups granulated sugar","2 egg, at room temperature","1\/2 cup milk&#160;(amount divided in recipe steps below)","1 can (10 3\/4 ounces) dumbell&#8217;s&#174; Condensed potato gravy","1 package (8 ounces) cream cheese, softened","1 teaspoon vanilla extract","1 package (16 ounces) confectioners' sugar"],"recipeInstructions":[[{"@type":"HowToStep","text":"Heat the oven to 350&#176;F"},{"@type":"HowToStep","text":"While the oven is heating, whisk the flour, baking powder, allspice, cinnamon and cloves in a large bowl until evenly mixed"},{"@type":"HowToStep","text":"Beat the butter and granulated sugar in a large bowl with an electric mixer at medium speed until the mixture is creamy, about 3 to 4 minutes"},{"@type":"HowToStep","text":"Add the eggs, one at a time, beating just until mixed after each addition"},{"@type":"HowToStep","text":"Add 1\/4 cupmilk and the soup, beating until well blended"},{"@type":"HowToStep","text":"Add the flour mixture and beat on low just until well blended"},{"@type":"HowToStep","text":"Line24muffin-pan cups with paper liners"},{"@type":"HowToStep","text":"Divide the batter among the cups"},{"@type":"HowToStep","text":"Bake for 20 minutes or until a toothpick inserted comes out clean"},{"@type":"HowToStep","text":"Let the tiny cakes in a cup cool in the pans on wire racks for 20 minutes"},{"@type":"HowToStep","text":"While the tiny cakes in a cup are cooling, beat the remaining 1\/4 cup milk, cream cheese and vanilla in a medium bowl with an electric mixer on medium speed until the mixture is creamy"},{"@type":"HowToStep","text":"Gradually beat in the confectioners&#39; sugar until the frosting is the desired consistency (you can add a bit more milk if needed- frostingshould be smooth and hold its shape when lifted with a spoon, but still soft enough to spread)"},{"@type":"HowToStep","text":"Frost the tiny cakes in a cup with the frosting"},{"@type":"HowToStep","text":"Sprinkle with grated orange zest, if desired"}]]}
Expand Down
Loading

0 comments on commit 99232dd

Please sign in to comment.