Lazyweb wish: I’m hosting a bunch of blogs on my installation of MT (>10, might soon be >50). Most of these share the same templates, so, when I change something in one of the templates I want to rebuild all blogs. Instead of doing this one-by-one I would like a simple “Rebuild all blogs”. Anyone got this already or has a good idea to where to start building it?
Thanks for helping out!
February 13th, 2003 at 6:58 pm
1) get a list of blog ids from the database
2) loop over the list and call the relevant methods from MTShell to rebuild the entries.
[1] http://www.blisspuppet.com/MTshell/
February 13th, 2003 at 11:33 pm
February 14th, 2003 at 5:39 am
Then you could :
1) use Net::Blogger to get a list of blogs for user you, via blogger.getUsersBlogs()
2) loop over the list and use call your new MTShell xmlrpc widget to rebuild the entries.
(If you get someone to do the first part, I’ll add a Net::Blogger::Movabletype::mtshell class :-)
February 13th, 2003 at 8:29 pm
Movable Type