Can I create a wordpress blog and programmatically set the users that can read it ?

I am creating a site where users subscribe. I want to let each user create a blog (using some programming code), which can then only be seen by other subscribers to the site. Ideally, there should still be some customization possible for each user, like setting another theme and so on. So to summarize, I need some API to: -create wordpress blog for a specific user -give all other users of the site read/comment access to that blog. Ideally this API should be callable from ruby on rails. I need to know whether this is possible. I intent to put this up as a project on rentacoder.com. Thanks, Reddy Ambrosia

Public Comments

  1. Read the technical documentation on Wordpress and examine the code to figure out how it works, then write your own application to trigger the appropriate functions. If you want to "create a site where users subscribe...[and] each user create[s] a blog" then you ought to have enough technical ability to do something as simple adding this functionality to Wordpress. If not, it's like saying you want to build your own car without having any knowledge or experience with mechanics or industrial design. Short answer: all the info to do this yourself is out there. So, read it and do it.
  2. Yes, you can do both tasks directly from within WordPress-MU. http://mu.wordpress.org/ As near as I can tell, you can create new users programmatically a number of ways. Check the documentation.
  3. If I'm not mistaken Wordpress has very limited support for additional access roles and that sort of thing, it was meant really as a souped up blog engine. I could be wrong, i haven't looked at wordpress in a while. You might want to take a look at Drupal as well, it's also open-source but is more of a CMS engine, and quite flexible in terms of modularity, API and front-end. I know that with drupal you can allow newly registered users to have their own blog, and set all kinds of permissions.
  4. Sorry Reddy i did not have your email so i'm using this place to contact you regarding your answer to my question about finding an online bidding place. first of all thanks for the answer. secondly please tel me your email address so that i can forward you my details. my email is : rajakashif_aziz@yahoo.com Regards, Kashif Aziz
Powered by Yahoo! Answers