Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/keith/ksadnpostparser
A small library to parse Markdown URLs for ADN posts
https://github.com/keith/ksadnpostparser
Last synced: about 1 month ago
JSON representation
A small library to parse Markdown URLs for ADN posts
- Host: GitHub
- URL: https://github.com/keith/ksadnpostparser
- Owner: keith
- License: mit
- Created: 2013-04-09T20:00:26.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-02-01T18:36:29.000Z (almost 11 years ago)
- Last Synced: 2024-10-03T17:45:30.787Z (about 1 month ago)
- Language: Objective-C
- Size: 301 KB
- Stars: 7
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# KSADNPostParser
This is a simpleish library for parsing [Markdown](http://daringfireball.net/projects/markdown/) flavored URLs. I created it to work with the [ADN API](http://developers.app.net/) but I guess it could be altered to work elsewhere.
[![Build Status](https://travis-ci.org/Keithbsmiley/KSADNPostParser.png?branch=master)](https://travis-ci.org/Keithbsmiley/KSADNPostParser)
## Usage
Import `KSADNPostParser.h` into your project. This library relies on you having some global keys definied for various dictionary keys. This can be seen in `KSContants` in the Example project. If you would like to run the tests in the Example project run `./setup.sh` from the root directory. You can look in the tests for some example usage. `KSADNPostParser.h` is also well documented.
```
[[KSADNPostParser shared] postDictionaryForText:post withBlock:^(NSDictionary *dictionary, NSError *error) {
// Handle error or use dictionary with post
}];
```