I'm writing a program where into a string
I've the code of an HTML page. Now, I need to get the text between the <article>
tag. My html page contain more than one article tag, so I need to get the text of the different article tags
An example of the article tag is:
<article class="item" data-recipe="119726">
<a class="loopimg pvideo" href="http://www.cookaround.com/ricetta/pasta-frolla-4.html" title="Leggi: Pasta frolla"><img src="http://cdn.cook.stbm.it/thumbnails/ricette/119/119726/hd400x225.jpg" alt="Leggi: Pasta frolla" /></a>
<h3><a href="http://www.cookaround.com/ricetta/pasta-frolla-4.html" title="Leggi: Pasta frolla">Pasta frolla</a></h3>
<ul><li>Difficoltà <span>bassa</span></li><li class="costo">Costo <span>basso</span></li><li>Realizzazione <span>10 min</span></li></ul>
</article>
So, I need to get the title="Leggi: Pasta frolla"
of every article tag where the title
is different for each tag.
How can I do this using c++?