Latest 1.0.1
Homepage https://github.com/fakerabbit/JauzziParser
License MIT
Platforms ios 11.0
Dependencies Alamofire
Authors

An RSS Feed Parser written in Swift.

cocoapods compatible
cocoapods compatible
language
documentation

Requirements

ios
xcode

Installation

CocoaPods

CocoaPods is a dependency manager for Swift and Objective-C Cocoa projects. You can install it with the following command:

$ gem install cocoapods

To integrate JauzziParser into your Xcode project, specify it in your Podfile:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '11.0'
use_frameworks!

target 'MyApp' do
  pod 'JauzziParser'
end

Then, run the following command:

$ pod install

Usage

import JauzziParser

JauzziParser.sharedInstance.fetchRss(url: "https://senalesdelfin.com/rss/") { [weak self] entries in
                print(entries)
            }

Entry Model


for entry:JEntry in entries {
  print(entry.link) // The entry url as a string
  print(entry.title) // The entry title as a string
  print(entry.description) // The entry summary/snippet as a string
  print(entry.pubDate) // The entry published date as a string
  print(entry.publishedDate) // Then entry published date as a Date
  print(entry.categories) // The entry's categories tag as an array of strings [String]
  print(entry.mediaContent) // The entry's hero image as a string url
  }

License

JauzziParser is released under the MIT license. See LICENSE for details.

Latest podspec

{
    "name": "JauzziParser",
    "version": "1.0.1",
    "summary": "An RSS feed parser written in Swift 3.0.",
    "swift_version": "4.0",
    "description": "An RSS feed parser written in Swift 4.0.nIt uses Alamofire for fetching the url and it uses Google's feed api to parse the feed.nnSample usage:nnimport JauzziParsernnJauzziParser.sharedInstance.fetchRss(url: "https://news.google.com/?output=rss") { [weak self] entries innprint(entries)n}",
    "homepage": "https://github.com/fakerabbit/JauzziParser",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Mirko Justiniano": "[email protected]"
    },
    "source": {
        "git": "https://github.com/fakerabbit/JauzziParser.git",
        "tag": "1.0.1"
    },
    "platforms": {
        "ios": "11.0"
    },
    "source_files": "JauzziParser/**/*.{swift}",
    "libraries": "xml2",
    "xcconfig": {
        "HEADER_SEARCH_PATHS": "$(SDKROOT)/usr/include/libxml2",
        "OTHER_LDFLAGS": "-lxml2"
    },
    "dependencies": {
        "Alamofire": [
            "~> 4.0"
        ]
    }
}

Pin It on Pinterest

Share This