WordPress.org

Ready to get started?Download WordPress

Forums

How to convert podPress to podcasting plugin database? (34 posts)

  1. a666
    Member
    Posted 6 years ago #

    Hello,

    How I can convert my podPress database (~2000 casts) from
    http://wordpress.org/extend/plugins/podpress/
    to
    http://wordpress.org/extend/plugins/podcasting/

    Thanks in advance!

  2. cavemonkey50
    Member
    Posted 6 years ago #

    Hello a666,

    I will try to incorporate an importer in the next version. I had originally not included one as most podcasts tend to only keep about 15 episodes in their feed, enough to go back and manually convert. But I do agree, an importer would certainly make the process easier.

    Just note, I'm moving into the last month of my semester. My work load increases greatly right now, so I probably will not get around to creating an importer until early May.

  3. a666
    Member
    Posted 6 years ago #

    Now I think that we need at least Importer, so it will be possible for other users to export podcast from their system to text file (documented format wich will be used by importer). Or may be you can describe/document database format wich use your plugin, so we can export data to sql and then use it.

  4. Saberj
    Member
    Posted 5 years ago #

    So... how about that importer? I don't see anything about it still, and this was 6 months ago. An importer and the ability to have multiple podcasts are essential for me to make the switchover. Now that Podpress is all but dead, it would be nice to see.

    I have 6 podcasts at my site. Hundreds of episodes. Even if the feeds only hold a limited few, the rest need to be converted on my site...

  5. Dgold
    Member
    Posted 5 years ago #

    PodPress isn't dead. It works in WP 2.6 if you disable Post Revisions, which is easy.

    That said, I'd test the plugin called Podcasting more myself if it adds a Podpress Importer. I have 75+ episodes and growing so I wouldn't really want to manually re-post each episode.

  6. Samuel Wood (Otto)
    Tech Ninja
    Posted 5 years ago #

    PodPress works fine in 2.6 with a simple 2 line fix, and you can leave post revisions on as well.

    I know this to be true, as I'm using it on several sites. Seriously, I never will understand why people won't just search Google a little bit to solve their problems, as I posted the answer for PodPress 8.8 back in July:
    http://azaozz.wordpress.com/2008/07/31/podpress-in-wordpress-26/#comment-13

    First result on Google too:
    http://www.google.com/search?q=podpress+2.6

  7. Dgold
    Member
    Posted 5 years ago #

    Everyone did search Google, as well as this forum, looking for the answer. It's been discussed on this forum for months, in dozens of threads.

    http://www.google.com/search?q=podpress+site%3Awordpress.org%2Fsupport

    http://www.google.com/search?q=podpress+post+revisions+problem

    That is nice someone posted an alternative solution, for those who would rather not disable Post Revisions. But I wouldn't assume that WP users are unfamiliar with Google just because some opted to fix this with a different hack.

    In this thread we still wish to solve how to migrate from PodPress to "Podcasting" plugin, for those who want to try that!

  8. cavemonkey50
    Member
    Posted 5 years ago #

    First, I want to apologize for the extreme delay in getting a podPress importer together. I have some code already done, but it needs some more work for it to function.

    I have a few hours this afternoon, I'm going to see if I can finally get the importer working. I'll reply back a little later, and if I get something working, I'll release it for some help on testing.

  9. cavemonkey50
    Member
    Posted 5 years ago #

    Give this test version a try:

    http://downloads.wordpress.org/plugin/podcasting.zip

    There is now an importer in the Manage > Import page. I would recommend creating a database backup before running.

    Let me know how the importer worked.

  10. Saberj
    Member
    Posted 5 years ago #

    When I activate the plugin now, I get:

    Warning: include_once(podpress_importer.php) [function.include-once]: failed to open stream: No such file or directory in /home/geeksho1/public_html/dev/wp/wp-content/plugins/podcasting/podcasting.php on line 53

    Warning: include_once() [function.include]: Failed opening 'podpress_importer.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/geeksho1/public_html/dev/wp/wp-content/plugins/podcasting/podcasting.php on line 53

  11. cavemonkey50
    Member
    Posted 5 years ago #

    Sorry about that. I forgot to include that file in the archive. I'm correcting the issue now and within the next 15-30 minutes redownload and everything should be fine.

  12. Saberj
    Member
    Posted 5 years ago #

    Looks like the importer works great. Ran it on a dev copy of the site. Within a short period of time it had imported 148 episodes just fine.

  13. cavemonkey50
    Member
    Posted 5 years ago #

    Glad to hear it worked great. I intend to improve it slightly before 2.0 goes final, but if everything worked well for you, you should be alright.

  14. mistyliu
    Member
    Posted 5 years ago #

    When I tried to use the importer, I clicked on "start importing" and then it comes up with :

    "Successfully imported 0 podcasts"

    We have quite a number to import, and I am hoping that I am just missing something obvious. :)

    The site is patgray.com

  15. cavemonkey50
    Member
    Posted 5 years ago #

    mistyliu, would you mind emailing me (ron at cavemonkey50 dot com) your WordPress database. Here are directions and either method for backup of the database will work: http://codex.wordpress.org/Backing_Up_Your_Database

  16. Saberj
    Member
    Posted 5 years ago #

    I did want to say that while the import seems to have worked well with converting the podpress files to Podcasting attachments, it doesn't actually place the player link in the episodes that had them before. Perhaps because I used podpress' automatic placement, rather than manually placing it. Anyway that the importer could go ahead and place it at the end of a post if it hasn't placed it somewhere else?

  17. cavemonkey50
    Member
    Posted 5 years ago #

    Great feature suggestion Saberj. I'll add an option that says automatically place a player at the beginning / ending of a post.

  18. somefool
    Member
    Posted 5 years ago #

    Hi Cavemonkey50 and thanks for an alternative to PodPress.

    Im attempting to import my PodPress posts but on clicking import get this error:

    "Fatal error: Cannot use string offset as an array in /home/somefool/public_html/path/to/wp-content/plugins/podcasting/podpress_importer.php on line 53"

    the code around line 53 is
    $podcast = unserialize($data['meta_value']);
    $podcast[0]['post_id'] = $data['post_id'];
    $podcast[0]['itunes'] = unserialize($itunes_info[0]['meta_value']);

    Any fixes would be greatly appreciated

    Thanks.

  19. cavemonkey50
    Member
    Posted 5 years ago #

    I just checked in a potential fix. Let me know if it works.

  20. somefool
    Member
    Posted 5 years ago #

    I get this

    Warning: Invalid argument supplied for foreach() in /home/somefool/public_html/path/to/cms/wp-content/plugins/podcasting/podpress_importer.php on line 71

    Warning: Invalid argument supplied for foreach() in /home/somefool/public_html/path/to/cms/wp-content/plugins/podcasting/podpress_importer.php on line 71

    Fatal error: Cannot use string offset as an array in /home/somefool/public_html/path/to/cms/wp-content/plugins/podcasting/podpress_importer.php on line 88

  21. cavemonkey50
    Member
    Posted 5 years ago #

    Try the latest again. If this doesn't resolve it, what version of PHP is your server running?

  22. somefool
    Member
    Posted 5 years ago #

    Should I be getting the latest from here http://downloads.wordpress.org/plugin/podcasting.zip ?

  23. somefool
    Member
    Posted 5 years ago #

    Now says

    Fatal error: Cannot use string offset as an array in /home/somefool/public_html/fawcettmade/cms/wp-content/plugins/podcasting/podpress_importer.php on line 54

    php is version 5.2.5

  24. cavemonkey50
    Member
    Posted 5 years ago #

    If possible, could you send me a database dump of your WordPress install. The main table I need to look at is wp_postmeta. Something is weird in your install, and having that table would help figure out the issue.

  25. cavemonkey50
    Member
    Posted 5 years ago #

    I forgot to mention where to send it to. Email me at ron at cavemonkey50 dot com.

  26. somefool
    Member
    Posted 5 years ago #

    Sent

  27. a666
    Member
    Posted 5 years ago #

    Great feature suggestion Saberj. I'll add an option that says automatically place a player at the beginning / ending of a post.

    Is it already implemented? Right now I already have 3k podcasts with autoplacement, and will be try it soon.

  28. cavemonkey50
    Member
    Posted 5 years ago #

    No, it has not been implemented yet. I'm a college student and I've been swamped with work as late, and unfortunately have not found the time to work on adding functionality lately.

  29. alanft
    Member
    Posted 5 years ago #

    try the http://wpaudioplayer.com/ plugin. if you have an enclosure on your post, the wp-audioplayer plugin can auto insert a flash player for you.

  30. adaptiman
    Member
    Posted 5 years ago #

    I'm trying to patch the importer to work with WPMU. The only obvious change that I can see in the code is to change the name of the postmeta table to follow the WPMU naming convention. So in the file, wherever I see

    $wpdb->postmeta

    I've changed it to

    $wpdb->wp_1_postmeta

    This is a quick hack that would only run the script for the first blog, but it should work. When I run it, I get the error:

    Successfully imported 0 podcasts.

    Does anyone else see any other changes that are necessary to get the importer to work with WPMU?

Topic Closed

This topic has been closed to new replies.

About this Topic