标签: tfhpple

在目标C中解析HTML

我要解析我的iOS应用程序的Html.我在网上看到我应该使用Xpath,我找到了库TFHpple.我看到这个库使用了XpathQuery

<!DOCTYPE "html">
<html>   
    <head>
                <meta property="og:site_name" content="Sito 4"/>
        <meta property="og:title" content="home"/>
        <meta name="viewport" content="width=320" />
        <meta name="keywords" content="mobile website,microsite, mobdis,iphone,android" />
        <meta name="description" content="Amazingly designed using MobDis.com" />
        <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
        <meta name="format-detection" content="telephone=no" />
        <title>Sito 4/home</title>

        <!--[if (!IE)|(gte IE 8)]><!-->
<link href="http://cdn2.mobdis.me/assets/publish-3.4-datauri.css" media="screen" rel="stylesheet" type="text/css" />
<!--<![endif]-->
<!--[if lte IE 7]>
<link href="http://cdn2.mobdis.me/assets/publish-3.4.css" media="screen" rel="stylesheet" type="text/css" />
<![endif]-->


        <script type="text/javascript"></script>
        <style type="text/css">
            body{
                background-color: black;
            }
        </style>

    </head>
    <body>


        <div id='processingScreen' style="width:320px;height:417px;background-color:rgb(0, 0, 128)"><img alt="Publish_loading" src="http://cdn2.mobdis.me/pro_images/publish_loading.gif" …
Run Code Online (Sandbox Code Playgroud)

xpath objective-c html-parsing ios tfhpple

7
推荐指数
1
解决办法
2万
查看次数

标签 统计

html-parsing ×1

ios ×1

objective-c ×1

tfhpple ×1

xpath ×1