ReadabilityKit
所属分类:C/C++基础
开发工具:Swift
文件大小:0KB
下载次数:0
上传日期:2023-05-18 07:09:44
上 传 者:
sh-1993
说明: Swift中新闻、文章和全文的预览提取器
(Preview extractor for news, articles and full-texts in Swift)
文件列表:
.travis.yml (429, 2023-05-18)
Assets/ (0, 2023-05-18)
Assets/demo.gif (2095475, 2023-05-18)
Assets/header.png (17749, 2023-05-18)
Cartfile (20, 2023-05-18)
Example macOS/ (0, 2023-05-18)
Example macOS/Example macOS.xcodeproj/ (0, 2023-05-18)
Example macOS/Example macOS.xcodeproj/project.pbxproj (14949, 2023-05-18)
Example macOS/Example macOS.xcworkspace/ (0, 2023-05-18)
Example macOS/Example macOS.xcworkspace/xcshareddata/ (0, 2023-05-18)
Example macOS/Example macOS.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist (238, 2023-05-18)
Example macOS/Example macOS/ (0, 2023-05-18)
Example macOS/Example macOS/AppDelegate.swift (1527, 2023-05-18)
Example macOS/Example macOS/Assets.xcassets/ (0, 2023-05-18)
Example macOS/Example macOS/Assets.xcassets/AppIcon.appiconset/ (0, 2023-05-18)
Example macOS/Example macOS/Assets.xcassets/AppIcon.appiconset/Contents.json (903, 2023-05-18)
Example macOS/Example macOS/Base.lproj/ (0, 2023-05-18)
Example macOS/Example macOS/Base.lproj/Main.storyboard (64938, 2023-05-18)
Example macOS/Example macOS/Info.plist (1178, 2023-05-18)
Example macOS/Example macOS/ViewController.swift (2101, 2023-05-18)
Example macOS/Podfile (85, 2023-05-18)
Example macOS/Podfile.lock (401, 2023-05-18)
Example/ (0, 2023-05-18)
Example/Podfile (117, 2023-05-18)
Example/Podfile.lock (401, 2023-05-18)
Example/ReadabilityKit.xcodeproj/ (0, 2023-05-18)
Example/ReadabilityKit.xcodeproj/project.pbxproj (19162, 2023-05-18)
Example/ReadabilityKit.xcodeproj/project.xcworkspace/ (0, 2023-05-18)
Example/ReadabilityKit.xcodeproj/project.xcworkspace/contents.xcworkspacedata (159, 2023-05-18)
Example/ReadabilityKit.xcodeproj/xcshareddata/ (0, 2023-05-18)
Example/ReadabilityKit.xcodeproj/xcshareddata/xcschemes/ (0, 2023-05-18)
Example/ReadabilityKit.xcodeproj/xcshareddata/xcschemes/ReadabilityKit-Example.xcscheme (4546, 2023-05-18)
Example/ReadabilityKit.xcworkspace/ (0, 2023-05-18)
Example/ReadabilityKit.xcworkspace/xcshareddata/ (0, 2023-05-18)
Example/ReadabilityKit.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist (238, 2023-05-18)
Example/ReadabilityKit/ (0, 2023-05-18)
Example/ReadabilityKit/AppDelegate.swift (1468, 2023-05-18)
Example/ReadabilityKit/Base.lproj/ (0, 2023-05-18)
Example/ReadabilityKit/Base.lproj/LaunchScreen.xib (3708, 2023-05-18)
... ...
ReadabilityKit
Preview extractor for news, articles and full-texts in Swift
___
We are a development agency building
phenomenal apps.
![](https://img.shields.io/github/v/tag/exyte/popupView?label=Version)
[![License: MIT](https://img.shields.io/badge/License-MIT-black.svg)](https://opensource.org/licenses/MIT)
[![Cocoapods Compatible](https://img.shields.io/badge/cocoapods-Compatible-brightgreen.svg)](https://cocoapods.org/pods/ExyteAnimatedTabBar)
[![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-0473B3.svg?style=flat)](https://github.com/Carthage/Carthage)
# !Project is now archived!
No further maintenance will be performed
## Features
Extracts:
- [x] Title
- [x] Description
- [x] Top image
- [x] Top video
- [x] Keywords
- [x] Date
## Usage
```swift
let articleUrl = URL(string: "https://someurl.com/")!
Readability.parse(url: articleUrl, completion: { data in
let title = data?.title
let description = data?.description
let keywords = data?.keywords
let imageUrl = data?.topImage
let videoUrl = data?.topVideo
let datePublished = data?.datePublished
})
```
To run the example project, clone the repo, and run `pod install` from the Example directory first.
## Installation
### [CocoaPods](http://cocoapods.org)
```ruby
pod 'ReadabilityKit'
```
### [Carthage](http://github.com/Carthage/Carthage)
```ogdl
github "exyte/ReadabilityKit"
```
### Manually
1. Install [Ji XML parser](https://github.com/honghaoz/Ji#manually).
2. Download and drop all files from Sources folder in your project.
## Development Environment Setup
1. Install [Carthage](https://github.com/Carthage/Carthage#installing-carthage).
2. Check out and build the project's dependencies:
```bash
carthage bootstrap --platform
```
## Requirements
- iOS 10.0+ / macOS 10.12+ / tvOS 10.0+ / watchOS 3.0+
## License
ReadabilityKit is available under the MIT license. See the LICENSE file for more info.
近期下载者:
相关文件:
收藏者: