Support » Networking WordPress » Adding posts to all the sub-blogs on a MS installation

  • Tanveer

    (@tanver)


    I need to add posts [to be read from a TEXT/XML file] to all the sub-blogs and/or sites mapped through “Domain Mapping” plugin, using wpdb class.
    I will appreciate an expert advice as to how, I should proceed. I have to schedule them as at most 10 posts per day per blog.

Viewing 2 replies - 1 through 2 (of 2 total)
  • truefunnystories

    (@truefunnystories)

    Do you have a plugin to do it? If so what you need to do is just add corn in cpanel? If no, you should write a plugin to read content from text file first, right?

    Thread Starter Tanveer

    (@tanver)

    No, I don’t have any plugin installed and will code the functionality myself. Yes, will have to write the code to write the posts data from the text [DELIMITED] or XML file as may be appropriate. I have done almost a similar project for WP 2.8+ using the table prefix for the different domains.
    Now have to do almost the same for a 3.1+ installation with 180+ sub-domains and nothing like table prefix sort of thing available – but blogid. I am not sure how the the ‘Domain Mapping’ plugin arranges the different domains under a main site.
    One other option could be to place the listings in a single main site and share it across the domains? any comments on this will be appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adding posts to all the sub-blogs on a MS installation’ is closed to new replies.