https://github.com/amiad/phpsoundcloud2podcast
Convert Soundcloud playlist or user to podcast feed for PHP
https://github.com/amiad/phpsoundcloud2podcast
composer feed podcast podcast-feed rss soundcloud
Last synced: 5 months ago
JSON representation
Convert Soundcloud playlist or user to podcast feed for PHP
- Host: GitHub
- URL: https://github.com/amiad/phpsoundcloud2podcast
- Owner: amiad
- License: gpl-3.0
- Created: 2018-02-11T16:28:42.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-03-25T21:23:57.000Z (over 6 years ago)
- Last Synced: 2025-02-13T05:17:37.040Z (over 1 year ago)
- Topics: composer, feed, podcast, podcast-feed, rss, soundcloud
- Language: PHP
- Homepage: https://packagist.org/packages/amiad/soundcloud2podcast
- Size: 49.8 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PHPSoundcloud2Podcast
Convert Soundcloud playlist or user to podcast feed
[](https://gitter.im/PHPSoundcloud2Podcast/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[](https://cp.xscode.com/amiad/PHPSoundcloud2Podcast)
## Usage
### Manually Download
1. Download PHPSoundcloud2Podcast.
2. Install required dependencies with [Composer](https://getcomposer.org/):
`$ composer install`
3. Transfer souncloud url in url parameter:
`http://example.com/?url=https://soundcloud.com/user/`
### Composer
1. Install soundcloud2podcast:
`$ composer require amiad/soundcloud2podcast`
2. Create object:
```php
require_once __DIR__.'/vendor/autoload.php';
new \Soundcloud2Podcast\Soundcloud2Podcast(url, cacheTime);
```
- `url` **url string** Url to the souncloud page to convert.
- `cacheTime` _optional_ **string** Time to refresh the feed cache (example: `30 minutes`). Default: 1 hour.
## License
GPL.
An MIT licensed version is available on [xs:code](http://cp.xscode.com/amiad/PHPSoundcloud2Podcast).