For the time being, all processes are running in single thread so that UI will be freeze while processing. The form is freeze while downloading the images. I'm thinking to change this Windows Form to WPF version so that you will definitely get the better UI for this program.Ģ. Can you make the better UI for this program? If you have any question, please let me know.ġ. That's all about how Bulk Image Downloader works. So, you can easily upload all of your images to your new host via FTP. For example, If the image URL is "" then the program will create the directories like "09" folder under "2009" folder under "/Downloaded Images/" folder. ) Based on the URL, the program will create the directory accordingly. (Note: I used C# downloader class which is written by Shailen Sukul in this example. When the user clicks "Download" button, I start downloading the image one by one. After that, I shows the list of URLS in ListView. So, I decided to filter the tag and tag from the contents based on the extensions (*.jpg, *.png, *.gif) by using regular expression. But there are some cases that we used big image in tag and small images in tag. Initially, I was thinking to filter tag from the content. So, we have to filter the URL of images from the contents. If the authenticating is successful then we will get the list of posts from the blog. If you have more than 1000 posts in your blog, you probably need to change the default value. The max number of posts is set to 1000 in the program. As there is no getPosts() API in xmlrpc.php, we have to use the alternative method (getRecentPost() API) for retrieving the posts from the blog. I used opensource XML-RPC.NET library in this sample. Then, it will invoke getRecentPost() API of wordpress. It will append "xmlrpc.php" which is the standard XML RPC interface for Wordpress at the end of blogurl string. If you are just a normal user, you may skip this section.įirstly, the program will read the user name, password and blogurl from config file. Note: This is for those who like to read the sourcecode and want an explanation about codes. After that, you can check all of your images in "Downloaded Images" directory. (You may need to wait a few minutes while processing.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |