Hi,
I have a question lets say i want to scrub information from http://tvtid.tv2.dk/ So if I want to scrub the image from the site.
So in html the image looks like this:
<div class="o-article_body_full"> <figure class="o-media"> <picture class="o-image_wrap img-16x9"> <!--[if IE 9]><video style="display: none;"><![endif]--> <source data-srcset="//imbo2.tv2.dk/users/tvtid/images/ebf57e4d-0f09-41b2-b3f3-c63dff3edff8.jpg?publicKey=drupal&t%5B0%5D=maxSize%3Aheight%3D79&t%5B1%5D=canvas%3Awidth%3D140%2Cheight%3D79%2Cmode%3Dcenter&accessToken=794bf87cb17979eb8dde1b38304ba7c1753496e91a1e5df2b317d755a16dcdcf 140w, //imbo2.tv2.dk/users/tvtid/images/ebf57e4d-0f09-41b2-b3f3-c63dff3edff8.jpg?publicKey=drupal&t%5B0%5D=maxSize%3Aheight%3D113&t%5B1%5D=canvas%3Awidth%3D200%2Cheight%3D113%2Cmode%3Dcenter&accessToken=a76117f832a9e07785ccf7a6a15f5dfd855d39d778e187b98b509cec6052afe4 200w, //imbo2.tv2.dk/users/tvtid/images/ebf57e4d-0f09-41b2-b3f3-c63dff3edff8.jpg?publicKey=drupal&t%5B0%5D=maxSize%3Aheight%3D169&t%5B1%5D=canvas%3Awidth%3D300%2Cheight%3D169%2Cmode%3Dcenter&accessToken=0ba51c1692690d033527d6251984e2b7da747fd93326b09be6d411080258ee58 300w, //imbo2.tv2.dk/users/tvtid/images/ebf57e4d-0f09-41b2-b3f3-c63dff3edff8.jpg?publicKey=drupal&t%5B0%5D=maxSize%3Aheight%3D270&t%5B1%5D=canvas%3Awidth%3D480%2Cheight%3D270%2Cmode%3Dcenter&accessToken=8b26d3ce10971fe5d85d8566c52d1a64fdbaa65172143f7ed9c39c437d8f370e 480w, //imbo2.tv2.dk/users/tvtid/images/ebf57e4d-0f09-41b2-b3f3-c63dff3edff8.jpg?publicKey=drupal&t%5B0%5D=maxSize%3Aheight%3D349&t%5B1%5D=canvas%3Awidth%3D620%2Cheight%3D349%2Cmode%3Dcenter&accessToken=53a2cac26f7c17025fc8980c003de64ae0ded487a9a35e8ba2f151c58b733cae 620w, //imbo2.tv2.dk/users/tvtid/images/ebf57e4d-0f09-41b2-b3f3-c63dff3edff8.jpg?publicKey=drupal&t%5B0%5D=maxSize%3Aheight%3D529&t%5B1%5D=canvas%3Awidth%3D940%2Cheight%3D529%2Cmode%3Dcenter&accessToken=de8637dbb22fb5a96f2d9d464e4012c23620745b15eb2e751bff74853ede9267 940w, //imbo2.tv2.dk/users/tvtid/images/ebf57e4d-0f09-41b2-b3f3-c63dff3edff8.jpg?publicKey=drupal&t%5B0%5D=maxSize%3Aheight%3D698&t%5B1%5D=canvas%3Awidth%3D1240%2Cheight%3D698%2Cmode%3Dcenter&accessToken=db2b902a8af0960da2658b138521723bcb022fde89acd46753d89f32fb62cc26 1240w, //imbo2.tv2.dk/users/tvtid/images/ebf57e4d-0f09-41b2-b3f3-c63dff3edff8.jpg?publicKey=drupal&t%5B0%5D=maxSize%3Aheight%3D1058&t%5B1%5D=canvas%3Awidth%3D1880%2Cheight%3D1058%2Cmode%3Dcenter&accessToken=e4f83441f6bb60dfe59ad4435c5e6ac0a9ca05a453fb5fe77c4f73ac1079c9cb 1880w" sizes="620px" srcset="//imbo2.tv2.dk/users/tvtid/images/ebf57e4d-0f09-41b2-b3f3-c63dff3edff8.jpg?publicKey=drupal&t%5B0%5D=maxSize%3Aheight%3D79&t%5B1%5D=canvas%3Awidth%3D140%2Cheight%3D79%2Cmode%3Dcenter&accessToken=794bf87cb17979eb8dde1b38304ba7c1753496e91a1e5df2b317d755a16dcdcf 140w, //imbo2.tv2.dk/users/tvtid/images/ebf57e4d-0f09-41b2-b3f3-c63dff3edff8.jpg?publicKey=drupal&t%5B0%5D=maxSize%3Aheight%3D113&t%5B1%5D=canvas%3Awidth%3D200%2Cheight%3D113%2Cmode%3Dcenter&accessToken=a76117f832a9e07785ccf7a6a15f5dfd855d39d778e187b98b509cec6052afe4 200w, //imbo2.tv2.dk/users/tvtid/images/ebf57e4d-0f09-41b2-b3f3-c63dff3edff8.jpg?publicKey=drupal&t%5B0%5D=maxSize%3Aheight%3D169&t%5B1%5D=canvas%3Awidth%3D300%2Cheight%3D169%2Cmode%3Dcenter&accessToken=0ba51c1692690d033527d6251984e2b7da747fd93326b09be6d411080258ee58 300w, //imbo2.tv2.dk/users/tvtid/images/ebf57e4d-0f09-41b2-b3f3-c63dff3edff8.jpg?publicKey=drupal&t%5B0%5D=maxSize%3Aheight%3D270&t%5B1%5D=canvas%3Awidth%3D480%2Cheight%3D270%2Cmode%3Dcenter&accessToken=8b26d3ce10971fe5d85d8566c52d1a64fdbaa65172143f7ed9c39c437d8f370e 480w, //imbo2.tv2.dk/users/tvtid/images/ebf57e4d-0f09-41b2-b3f3-c63dff3edff8.jpg?publicKey=drupal&t%5B0%5D=maxSize%3Aheight%3D349&t%5B1%5D=canvas%3Awidth%3D620%2Cheight%3D349%2Cmode%3Dcenter&accessToken=53a2cac26f7c17025fc8980c003de64ae0ded487a9a35e8ba2f151c58b733cae 620w, //imbo2.tv2.dk/users/tvtid/images/ebf57e4d-0f09-41b2-b3f3-c63dff3edff8.jpg?publicKey=drupal&t%5B0%5D=maxSize%3Aheight%3D529&t%5B1%5D=canvas%3Awidth%3D940%2Cheight%3D529%2Cmode%3Dcenter&accessToken=de8637dbb22fb5a96f2d9d464e4012c23620745b15eb2e751bff74853ede9267 940w, //imbo2.tv2.dk/users/tvtid/images/ebf57e4d-0f09-41b2-b3f3-c63dff3edff8.jpg?publicKey=drupal&t%5B0%5D=maxSize%3Aheight%3D698&t%5B1%5D=canvas%3Awidth%3D1240%2Cheight%3D698%2Cmode%3Dcenter&accessToken=db2b902a8af0960da2658b138521723bcb022fde89acd46753d89f32fb62cc26 1240w, //imbo2.tv2.dk/users/tvtid/images/ebf57e4d-0f09-41b2-b3f3-c63dff3edff8.jpg?publicKey=drupal&t%5B0%5D=maxSize%3Aheight%3D1058&t%5B1%5D=canvas%3Awidth%3D1880%2Cheight%3D1058%2Cmode%3Dcenter&accessToken=e4f83441f6bb60dfe59ad4435c5e6ac0a9ca05a453fb5fe77c4f73ac1079c9cb 1880w"> <!--[if IE 9]></video><![endif]--> <img src="http://imbo2.tv2.dk/users/tvtid/images/ebf57e4d-0f09-41b2-b3f3-c63dff3edff8.jpg?publicKey=drupal&t%5B0%5D=maxSize%3Aheight%3D349&t%5B1%5D=canvas%3Awidth%3D620%2Cheight%3D349%2Cmode%3Dcenter&t%5B2%5D=compress%3Alevel%3D15&accessToken=21173cf3fcedfbbfd7ee5b43c72fef2b2460c6c3d6634cfcb35097b6d018a4a7" class="o-image lazyautosizes lazyloaded" data-sizes="auto" alt="16x9" sizes="620px"> </picture> </figure> </div>
My question is how do I know what to scrub from html to get picture shown as "showicon", how can i sort out the useful info?.
It shows only channel logo this is not a channel logo its a picture. But how do I know what I need to grab, i am reading the documentation 2.1 4.2.1.1 The 'separator strings' method but I cant figure out which information from html to use?
Yes that I know the thing with the browser, so the img is located here
So when i implement it to the ini i do like this:
But this is not correct becouse i don't understand which html text to grab.
So how should I implement the picture in the ini file? Am I supposed to use regex method?
Yes so pasting image with full adress works in the browser it shows me the picture, but when I try to scrub it won't show.
This is my line.
index_showicon.scrub {single|o-image_wrap img-16x9">|<source data-srcset="|">|<i.m.g s.r.c="|"|class}
Thank you for your explain now I understand. :)