• Resolved phil2016

    (@phil2016)


    Hello.

    I have a scraper on my VPS server that scrapes data from various places and puts the data in a dedicated database for the scraper.
    
    On the same VPS/Server I have a WP Site that I want to add some of that data to.
    
    All the WP All Import documents seem to talk about importing from a file, but none seem to explain how to get data from a database.
    
    I saw this on the Plugin page, which seems to say it can do what I need:
    <em>Import files from a URL – Download and import files from external websites, even if they are password protected with HTTP authentication. URL imports are integrated with the recurring/cron imports feature, so WP All Import can periodically re-download the files and add, edit, and delete posts accordingly.</em>
    
    But I cannot find any information on how to actually set this up or achieve it.
    When I select to import from a URL, it returns an error for every address I try.
    
    Can WP All Import, import data directly from a database?
    
    OR do I have to set up a separate process for outputting the DB contents to a file so WP All Import can access it — less keen on this idea because, well, what’s the point of dropping all that data into a databse if it has to be replicated onto a file to be accessed?
    And that file would need to be updated every time the DB was, so it would be better to simply access the DB directly.
    
    Does anyone know how?
    Or how to do this?
    Thanks!
Viewing 1 replies (of 1 total)
  • Plugin Author WP All Import

    (@wpallimport)

    Hi @phil2016,

    Unfortunately it’s not currently possible to import directly from an external database with WP All Import. You’d need to point WP All Import to a file containing the data, or a proxy script that outputs the data from the database when it’s fetched.

    • This reply was modified 3 years, 9 months ago by WP All Import.
Viewing 1 replies (of 1 total)
  • The topic ‘Import from separate database?’ is closed to new replies.