• Hi,

    I’m wondering how difficult it will be to write a plugin/script that will automatically create posts for me.

    I have a script that generates a report in html (I have to report measurements for a school science project). Included in the report are a few image files for charts and graphs.

    I’m thinking of using WordPress to “blog” my daily reports. However, my system is automated. Currently, I would have to manually copy and paste (as well as upload the images) to wordpress using the wp-admin to post. I want to automate it so that my script will be run daily and all the data posted to wordpress without my intervention.

    I haven’t run into any scripts or plugins that will do automated posting. How hard will it be to hack/modify wordpress to do what I’m asking here?

    Programming for me is not a problem as I’m a senior Comp. Sci. Major. The real issue is how much of the core wordpress code will I have to hack? It doesn’t seem like this can be done as a plugin.

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thinking out loud, why not write the script to dump to an email, and then use the built in feature to post from that?

    There’s at least one plugin for enhanced post-to-email features, seems it might require less “hacking”.

    Again, just a thought.

    Thread Starter leemobile

    (@leemobile)

    Thanks!

    I didn’t even know that feature existed. That helps out a ton thanks.

    One thing though, my reports are huge and I only want to show the synopsis on my main wordpress index page. On the post, I want to link it to a wordpress page containing the full report.

    How do I create pages by email instead of posts? Can it be done?

    Just change your index.php to use the_excerpt instead of the_content template tag.

    Thread Starter leemobile

    (@leemobile)

    After digging around for awhile, I’ve found a solution that I’m happy with.

    Unfortunately, blogging by email is very restrictive in that it strips away most html tags so it won’t allow me to display images that I want them formatted.

    For future reference, if anyone encounters a similar problem, I didn’t realize that WordPress supports XML-RPC for remote posting. Why didn’t I think of this earlier (dugh!)!

    Well, time to go tinker with XML-RPC to get it working on wordpress.

    Thanks for the help miklb.

    Regarding the post by email, this plugin will help
    Postie

    anyone find or write a program that uses xmlrpc to do this?

    nada

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Automated Posting’ is closed to new replies.