When I click “view source” on this page:
[url]http://www.starcitygames.com/magic/standard/22684_Tracking_The_Storm_Lessons_Learned_In_Boston.html
I see this code:
[code=html]tooltip=”Birds%2Bof%2BParadise”>Birds of Paradise</a><br />1 <a class=”card_popup” href=”http://sales.starcitygames.com/cardsearch.php?game_type=1&singlesearch=Consecrated+Sphinx”
rel=”
<div style=’text-align: center; height: 360px; padding: 2px’>
<a href=’http://sales.starcitygames.com/pop.php?name=Consecrated+Sphinx’ target=’_new’>
<img src=’http://static.starcitygames.com/sales/cardscans/POPUPS/consecrated_sphinx.jpg’ border=’0′ alt=’Consecrated+Sphinx’ /><br />
<br />
<img src=’http://static.starcitygames.com/www/images/banners/media/mouseover/buy-this-card.jpg’ width=’182′ height=’33’ border=’0′ alt=’Buy This Card!’>
</a>
</div>”
But when I click on view element I see this code:
[code=html]<a class=”card_popup” href=”http://sales.starcitygames.com/cardsearch.php?game_type=1&singlesearch=Acidic+Slime” rel=”
<div style=’text-align: center; height: 360px; padding: 2px’>
<a href=’http://sales.starcitygames.com/pop.php?name=Acidic+Slime’ target=’_new’>
<img src=’http://static.starcitygames.com/sales/cardscans/POPUPS/acidic_slime.jpg’ border=’0′ alt=’Acidic+Slime’ /><br />
<br />
<img src=’http://static.starcitygames.com/www/images/banners/media/mouseover/buy-this-card.jpg’ width=’182′ height=’33’ border=’0′ alt=’Buy This Card!’>
</a>
</div>” tooltip=”Acidic%2BSlime”>Acidic Slime</a>
I’m downloading the website using this code in objective c:
[CODE]ASIHTTPRequest *request = [ASIHTTPRequest requestWithURL:url];
[request setDefaultResponseEncoding:NSUTF8StringEncoding];
[request startSynchronous];
NSError *error = [request error];
storyHTML = [request responseString];
But for some reason I keep getting the HTML with the actual brackets >. I want to download the code that has the </div> characters.
Any ideas??
Thanks!