All Projects → LMsgSendNilSelf → Webpageparser

LMsgSendNilSelf / Webpageparser

Licence: mit
A delightful xml and html parsing relish for iOS

Projects that are alternatives of or similar to Webpageparser

html2any
🌀 parse and convert html string to anything
Stars: ✭ 43 (-81.78%)
Mutual labels:  html-parser, xml-parser
Posthtml
PostHTML is a tool to transform HTML/XML with JS plugins
Stars: ✭ 2,737 (+1059.75%)
Mutual labels:  html-parser, xml-parser
Kanna
Kanna(鉋) is an XML/HTML parser for Swift.
Stars: ✭ 2,227 (+843.64%)
Mutual labels:  html-parser, xml-parser
Hquery.php
An extremely fast web scraper that parses megabytes of invalid HTML in a blink of an eye. PHP5.3+, no dependencies.
Stars: ✭ 295 (+25%)
Mutual labels:  html-parser, xml-parser
Fuzi
A fast & lightweight XML & HTML parser in Swift with XPath & CSS support
Stars: ✭ 894 (+278.81%)
Mutual labels:  html-parser, xml-parser
Sax Wasm
The first streamable, fixed memory XML, HTML, and JSX parser for WebAssembly.
Stars: ✭ 89 (-62.29%)
Mutual labels:  html-parser, xml-parser
Oga
Read-only mirror of https://gitlab.com/yorickpeterse/oga
Stars: ✭ 1,147 (+386.02%)
Mutual labels:  html-parser, xml-parser
Didom
Simple and fast HTML and XML parser
Stars: ✭ 1,939 (+721.61%)
Mutual labels:  html-parser, xml-parser
Minimize
Minimize HTML
Stars: ✭ 150 (-36.44%)
Mutual labels:  html-parser
Xml2lua
XML Parser written entirely in Lua that works for Lua 5.1+. Convert XML to and from Lua Tables 🌖💱
Stars: ✭ 150 (-36.44%)
Mutual labels:  xml-parser
Woodstox
The gold standard Stax XML API implementation. Now at Github.
Stars: ✭ 145 (-38.56%)
Mutual labels:  xml-parser
Html Agility Pack
Html Agility Pack (HAP) is a free and open-source HTML parser written in C# to read/write DOM and supports plain XPATH or XSLT. It is a .NET code library that allows you to parse "out of the web" HTML files.
Stars: ✭ 2,014 (+753.39%)
Mutual labels:  html-parser
Parse Xml
A fast, safe, compliant XML parser for Node.js and browsers.
Stars: ✭ 184 (-22.03%)
Mutual labels:  xml-parser
React Native Htmlview
A React Native component which renders HTML content as native views
Stars: ✭ 2,546 (+978.81%)
Mutual labels:  html-parser
Xmlbuilder2
An XML builder for node.js
Stars: ✭ 143 (-39.41%)
Mutual labels:  xml-parser
Nokogiri
HTML parser for PHP - Парсер HTML
Stars: ✭ 214 (-9.32%)
Mutual labels:  html-parser
Unhtml.rs
A magic html parser
Stars: ✭ 180 (-23.73%)
Mutual labels:  html-parser
Nsoup
NSoup is a .NET port of the jsoup (http://jsoup.org) HTML parser and sanitizer originally written in Java
Stars: ✭ 145 (-38.56%)
Mutual labels:  html-parser
Web Database Analytics
Web scrapping and related analytics using Python tools
Stars: ✭ 175 (-25.85%)
Mutual labels:  xml-parser
Xmlquery
xmlquery is Golang XPath package for XML query.
Stars: ✭ 209 (-11.44%)
Mutual labels:  xml-parser

WebPageParser

A delightful xml and html parsing relish for iOS

How to use

For parsing html, we can use the code below:

NSString *webFile = [[NSBundle mainBundle] pathForResource:@"demo" ofType:@"xml"];
NSString *webStr = [NSString stringWithContentsOfFile:webFile
                                           encoding:(NSUTF8StringEncoding)
                                              error:nil];
HTMLTagParser *parser = [HTMLTagParser parserWithWebPageContent:webStr tagName:obj];

Or if needing parsing xml, we can use the method:

XMLTagParser *parser = [XMLTagParser parserWithWebPageContent:self.xmlContent tagName:obj];

In addition, if we could't know the type of webpage is html or xml,we can use

TagParser *parser = [TagParser parserWithWebPageContent:self.xmlContent tagName:obj];

The Third Dependency

RegExCategories

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].