Skip to content

Instantly share code, notes, and snippets.

View svanschalkwyk's full-sized avatar

Steph van Schalkwyk svanschalkwyk

View GitHub Profile
<tagger class="com.norconex.importer.handler.tagger.impl.DOMTagger" parser="html" >
<dom toField="p_name" selector="[class^=ProductPage__title___]" extract="text" defaultValue="NAME"/>
<dom toField="p_price" selector=".Price__salePrice___3YEJa.Price__salePriceItemDetail___3zgGh" extract="html" />
<dom toField="p_ingredients" selector="[data-automation-id=ingredients] div" extract="text"/>
<dom toField="p_similar_products" selector=".productTile__productTileImageLink___1k1Vd" extract="attr(href)"/>
<dom toField="p_images" selector="img.prod-HeroImageCarousel-image" extract="attr(src)"/>
<dom toField="p_prod_image" selector="[data-tl-id=ProductPage-primary-image]" extract="outerHtml"/>
<dom toField="p_sku" selector=".productTile__details___3lfva .productTile__hiddenSku___fT5S0" extract="html"/>
<dom toField="p_features" selector=".ProductAttribute__value2___1VnqJ" extract="text"/>
<?xml version='1.0' encoding='UTF-8'?>
<docs>
<doc-add>
<reference>https://grocery.walmart.com/ip/Fresh-Raspberries-12-oz/44390957</reference>
<metadata>
<meta name="p_short_description">Relish in the sweet, light flavor of Fresh Raspberries. Enjoy them for breakfast, lunch, dinner, or dessert. Use them as topping for decadent chocolate cake, bake them in mouthwatering scones, or create a tangy sauce and serve it over a grilled salmon fillet, or puree them for a sweet jam. They contain essential vitamins and nutrients like, vitamin C, vitamin K, iron, and manganese making them perfect for a healthy diet. Prior to serving simply gently wash them with cool water and enjoy the fresh taste. Refrigerate the berries to keep them fresh and ready for use. Pick up Fresh Raspberries today and savor the delectable flavor.</meta>
<meta name="p_sku">3000213284</meta>
<meta name="p_features">Raspberries</meta>
<meta name="p_features">Relish in the sweet, light flavor of Fresh Raspberries.