Results 1 to 6 of 6

Thread: Bulk Classified Ads upload

  1. #1
    Thread Starter
    Newbie localvigyapan's Avatar
    Join Date
    Jul 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Bulk Classified Ads upload

    Hi,

    We are migrating from our existing interface to using Classipress. Suggest, how do we migrate the posts from old setup to new. Is there a tool using which I can upload bulk posts maybe in .csv format..

  2. #2
    Veteran pointandstare's Avatar
    Join Date
    Apr 2009
    Location
    London, England
    Posts
    311
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Re: Bulk Classified Ads upload

    Probably not, but what are you currently using?

  3. #3
    Thread Starter
    Newbie localvigyapan's Avatar
    Join Date
    Jul 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Bulk Classified Ads upload

    Planning to get the migration done manually..

  4. #4
    thomman's Avatar
    Join Date
    Apr 2009
    Location
    Cochin, Kerala, India
    Posts
    79
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Bulk Classified Ads upload

    Im also going to be doing it for my present site kachavadom.com. It can be done by writing a import script and adding it to the import library for wordpress. I will prob be writing one for my personal use for my current site www.kachavadom.com to be ported to classipress as soon as I finish customizing it for my personal needs if you want I can suggest a roadmap if you can script it yourself for your database. I myself am not a pro coder but I know it can be done quite easily. How many posts and categories are you looking at?

  5. #5
    Amateur
    Not a Verified Customer
    icecubejackal's Avatar
    Join Date
    Aug 2009
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Bulk Classified Ads upload

    Quote Originally Posted by thomman
    Im also going to be doing it for my present site kachavadom.com. It can be done by writing a import script and adding it to the import library for wordpress. I will prob be writing one for my personal use for my current site http://www.kachavadom.com" onclick="window.open(this.href);return false; to be ported to classipress as soon as I finish customizing it for my personal needs if you want I can suggest a roadmap if you can script it yourself for your database. I myself am not a pro coder but I know it can be done quite easily. How many posts and categories are you looking at?
    Hello thomman,

    Have you successfully create import script, if you have not can you give me a roadmap? i will try to do it in my also.

    Thanks!

  6. #6
    thomman's Avatar
    Join Date
    Apr 2009
    Location
    Cochin, Kerala, India
    Posts
    79
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Bulk Classified Ads upload

    Create a custom file like the following please create functions as suggested and you are ready to go and upload into wp-admin/import. Im still working on it but plan to finsh my theme design first but heres how you do it.

    NOTE: The following code is incomplete yo have to insert functionality as suggested.

    Code:
    <?php
    
    /*
    
    Class Name: your custom name 
    Description: Import ads ffor blah blah blah
    
    Version: 0.001
    
    Author: Your name
    
    Author URI: http://www.if yo want 
    
    */
    
    
    
    
    
    /*  
    	
    */
    
    
    
    class somename {
    
    	function dispatch() {
    
    		
    
    		$query="SELECT * FROM DATABASE";
    		$itemRS = mysql_query($query); 
    
    
    		list($posttitle,$postdescription,$postcategory,$user etc....) = mysql_fetch_row($itemRS);
    
    For each post create user and if user does not exist create one
    Create post
    Add post meta if any
    
    
    	}
    
    
    
    	function somename() {
    
    		// Nothing.
    
    	}
    
    }
    
    
    
    $kachavadom = new kachavadom();
    
    
    
    register_importer('kachavadom', 'KACHAVADOM.COM', __('Import ads from kachavadom.com'), array ($kachavadom, 'dispatch'));
    
    
    
    ?>

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)