multi weblog

Discussion corner for Developers of Serendipity.
Post Reply
Rosso
Posts: 1
Joined: Mon Oct 03, 2005 2:15 pm

multi weblog

Post by Rosso »

Is it possible to make several weblogs with one Database?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: multi weblog

Post by garvinhicking »

Not exactly.

You can create multiple categories in your weblog and then make each category appear as seperate blog with its own design. You can do that with two plugins, the "Extended Templates/Options for Categories" and the "Sidebar hider" plugin.

Multi-Weblog maintaining like MoveableType offers is currently not possible with Serendipity, I'm sorry.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
tomek

Re: multi weblog

Post by tomek »

garvinhicking wrote: Multi-Weblog maintaining like MoveableType offers is currently not possible with Serendipity, I'm sorry.
Serendipity is great but if there are thousands of blogs it couldn't be used...

Do you plan multi-weblog maintanance in future? If yes, is it a far o near future?
What do you think should be done to support multi-weblog maintanance ?

Greetings
Tomek
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: multi weblog

Post by garvinhicking »

Serendipity is great but if there are thousands of blogs it couldn't be used...
For that we advise to use the shared installation feature. I have never seen any private blog that would require more than 3-4 sub-blogs. Maintaining those via the "Categories to Sub-Blogs" feature is not very hard.

Thousands of blogs, like supersized.org or serendipity offers/offered is doable with separate databases but a central file structure; in terms of security this is also much safer.

A "true multi-blog" feature with one single database will not be developed at least by the current core developers any time soon. Don't hold your breath - instead seriously think about the means and methods we offer currently.
What do you think should be done to support multi-weblog maintanance ?
Nearly every table (serendipity_config, serendipity_entries, serendipity_comments, serendipity_authors, ...) will need to get a "blogid" column, and each SQL query with that code will need to be adapted.

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
MySchizoBuddy
Regular
Posts: 340
Joined: Sun Jun 12, 2005 5:28 am

Post by MySchizoBuddy »

if we can choose our own table prefix then we could use one databse for multiblog.
Image
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Yeah, it would be one database, but with X * 15 tables for each installation, instead of 15 tables for all installations.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply