[Resolved] Using cron job to run Blogger Image Import
Hi there, I’ve tried my best to use the search function and google to answer this, but I couldn’t quite find one.
I’m *this* close to finishing my blog setup but I have one minor hurdle to go before I’m done. I’ve just got the Sony-Ericsson K800 phone, which has a nifty photo blogging feature. Though, as you may have heard, it’s only compatible with Blogger.
I’ve installed FeedWordPress and set up a cron job to import new posts from the blogger account every hour and this works perfectly. However, the pictures also need to come across as Blogger does not allow hot-linking.
So, I have installed Blogger Image Import, which also does exactly what it said it would, but only when I log in to my account and run the script from the dashboard. What I want to do is have this script scheduled to run automatically 5 minutes after the feedwordpress script runs.
I don’t really know that much about php, but I think I can see at least two ways of doing this;
a) stripping out the code from “blogger-image-import.php” that actually performs the import, placing it in another php file and cron jobbing that every hour.
b) stripping out the import code and inserting it into the “update-feeds.php” file (the feedwordpress script). So that it’s run all as part of the same file.
If either of these would work, my problem would be that I don’t know which parts of the files I’d need to edit. So any help would be greatly appreciated.
- The topic ‘[Resolved] Using cron job to run Blogger Image Import’ is closed to new replies.