PHP script using soundcloud & mixcloud API (JSON) for a wordpress site

This project received 10 bids from talented freelancers with an average bid price of $225 USD.

Get free quotes for a project like this
Project Budget
Total Bids
Project Description

>>> Write a PHP script to replace soundcloud/mixcloud URL by playable mp3 objects (sm2player) on a wordpress theme


I am currently looking for someone with good php skills and soundcloud API experience or similar experience (JSON strings extraction)

This project requires to know how to :

- add 3 custom buttons in the wordpress post editor (one to add a soundcloud link, one to add a mixcloud link, one to add an onsite music link)

- use soundcloud API and mixcloud api to retrieve various datas from JSON

- write a script to turn a link from specific domain URL to a playable object (mixcloud URL and soundcloud URL)

My wordpress website is a music based website (artist/DJ) and I post soundcloud links on a regular basis.

I use an ajax script to allow music non stop playing.

I also use sm2player to list all the playable objects in the current page and play it all as a playlist.

Everything is working perfectly if I hard-code every link with related attributes in a specific way, but I want to facilitate the workflow in processing automatically those tasks just by submitting some music links with the buttons.

the result is here : [url removed, login to view]

> You can see on the demo page the input URL from soundcloud then the appropriate transformed link to get the JSON datas from the soundcloud API, and, finally the result : templated mp3 objects.

The template is already designed and I need to add 3 more buttons on my wordpress post editor (article >new) :

1. BUTTON > add a [url removed, login to view] MP3

2. BUTTON > add a [url removed, login to view] MP3

3. BUTTON > add a music file (MP3..)

1. BUTTON > add a [url removed, login to view] MP3

once clicked, the button toggles a popup asking for a soundcloud link.

their could be several [url removed, login to view] links on the same post. The popup is asking if there is more link to create an array. (button "+" on the popup to add more links)

the [url removed, login to view] url is also added to a custom field so that we can use it on different page position in the website (home page, related post block, …)

Once the new post is published :

1. The required PHP script detects music links from [url removed, login to view] in the current posted page

2. The function "resolve" from the soundcloud API get the JSON data from this particular link

3. We now should get the MP3 stream link from the JSON file and some other strings (artist name, song title...)

4. parse the collected datas with the exact following format :

... see PDF file attached for the correct output HTML code details....

2. BUTTON > add a [url removed, login to view] MP3

... see PDF file attached for details....

3. BUTTON > add a music file (MP3..)

... see PDF file attached for details....

I have some links to other existing website using the same technology to help you.

Thank you.

PS: demo here : [url removed, login to view]


Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online