【发布时间】:2012-02-26 05:41:24
【问题描述】:
有没有办法在 Objective-C 中从网站读取 HTML 元标记?点赞:http://www.seocentro.com/tools/search-engines/metatag-analyzer.html
标签是:
<title> //// </title>
<meta name="keywords" content="Keyword">
<meta name="description" content="Description" />
元标记:
- 标题标签
- 描述标签
- 关键字
谢谢
【问题讨论】:
-
你说的是html元标签吗?从 html 字符串、由 NSURLConnection 访问的页面或从 UIWebView 访问的页面?
-
对不起,我编辑了帖子。
-
我认为您的意思是源代码中的跖骨。例如与 Doxygen 一起使用的那些。
-
你有你要找的这个链接:stackoverflow.com/a/7023229/648990
标签: html objective-c html-parsing