Title: Automated posting from a script
Last modified: August 18, 2016

---

# Automated posting from a script

 *  [Massyn](https://wordpress.org/support/users/massyn/)
 * (@massyn)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/automated-posting-from-a-script/)
 * Hi all,
 * WordPress and podpress are a great combination for my podcasts, but I’d like 
   to automate the posting of episodes. I have an external perl script running on
   my PC that is responsible for the encoding of the show in MP3 via lame. I’m currently
   working on the automated upload to my site, but then, the next step is posting
   the show through WordPress…
 * On my PC, I have all the detail (available through the script), so I’m looking
   perhaps for a way where I could connect to WordPress from a script, and post 
   a show. Maybe there’s a way I could use curl, connect to WordPress and post the
   episode, all in one go.
 * Alternatively, I could perhaps put a new script on my server, that simply pumps
   the data into the database. That bit is easy to do, but the difficulty I see 
   is getting the correct fields and correct SQL statements to insert a new post,
   into the right category, with Podpress support.
 * Any ideas ? I’d like to hear your thoughts on the topic.
 * Cheers
 * Massyn

Viewing 1 replies (of 1 total)

 *  [infonistacrat](https://wordpress.org/support/users/infonistacrat/)
 * (@infonistacrat)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/automated-posting-from-a-script/#post-616880)
 * Massyn,
    I have been looking into something like this as well, and it could be
   easily scripted, I would think. Basically, upload your content, then have a perl
   script generate a rss feed for the new episode. Then use a plugin like WP-o-Matic
   to do the posting for you.
 * I have yet to put the whole thing together end to end, but I played with the 
   plugin, and it really is a slick piece of work.

Viewing 1 replies (of 1 total)

The topic ‘Automated posting from a script’ is closed to new replies.

## Tags

 * [curl](https://wordpress.org/support/topic-tag/curl/)
 * [posts](https://wordpress.org/support/topic-tag/posts/)
 * [sql](https://wordpress.org/support/topic-tag/sql/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [infonistacrat](https://wordpress.org/support/users/infonistacrat/)
 * Last activity: [18 years, 8 months ago](https://wordpress.org/support/topic/automated-posting-from-a-script/#post-616880)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
