All Projects → tichise → TIFeedParser

tichise / TIFeedParser

Licence: other
RSS Parser written in Swift

Programming Languages

swift
15916 projects
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to TIFeedParser

Leed
Leed (contraction de Light Feed) est un agrégateur RSS libre et minimaliste qui permet la consultation de flux RSS de manière rapide et non intrusive.
Stars: ✭ 160 (+788.89%)
Mutual labels:  atom, rss
Pushl
Push notification adapter for feeds
Stars: ✭ 25 (+38.89%)
Mutual labels:  atom, rss
Posidonlauncher
a one-page homescreen with a news feed
Stars: ✭ 163 (+805.56%)
Mutual labels:  atom, rss
Gofeed
Parse RSS, Atom and JSON feeds in Go
Stars: ✭ 1,762 (+9688.89%)
Mutual labels:  atom, rss
Gorss
Go Terminal Feed Reader
Stars: ✭ 191 (+961.11%)
Mutual labels:  atom, rss
Feedme.js
RSS/Atom/JSON feed parser
Stars: ✭ 132 (+633.33%)
Mutual labels:  atom, rss
Pluto
pluto gems - planet feed reader and (static) website generator - auto-build web pages from published web feeds
Stars: ✭ 174 (+866.67%)
Mutual labels:  atom, rss
Feedparser
Parse feeds in Python
Stars: ✭ 1,200 (+6566.67%)
Mutual labels:  atom, rss
Brief
RSS reader extension for Firefox
Stars: ✭ 184 (+922.22%)
Mutual labels:  atom, rss
Feed Module
Everyone deserves RSS, ATOM and JSON feeds!
Stars: ✭ 182 (+911.11%)
Mutual labels:  atom, rss
Rss Atom Bundle
RSS and Atom Bundle for Symfony
Stars: ✭ 123 (+583.33%)
Mutual labels:  atom, rss
V2
Minimalist and opinionated feed reader
Stars: ✭ 3,239 (+17894.44%)
Mutual labels:  atom, rss
Feedbag
Ruby's favorite feed auto-discovery library/tool
Stars: ✭ 115 (+538.89%)
Mutual labels:  atom, rss
Feedparser
feedparser gem - (universal) web feed parser and normalizer (XML w/ Atom or RSS, JSON Feed, HTML w/ Microformats e.g. h-entry/h-feed or Feed.HTML, Feed.TXT w/ YAML, JSON or INI & Markdown, etc.)
Stars: ✭ 156 (+766.67%)
Mutual labels:  atom, rss
Simplepie
A simple Atom/RSS parsing library for PHP.
Stars: ✭ 1,389 (+7616.67%)
Mutual labels:  atom, rss
Node Feedsub
Subscribes to RSS/Atom/JSON feeds and notifies on new items.
Stars: ✭ 170 (+844.44%)
Mutual labels:  atom, rss
Atoma
Atom, RSS and JSON feed parser for Python 3
Stars: ✭ 67 (+272.22%)
Mutual labels:  atom, rss
Discord feedbot
Moved to https://gitlab.com/ffreiheit/discord_feedbot
Stars: ✭ 67 (+272.22%)
Mutual labels:  atom, rss
Feedreader
C# RSS and ATOM Feed reader library. Supports RSS 0.91, 0.92, 1.0, 2.0 and ATOM. Tested with multiple languages and feeds.
Stars: ✭ 180 (+900%)
Mutual labels:  atom, rss
Feed Io
A PHP library to read and write feeds in JSONFeed, RSS or Atom format
Stars: ✭ 200 (+1011.11%)
Mutual labels:  atom, rss

TIFeedParser CocoaPods Version Platform License

TIFeedParser is a parser for RSS, built on Alamofire and AEXML.

TIFeedParser is a very simple RSS parser written in Swift, supporting Atom, RSS1.0 and RSS2.0. You can download it from cocoapods and use it.

Examples

RSS1.0, RSS2.0

    func loadRSS() {
        
        let feedString:String = "https://news.google.com/news?hl=us&ned=us&ie=UTF-8&oe=UTF-8&output=rss"

        AF.request(.GET, feedUrlString, parameters:nil)
            .response {request, response, xmlData, error  in
                
                if (xmlData == nil) {
                    return
                }
                
                TIFeedParser.parseRSS(xmlData, completionHandler: {(isSuccess, channel, error) -> Void in
                    
                    if (isSuccess) {
                        // self.items = channel.items!
                        // self.tableView.reloadData()
                    } else {
                        if (error != nil) {
                            print(error?.localizedDescription)
                        }
                    }
                })
        }
    }

Atom

	func loadAtom() {
        
        let feedString:String = "https://news.google.com/news?ned=us&ie=UTF-8&oe=UTF-8&q=nasa&output=atom&num=3&hl=ja"
        
        AF.request(.GET, feedUrlString, parameters:nil)
            .response {request, response, xmlData, error  in
                
                if (xmlData == nil) {
                    return
                }
                
                TIFeedParser.parseAtom(xmlData, completionHandler: {(isSuccess, feed, error) -> Void in
                    
                    if (isSuccess) {
                        // self.entries = feed.entries!
                        // self.tableView.reloadData()
                    } else {
                        if (error != nil) {
                            print(error?.localizedDescription)
                        }
                    }
                })
        }
    }

Installation (CocoaPods)

pod TIFeedParser

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].