Poco
Forum Replies Created
-
Forum: Plugins
In reply to: Using cron job to run Blogger Image ImportWell, I’m glad you found a good solution. That Postie plugin looks rather interesting as a way to post images by email. I haven’t found a good image post plugin that I am happy with (I’m using Image Manager) but being able to do a post by email would be way easier. I used to use Picasa to post to Blogger and this might allow me to do the same through Picasa email.
I may have to give that a try.
Forum: Fixing WordPress
In reply to: Blogger ImportAs you can see from those previous posts, the answer is usually to get you host to help resolve the issue by enabling functionality you need.
If you cannot get your host to change their settings or allow you do run the import script then the other alternative that many of us have used is to generate the database using your own server running on your own PC and copy the database to your live server. I documented how I did it.
https://notions.okuda.ca/wordpress-plugins/from-blogger-to-wordpress/
Forum: Plugins
In reply to: Using cron job to run Blogger Image ImportIf you want to make a page that you can hit to do the image import then you should be able to do something like feedwordpress has done with update-feeds.php. You shouldn’t have to change the plugin at all, you just need to create a page that hits the server in a way that emulates what happens you when you press “Start” from the admin interface.
I haven’t tried this, and I will when I get some time, but if you look in update_feeds.php you will notice that most of the “feedwordpress” specific content is after the following line…
$feedwordpress =& new FeedWordPress;
From what I can tell, everything before that is the setup required to make sure the user is logged in and some nice formating. There might be a simpler example of that sort of thing but that would be a good start for creating a new php file that just ran the Blogger Image Import without going through the admin interface. You should not need to change the importer script at all, just add a new script to execute it.
Forum: Fixing WordPress
In reply to: Newbe Question Can’t see Pictures on new site, Help PleaseDid you try the Blogger Image Import plugin?
https://notions.okuda.ca/wordpress-plugins/blogger-image-import/
If so, and it didn’t work, what went wrong? I am interested in keeping it functional so I would like to know what went wrong so I can help or fix the plugin.
Forum: Plugins
In reply to: Using cron job to run Blogger Image ImportHmmm, yes, that code uses some globals that are expected to be available when executed by a plugin. I guess the way you are using it they are not.
I don’t know much about how the feedwordpress plugin is configured or executed (I assume this is the plugin to which you refer https://projects.radgeek.com/feedwordpress/).
It looks like you want to be careful about where insert the calls to the Blogger Image Import. Including that file inside update-feeds.php might not be enough, or you may want to insert the call to ko_blogger_image_import_process somewhere else in update-feeds.php.
I notice on the feedwordpress site there is a feedwordpress_update_complete action that might be exploited for this purpose.
I have not tried it, but if I did (I might try when I get more time) I would keep the blogger-image-import.php as-is with the addition of an action handler for feedwordpress_update_complete. Maybe at the bottom, after the add_action(‘admin_menu’) you could add something like the following. I am hoping that function will be called when feedwordpress is complete. When I get a chance I may try this myself, and I will report back if you haven’t already.
function ko_blogger_import_feed_complete()
{
ko_blogger_image_import_process(10, true);
}add_action(‘feedwordpress_update_complete’, ‘ko_blogger_import_feed_complete’);
Forum: Plugins
In reply to: Using cron job to run Blogger Image ImportSorry for not replying to your comment on the blogger-image-import site, but I see you have found another forum for your question (probably better as more people can help).
The image import script is not all that complicated and most of the code is borrowed from the core WordPress scripts, with some changes. Adding that to the feedwordpress script probably wouldn’t be too hard, though I don’t know anything about the feedwordpress script.
You should find it easy to use the Blogger Image Import script somewhere else. All the code is in the function ko_blogger_image_import_process which takes only two parameters, the number of images to import and whether to apply the changes. If you included that code and called that function with a sufficiently large number it should automatically import any new images since the last time you ran it.
If you do add this to your update-feeds.php or need help with it please reply here and leave a comment about your changes on the Blogger Image Import page.
https://notions.okuda.ca/wordpress-plugins/blogger-image-import/Forum: Fixing WordPress
In reply to: Import Blogger: Unable to loginFrom the original error message it looks like CURL is enabled but not able to access blogspot. Do you have any access restrictions on your server or perhaps restrictions on the user used to run the server?
Sorry I can’t help more. I eventually documented the process that I used to do the import with a Windows PC here, but that probably won’t help you.
https://notions.okuda.ca/wordpress-plugins/from-blogger-to-wordpress/Forum: Fixing WordPress
In reply to: Blogger to WP import – help, I’m so close!Some of us have had problems with our servers that we couldn’t easily resolve for whatever reason (usually due to host server restrictions).
If all else fails there is always the “import to a server running on your PC and copy the DB to your live server” approach.
I documented the steps that I took to do it as I was never able to import directly from Blogger to my hosted server.
https://notions.okuda.ca/wordpress-plugins/from-blogger-to-wordpress/
Forum: Fixing WordPress
In reply to: Added plugin and lost picturesIf you do want to import the photos from Blogger then might I recommend my plugin for doing just that. This plugin below scans through the posts looking for image links on blogger.com and copies the files to your server. This will take some more space but eliminate any requirements you have on the blogger image hosting.
https://notions.okuda.ca/wordpress-plugins/blogger-image-import/
Please leave a comment on that page you have any problems.
Check out all my Blogger import plugins here (I wrote one other to handle the “bad” titles produced by Blogger posts with no title.)
Forum: Everything else WordPress
In reply to: Blogspot Or WordPress?Perhaps a good question to ask is why did you switch to Blogspot in the first place and why do you want to switch back?
If it ain’t broke don’t fix it.
Forum: Installing WordPress
In reply to: Importing from blogger betaIf you are having trouble with your photos from Blogger after your import you can try my photo import plugin. Leave a comment if you have any trouble with it. The only issue I know of right now is that it will only import jpg files and not png, but that should be easy to fix once I get around to it.
https://notions.okuda.ca/wordpress-plugins/blogger-image-import/
I have a couple of “post blogger import” plugins.
Forum: Installing WordPress
In reply to: Importing from BloggerOh, well, then I can’t help you other than to suggest you upgrade to WordPress 2.0.4
Forum: Installing WordPress
In reply to: Importing from BloggerThat is a completely out of date document and no longer applies to WordPress 2.0 or higher. For WordPress 2 all you should do is navigate to the “Import” tab in the admin interface and follow the directions.
Make sure to backup your Blogger template before you start in case anything goes wrong and you need to restore it manually
Oh, and check out some of my plugins to help with general blogger to WordPress integrations.
Forum: Fixing WordPress
In reply to: Importing from Blogger – disappearing imagesCan you post a link to your site?
Forum: Fixing WordPress
In reply to: how to import photos from bloggerSorry, I was away this weekend or I would have suggested that plugin, as it is mine. Please leave a comment on that page or here if you have any trouble or questions.