HTML-ExtractMeta
view release on metacpan or search on metacpan
t/10.extract.t view on Meta::CPAN
BEGIN {
use_ok( 'HTML::ExtractMeta' );
}
{
my $html = read_text( $FindBin::Bin . '/html/techcrunch.html' );
my $EM = HTML::ExtractMeta->new( html => $html );
is( $EM->title, "The 10 Best iOS And Android Games Of 2012", 'get_title' );
is( $EM->description, "Editor's note: Stephen Danos is the associate editor for the mobile app discovery site Appolicious. This yearâs most captivating games either pushed the envelope with state-of-the-art graphics and rich narratives, or perf...
is( $EM->url, "http://techcrunch.com/2012/12/29/the-10-best-ios-and-android-games-of-2012/", 'get_url' );
is( $EM->image_url, "http://tctechcrunch2011.files.wordpress.com/2012/12/app-stores.jpg?w=136", 'get_image_url' );
is( $EM->site_name, "TechCrunch", 'get_site_name' );
is( $EM->type, "article", 'get_type' );
is_deeply( $EM->keywords, [], 'get_keywords' );
}
{
my $html = read_text( $FindBin::Bin . '/html/wired.html' );
t/html/techcrunch.html view on Meta::CPAN
This yearâs most captivating games either pushe.." />
<meta property="og:site_name" content="TechCrunch"/>
<meta property="og:url" content="http://techcrunch.com/2012/12/29/the-10-best-ios-and-android-games-of-2012/"/>
<meta property="og:app_id" content="187288694643718" />
<meta property="og:title" content="The 10 Best iOS And Android Games Of 2012 | TechCrunch"/>
<meta property="og:type" content="article"/>
<meta property="og:image" content="http://tctechcrunch2011.files.wordpress.com/2012/12/app-stores.jpg?w=136"/>
<meta property="og:description" content="Editor's note:Â Stephen Danos is the associate editor for the mobile app discovery site Appolicious.
This yearâs most captivating games either pushed the envelope with state-of-the-art graphics and rich narratives, or perfected already proven formulas for touch-based devices. The best ti.."/>
<meta property="fb:admins" content="605136095,1076790301,500065899,543710097,216760,500024101,771265067,1661021707,1550970059,579140017,1060873546,663677613" />
<meta property="fb:app_id" content="187288694643718" />
<meta name="application-name" content="TechCrunch" /><meta name="msapplication-window" content="width=device-width;height=device-height" /><meta name="msapplication-tooltip" content="Startup and Technology News" /><meta name="msapplication-task" co...
<link rel="stylesheet" id="custom-css-css" type="text/css" href="http://s2.wp.com/?custom-css=1&csblog=1FaB8&cscache=6&csrev=24" />
<script type="text/javascript">
if(typeof adSetMOAT == 'function') {
adSetMOAT('1');
}
t/html/techcrunch.html view on Meta::CPAN
}
</script>
<!--
<PageMap>
<DataObject type="document">
<Attribute name="title">The 10 Best iOS And Android Games Of 2012</Attribute>
<Attribute name="author"></Attribute>
<Attribute name="description">Editor's note:Â Stephen Danos is the associate editor for the mobile app discovery site Appolicious.
This yearâs most captivating games either pushed the envelope with state-of-the-art graphics and rich narratives, or perfected already proven formulas for touch-based devices. The best titles also bridged the gap between casual and hardcore gamers....
<Attribute name="type">article</Attribute>
<Attribute name="post_date">Saturday, December 29th, 2012</Attribute>
<Attribute name="unixdate">1356796808</Attribute>
</DataObject>
<DataObject type="thumbnail">
<Attribute name="src" value="http://tctechcrunch2011.files.wordpress.com/2012/12/app-stores.jpg?w=400" />
</DataObject>
</PageMap>
-->
t/html/techcrunch.html view on Meta::CPAN
</div>
</div>
<div class="post-time">posted 8 hours ago</div>
<div class="comment-count"><a href="#comment-box"><fb:comments-count href="http://techcrunch.com/2012/12/29/the-10-best-ios-and-android-games-of-2012/"></fb:comments-count> Comments</a></div>
</div>
<div class="media-container media-loading"><img width="272" height="300" src="http://tctechcrunch2011.files.wordpress.com/2012/12/app-stores.jpg?w=272" class="attachment-half-width wp-post-image" alt="app-stores" /></div>
<div class="body-copy">
<p><strong>Editor’s note:</strong>Â <em><a target="_blank" href="http://drolldrumroll.tumblr.com/">Stephen Danos</a> is the associate editor for the mobile app discovery site <a target="_blank" href="http://www.appolicious.com/">Appolici...
<p>This yearâs most captivating games either pushed the envelope with state-of-the-art graphics and rich narratives or perfected already proven formulas for touch-based devices. The best titles also bridged the gap between casual and hardcore gamer...
<p>Some developers (Phosphor Games and Vivid Games, most notably) went for realistic 3D graphics that often packed in hours of story-based gameplay similar to console titles. Others like Rovio and RocketCat Games, stuck to churning out repetitive, ca...
<p>The developers with games in this list should be very proud of their creations. Despite certain genres being oversaturated (such as pick up and play or side-scrolling games) and the unpopular monetization trend of forcing customers to pay for cont...
<p>We also have a separate list of the <a href="http://techcrunch.com/2012/12/23/the-20-best-ios-and-android-apps-of-2012/">best iOS and Android apps</a> of 2012.</p>
<p><b><a href="http://techcrunch.com/2012/12/29/the-10-best-ios-and-android-games-of-2012/horn/" rel="attachment wp-att-727084"><img src="http://tctechcrunch2011.files.wordpress.com/2012/12/horn.png?w=100&h=100" alt="Horn" width="100" height="10...
</b>The character Horn is a young blacksmithâs apprentice who must defeat giant monsters who are villagers transformed by a horrible curse. Using a melee combat system similar to <a target="_blank" href="http://www.appolicious.com/games/apps/478390...
<p><b><a href="http://techcrunch.com/2012/12/29/the-10-best-ios-and-android-games-of-2012/arc-squadron/" rel="attachment wp-att-727085"><img src="http://tctechcrunch2011.files.wordpress.com/2012/12/arc-squadron.png?w=100&h=100" alt="ARC Squadron...
ARC Squadron is a rail shooter game that combines the retro experience of playing an old Nintendo 64 console game with state-of-the-art graphics geared specifically to touchscreen devices. Powered by the Unreal Engine 3 development toolkit, ARC Squad...
<p><b><a href="http://techcrunch.com/2012/12/29/the-10-best-ios-and-android-games-of-2012/angry-birds-star-wars/" rel="attachment wp-att-727086"><img src="http://tctechcrunch2011.files.wordpress.com/2012/12/angry-birds-star-wars.png?w=100&h=100"...
Star Wars merchandising, both before and after the Disney acquisition, has never felt so good. The newest edition to the Angry Birds family is just plain awesome. Old birds are re-dressed as Luke, Han, Obi-Wan, Chewie, and the rest. The birds also ge...
<p><b><a href="http://techcrunch.com/2012/12/29/the-10-best-ios-and-android-games-of-2012/rayman-jungle-run/" rel="attachment wp-att-727088"><img src="http://tctechcrunch2011.files.wordpress.com/2012/12/rayman-jungle-run.png?w=100&h=100" alt="Ra...
Apple named this Ubisoft title the 2012 game of the year, and for good reason. Many of us were totally praising this game before it was cool. Based on the utterly brilliant <i>Rayman: Origins </i>(a console-based platformer to rival even <i>Mario</i...
<p><b><a href="http://techcrunch.com/2012/12/29/the-10-best-ios-and-android-games-of-2012/letterpress-word-game/" rel="attachment wp-att-727089"><img src="http://tctechcrunch2011.files.wordpress.com/2012/12/letterpress-word-game.png?w=100&h=100"...
</b>Move over, <a target="_blank" href="http://www.appolicious.com/games/apps/27773-words-with-friends-free-zynga-mobile">Words With Friends</a>. Developed by atebits, Letterpress is an inventive multiplayer word game that mixes the strategies of Bog...
<p><b><a href="http://techcrunch.com/2012/12/29/the-10-best-ios-and-android-games-of-2012/beat-sneak-bandit/" rel="attachment wp-att-727090"><img src="http://tctechcrunch2011.files.wordpress.com/2012/12/beat-sneak-bandit.png?w=100&h=100" alt="Be...
Beat Sneak Bandit elegantly combines rhythm games (in which players tap along to the beat of the music playing in the game), with puzzle gameplay and stealth action. Youâll need to tap to the beat to make the Beat Sneak Bandit character take his sn...
<p><b><a href="http://techcrunch.com/2012/12/29/the-10-best-ios-and-android-games-of-2012/punch-quest/" rel="attachment wp-att-727091"><img src="http://tctechcrunch2011.files.wordpress.com/2012/12/punch-quest.png?w=100&h=100" alt="Punch Quest" w...
</b>Punch Quest is an impressive side-scrolling, endless running game where the main objective is to meet monstrous obstacles head-on with a barrage of uppercuts and jabs. Enemies include feeble skeletons, shield-wielding orcs, fire-breathing imps, a...
<p><b><a href="http://techcrunch.com/2012/12/29/the-10-best-ios-and-android-games-of-2012/real-boxing/" rel="attachment wp-att-727092"><img src="http://tctechcrunch2011.files.wordpress.com/2012/12/real-boxing.png?w=100&h=100" alt="Real Boxing" w...
</b>Real Boxing, developed by Vivid Games, delivers a one-two punch of well-designed gesture controls for a touchscreen combined with beautiful, console-quality graphics. Your deviceâs camera catches punch gestures using the V-Motion Gesture Contro...
<p><b><a href="http://techcrunch.com/2012/12/29/the-10-best-ios-and-android-games-of-2012/jetpack-joyride-2/" rel="attachment wp-att-727093"><img src="http://tctechcrunch2011.files.wordpress.com/2012/12/jetpack-joyride.png?w=100&h=99" alt="Jetpa...
</b>Jetpack Joyride, released by Halfbrick Studios on Android in September, is the endless running game closest to perfection. Although it launched and rocketed to the top of the charts on iOS in 2011, the gameâs presence in the Android Market was ...
<p><b><a href="http://techcrunch.com/2012/12/29/the-10-best-ios-and-android-games-of-2012/the-room/" rel="attachment wp-att-727094"><img src="http://tctechcrunch2011.files.wordpress.com/2012/12/the-room.png?w=100&h=100" alt="The Room" width="100...
</b>With The Room, Fireproof Games delivered the most intriguing puzzle game of the year. Mind-bending puzzles, a surreal atmosphere, and delectable 3D graphics in stunning HD quality make The Room a necessary app for every gamer who owns an iPad 2 o...
<div id="jp-post-flair" class="sharedaddy"></div>
<div style="clear:both;"></div>
</div>
</div>
<div class="single-tags">Tags: <a href="http://techcrunch.com/tag/ios-games/" rel="tag">iOS games</a>, <a href="http://techcrunch.com/tag/android-games/" rel="tag">Android games</a></div> <div id="grv-end-of-post"></div>
t/html/wired.html view on Meta::CPAN
<!-- cached custom_feed_global-nav_autopia on 2012-12-30 13:12:36 from http://www.wired.com/autopia/?feed=global-nav -->
<h3 class="feed-title"><a href="http://www.wired.com/autopia/">Autopia</a></h3>
<ul>
<li class="feed-content">
<a href="http://www.wired.com/autopia/2012/12/port-mann-bridge-ice/" class="module-globalnav"><span class="feed-thumbnail"><img src="/images/1x1.trans.gif" data-lazy-src="http://www.wired.com/images_blogs/autopia/2012/12/portmannbridge-e1356653998572...
</a></li>
<li class="feed-content">
<a href="http://www.wired.com/autopia/2012/12/calgary-travel-time-information-system/" class="module-globalnav"><span class="feed-thumbnail"><img src="/images/1x1.trans.gif" data-lazy-src="http://www.wired.com/images_blogs/autopia/2012/12/traffic-200...
</a></li>
<li class="feed-content">
<a href="http://www.wired.com/autopia/2012/12/backyard-formula-one/" class="module-globalnav"><span class="feed-thumbnail"><img src="/images/1x1.trans.gif" data-lazy-src="http://www.wired.com/images_blogs/autopia/2012/12/F1-200x100.jpg" alt="Race Fan...
</a></li>
</ul>
</li><li class="reviews">
<!-- cached custom_feed_global-nav_reviews on 2012-12-30 13:12:39 from http://www.wired.com/reviews/?feed=global-nav -->
<h3 class="feed-title"><a href="http://www.wired.com/reviews/">Reviews</a></h3>
<ul>
<li class="feed-content">
<a href="http://www.wired.com/reviews/2012/12/nocs-ns600-crush/" class="module-globalnav"><span class="feed-thumbnail"><img src="/images/1x1.trans.gif" data-lazy-src="http://www.wired.com/reviews/wp-content/uploads/2012/12/121018_Nocs600_100-200x100....
</a></li>
<li class="feed-content">
( run in 0.661 second using v1.01-cache-2.11-cpan-3cd7ad12f66 )