HTML PARSE」カテゴリーアーカイブ

HTML PARSE

平成27年9月23日(水曜日)


HTML PARSE


How to Parse HTML on iOS -> Sample -> HTMLParsing
Hpple Objective-C open source library

  1. Master Detail Application
  2.  create a new file under the Model group
  3. Tutorial.h Tutorial.m Contributor.h  Contributor.m
  4. hpple download
  5. HTMLParsing group called “hpple,” and drag Copy
  6. Build Settings –> search paths –>  $(SDKROOT)/usr/include/libxml2
  7. Build Phases libxml2.dylib
  8. Now that everything is set up!!!!

XPathとは:XML文書に対する簡単な問い合わせ言語(↓)
XML Path Language
文字列を扱う関数: concat(), substring(), contains(), starts-with(), ends-with(), substring-before(), substring-after(), translate(), normalize-space(), string-length()

Wrapping libxml2 for Swift

HTML Parsing in swift
parsing HTML in swift
Swift:HTMLをParseする方法
Parsing HTML into ios
***XPath***
hpple XPath query for complex html
XML Path Language ウィキペディア
TFHppleElement
hpple elements within elements
NSRegularExpression を使わずに正規表現で置換する