Hosting Details/API

Easily syndicate your content

With Meedu.org you have two simple options for podcast page hosting: use your personal subdomain, or host javascript inside your existing web page.


We also provide access to a JavaScript object which you could use in concert with your user defined Javascript on your page to completely control display and output.

Upload either using web browser or command line script. For web browsers, We recommend Firefox but any modern web browser is supported: Safari, Internet Explorer, and Opera, among others.



This sample script could be used to upload files into Meedu.org. It requires the "curl" program, available here. This allows anyone to automate publishing with other production processes.

#!/bin/bash

if [ "$1" == "" ] || [ "$2" == "" ] || [ "$3" == "" ] || \
[ "$4" == "" ] ||[ "$5" == "" ]; then
    echo "Usage:  upload.sh <filename> <username> <password> <title> <description>"
   echo "(enclose the arguments in quotes for multiple words)"
   exit
fi
if curl -s -o /dev/null -c ./piab-cookies.tmp -k -d "user[login]=$2" -d   \
"user[password]=$3" https://meedu.org/user/login; then 
    curl --progress-bar -o /dev/null -b ./piab-cookies.tmp \
-c ./piab-cookies.tmp -H Expect: -k -F "episode[title]=$4" \
-F "episode[description]=$5" -F  "episode_mp3_file=\@$3" \
https://meedu.org/episode/create
    rm ./piab-cookies.tmp
else
    echo "Cannot login, error"
fi