Not a developer? Go to MovableType.com

Plugin and Theme Directory

MacLeod

By Byrne Reese
Posted November 10, 2010, in Utilities.

Details

This plugin facilitates the process of blog consolidation in which one blog's content/associations are transferred entirely to another

merging of two blogs in a "winner takes all" fashion in which a target blog literally absorbs content and author associations/permissions from another. This renders the source blog a mostly empty, useless shell.

The main reason for developing this tool was to handle blog consolidation and subsequent retiring of the absorbed blog as a separate entity. For that reason, this tool was developed to change as little as possible in the underlying data, intelligently update the blog_ids of child classes instead of creating a new record via a clone.

Though it seems inconceivable that an explanation would be necessary, the name of the plugin is a Highlander) reference. There can be only one!

Features

  • A command-line utility, merge-blogs, which facilitates the transfer of nearly all blog content and related metadata from one blog to another.

  • A dryrun mode allowing you to run the process without actually modifying any data

  • A set of detailed confirmation prompts that tell you exactly what will happen during execution and give you the ability to abort and a force mode to skip the interactive confirmations.

  • The option (via the perms flag) to transfer user/group associations (i.e. permissions/roles) from the source blog to the target blog, creating in the target blog the logical union of both blog's users and assigned roles.

  • The logging of all entry transfers with old and new permalink URLs which can be easily extracted for the purposes of setting up webserver redirects

  • Designed to search for, discover and intelligently facilitate the transfer of data from arbitrary object types and classes (e.g. data from third-party plugins).

  • Supports merging of categories and their placement records as directed by a user-customized CSV file. This functionality requires the Text::CSV perl module and is executed under a different run mode as well as a third which does nothing but verify the CSV file. Unfortunately, the documentation here on GitHub is lacking as this was designed to the commissioning client's spec. If you need guidance before I complete it, drop me a line.

  • Brief and lengthy documentation of the command line utility via the help and man flags

Installation

To install this plugin follow the instructions found here:

http://tinyurl.com/easy-plugin-install

Usage

There is no web interface for the plugin as everything is currently done entirely though its command-line utility at plugins/MacLeod/tools/merge-blogs. Everything you need to know can be discovered in the utility's man page:

cd $MT_HOME
./plugins/MacLeod/tools/merge-blogs --man

Pre-requisites

The following plugins/utilities are required for proper operation:

  • Log4MT - Used for general purpose logging and recording of entry permalink redirects
  • CLITool - Underlying framework for all of Endevver's command-line interface (CLI) tools

Limitations

You can see a full list of the data types not handled by the system in the config.yaml. In general, the only blog-specific content not currently handled is:

  • Templates - MT::Template and MT::TemplateMap records. This was omitted because we questioned the need for it. The new blog already has templates and we believe that most users would not want to move all of the templates en masse into the target blog. We may develop a method to easily migrate selected templates upon users' requests.
  • Session, FileInfo and TheSchwartz records - These are temporal and regenerated automatically as needed

Help, Bugs and Feature Requests

If you are having problems installing or using the plugin, please check out our general knowledge base and help ticket system at help.endevver.com.

Future Plans

This plugin was quickly put together to satisfy a single use case for a client. In the future, it will certainly be expanded (and properly named) to facilitate mobility of individual pieces of content, all objects from individual object classes (e.g. templates, associations, etc) and metadata between blogs.

License

GPL


Back

58 Comments

Tadik

Tadik on April 26, 2016, 8:56 a.m. Reply

Really good job! This plugin is really helped me! Thank you 192.168.0.1

Darius Adam Richardson

Darius Adam Richardson on May 27, 2017, 7:46 p.m. Reply

Did you get this to work? I think I am doing something wrong. I wanted to update my blog and move the content I had written previously over to my site summerbridalshowerinvitations.com but it failed. Do I need to run this somehow differently or do I need to run this program on my computer?

mistera

mistera on March 21, 2018, 2:07 a.m. Reply

Awesome article. Helped me a lot. Keep posting such informative articles. 192.168.1.1 192.168.1.1

Kamilla Kamilla

Kamilla Kamilla on August 28, 2016, 4:18 p.m. Reply

Your work is very good and I appreciate you and hopping for some more informative posts. Thank you for sharing great information to us. 192.168.o.1

Kamilla Kamilla

Kamilla Kamilla on August 28, 2016, 4:19 p.m. Reply

Your work is very good and I appreciate you and hopping for some more informative posts. Thank you for sharing great information to us. 192.168.o.1

nish gau

nish gau on September 18, 2016, 11:48 a.m. Reply

Awesome article. Helped me a lot. Keep posting such informative articles. Its really good to get more knowledge on these topics. Thanks pixelgun 3d

Beacher

Beacher on May 13, 2018, 11:16 a.m. Reply

Very nice post. I just stumbled upon your blog and wanted to say that I have really enjoyed browsing your blog posts. 192.168.0.1 192.168.1.1

Kamilla Kamilla

Kamilla Kamilla on November 12, 2016, 3:38 p.m. Reply

Thanks for making such a cool post which is really very well written.will be referring a lot of friends about this.Keep blogging. wow boost

Stephanie Shadrick

Stephanie Shadrick on May 3, 2017, 3:37 p.m. Reply

The question that you have asked is not that simple and it is also not even possible to give the answer it just in a few words or lines. I will suggest you to take some expert opinion in this regard and will recommend you to get in touch with some professors of online university. http://www.openuniversitydegree.com/life-experience/

nachoVi

nachoVi on May 28, 2017, 11:27 a.m. Reply

Thanks for the answers, i have one ,ore website about this subject - router login

nachoVi

nachoVi on May 28, 2017, 11:35 a.m. Reply

Wonderful blog. I have never seen a more wonderful plugin than this one. ip 192.168.0.1

rosario

rosario on June 26, 2017, 5:47 p.m. Reply

wow very nice scie a onglet

Paulineweb

Paulineweb on November 5, 2017, 9:18 p.m. Reply

Merci pour cet article très enrichissant. Je m’efforce aussi de rédiger du contenu de qualité sur mon site dédié aux jambes lourdes et aux problèmes de circulation sanguine.

La sensation de jambes lourdes est un problème présent chez de nombreuses femmes. C’est pourquoi je dois publier des articles qui parlent aux femmes souhaitant alléger leurs jambes ! Si vous êtes curieux vous pouvez venir visiter mon site : www.jambes-lourdes.fr

elia

elia on January 14, 2018, 4:23 p.m. Reply

Super article high tech, consultez mon site sur : enceinte bluetooth bose.

elia

elia on January 14, 2018, 4:24 p.m. Reply

Bel article enceinte bluetooth bose

Trouve

Trouve on January 14, 2018, 5:18 p.m. Reply

Bon article comme toujours, j’espère que vous continuerez à nous faire plaisir comme vous le faites. Merci ;) Sophie / Trouver un psy

multilang

multilang on January 16, 2018, 11:39 a.m. Reply

Great post. Try http://www.multilang.space/ I have added a link to your service

multilang

multilang on January 16, 2018, 11:39 a.m. Reply

I have been redirected to the page. If the same happened for youpersonally, use Language dictionary to translate it into english. Try http://www.multilang.space/

lee78

lee78 on April 3, 2018, 10:34 a.m. Reply

I have been redirected too, you can try https://www.enceintebluetooth.pro/ to translate it into english.f

linkerseo

linkerseo on April 9, 2018, 11:47 a.m. Reply

Exceptionally decent blog and articles. I am realy extremely cheerful to visit your blog. Presently I am discovered which I really need. I check your blog ordinary and attempt to take in something from your blog. Much obliged to you and sitting tight for your new post. Stephen Pierce

linkerseo

linkerseo on April 10, 2018, 10:47 a.m. Reply

Stunning! Such an astonishing and accommodating post this is. I super adore it. It’s so great thus amazing. I am simply stunned. I trust that you keep on doing your work like this later on moreover. hamilton lawyer

Faheem

Faheem on April 10, 2018, 8:58 p.m. Reply

You bear through a awesome vacancy. I sanity definitely quarry it moreover personally suggest to my buddys. I am self-possessed they determination be benefited from this scene. Preventivo ristrutturazione

pioneerseo

pioneerseo on April 11, 2018, 2:25 p.m. Reply

I’m hoping you keep writing like this. I love how careful and in depth you go on this topic. Keep up the great work. diamond cut

james jack

james jack on April 19, 2018, 5:35 a.m. Reply

I like viewing web sites which comprehend the price of delivering the excellent useful resource free of charge. I truly adored reading your posting. Thank you! eXthus.com

pioneerseo

pioneerseo on April 25, 2018, 2:12 p.m. Reply

We promote cryptocurrency with cost-effective digital marketing services for blockchain companies that are running in pre and post ICO. The result of those services is regarded more to community engagement, subscribers, downloads and investors. ico marketing database

pioneerseo

pioneerseo on April 26, 2018, 8:10 a.m. Reply

Amazing post I should state and grateful for the data. Bearing is obviously a sticky subject. Regardless, is still among the essential subjects of our possibility. I regard your post and predict more. affordable gilmer tx orthodontist

muneer ahmed

muneer ahmed on May 5, 2018, 2:08 p.m. Reply

Your blogs are easily accessible and quite enlightening so keep doing the amazing work guys. olymptrade

Jean Chrysostome

Jean Chrysostome on May 7, 2018, 1:55 p.m. Reply

Tout à fait d’accord d’ailleurs c’est le meilleur comparatif de velos éléectriques!

muneer ahmed

muneer ahmed on May 12, 2018, 6:30 p.m. Reply

This was a truly awesome challenge and ideally I can go to the following one. It was alot of fun and I truly had a ball..  karamba

muneer ahmed

muneer ahmed on May 12, 2018, 6:30 p.m. Reply

This was a truly awesome challenge and ideally I can go to the following one. It was alot of fun and I truly had a ball..  karamba

muneer ahmed

muneer ahmed on May 26, 2018, 11:15 a.m. Reply

I want to say thanks for beautiful blog sharing with us. Your blog really great resource to update my knowledge. Iq option

Netref

Netref on June 3, 2018, 11:09 a.m. Reply

Une chaleur insoutenable ici, je vais me baigner à la piscine de Dijon.

pioneerseo

pioneerseo on June 13, 2018, 6:38 p.m. Reply

Grandbetting giris adresi, Grand Betting yeni giris adresi ve Grandbet hakkinda bilgilendirme.

pioneerseo

pioneerseo on June 15, 2018, 2:58 p.m. Reply

Flooring installers Vancouver are one of the best places to get your flooring and have the same installers for installation of your floor coverings. With great deals on laminate flooring and engineered hardwoods. With new lines of vinyl plank flooring as well flooring installers

pioneerseo

pioneerseo on June 16, 2018, 3:32 p.m. Reply

This post is extremely easy to peruse and acknowledge without forgetting any subtle elements. Extraordinary work! personal alarm pendant

Divio21

Divio21 on June 19, 2018, 6:35 p.m. Reply

This tool looks nice even if i dont need to use it. agence de communication Dijon

pioneerseo

pioneerseo on June 20, 2018, 4:51 a.m. Reply

The kindergarten ‘s market in China has many opportunities for your business but you must understand Chinese parents consumption habbits..kindergarten ‘s market in China

pioneerseo

pioneerseo on June 21, 2018, 4:02 a.m. Reply

Goodness! Such an astounding and supportive post this is. I outrageously cherish it. It’s so great thus amazing. I am simply flabbergasted. I trust that you keep on doing your work like this later on moreover. room addition los angeles

pioneerseo

pioneerseo on June 21, 2018, 5:29 a.m. Reply

สมัครเน็ตทรูรายเดือน เน็ตทรูรายสัปดาห์ เน็ตทรูรายวัน เน็ตทรูรายชั่วโมง ยอดนิยม แพ็กเกจเน็ตทรูมูฟเอชที่คนนิยมสมัครใช้งานกันมากที่สุด ทุกโปรเน็ตทรูมูฟเอชนี้ เป็นโปรเน็ตแบบไม่อั้น ไม่ลดสปีดเน็ต ใช้เน็ตกันแรงๆได้ยาวตลอดแพ็กเกจ หากใครชอบใช้เน็ตดูหนังออนไลน์ เล่นเกมส์ออนไลน์ แนะนำให้ สมัครโปรเน็ตทรูรายเดือน ที่มีความเร็วตั้งแต่ 4Mbps ขึ้นไป จะทำให้คุณเล่นเกมส์ ดูหนังออนไลน์ได้ไหลลื่นมากขึ้น เร็ว แรง แน่นอน เน็ตทรูไม่ลดสปีด

pioneerseo

pioneerseo on June 22, 2018, 10:16 a.m. Reply

Frameless Glass Doors, Folding Doors, Sliding Doors, Aluminium Doors, Stacking Doors, Glass Balustrades, Frameless Glass Showers. Custom Made in South Africa. Order Here. aluminium back door

pioneerseo

pioneerseo on June 22, 2018, 2:09 p.m. Reply

Deratiseurs 3d à Paris nous intervenons à domicile sur devis et en urgence.Dératisation Paris

pioneerseo

pioneerseo on June 22, 2018, 7:41 p.m. Reply

Futbolu doyasıya yaşamak için son dakika futbol haberleri sunan sitemize davetlisiniz. Tüm transfer gelişmelerini en doğru ve tarafsız şekilde görüşlerinize sunuyoruz.maglup.com

pioneerseo

pioneerseo on June 23, 2018, 5:45 p.m. Reply

Genuinely, this article is extremely one of the absolute best ever of. I am an antique ‘Article’ gatherer and I in some cases read some new articles on the off chance that I discover them fascinating. Also, I discovered this one truly entrancing and it ought to go into my accumulation. Good work! eventi live da casa in streaming

pioneerseo

pioneerseo on June 24, 2018, 1:13 p.m. Reply

Mmm.. respectable to be here in your report or advise, whatever, I notoriety I ought to besides process solid for my have site need I play some salubrious further refreshed occupied in your area. https://www.flooddoctorva.com/

pioneerseo

pioneerseo on June 25, 2018, 12:31 p.m. Reply

I no uncertainty esteeming each and every bit of it. It is an amazing site and superior to anything normal give. I need to grateful. Marvelous work! Every one of you complete an unfathomable blog, and have some extraordinary substance. Keep doing stunning. can you purchase instagram followers

pioneerseo

pioneerseo on June 25, 2018, 3:27 p.m. Reply

Incredible tips and straightforward. This will be exceptionally helpful for me when I get an opportunity to begin my blog. Rancho Santa Margarita Refrigerator Repair

pioneerseo

pioneerseo on June 28, 2018, 5:29 p.m. Reply

The site is delicately balanced and saved as much as date. So it should be, a dedication of appreciation is all together to offer this to us. working from home today

pioneerseo

pioneerseo on July 1, 2018, 3:10 p.m. Reply

The site is delicately balanced and saved as much as date. So it should be, a dedication of appreciation is all together to offer this to us. Yeh Rishta Kya Kehlata Hai

pioneerseo

pioneerseo on July 1, 2018, 6:51 p.m. Reply

I am inspired by the data that you have on this blog. It indicates how well you comprehend this subject. colour run accessories 

Beacher

Beacher on July 2, 2018, 9:32 a.m. Reply

Cheers for the info. The internet is so full of garbage it is difficult to find exactly what you are looking for these days. Do you have RSS on this site router login

pioneerseo

pioneerseo on July 2, 2018, 1:35 p.m. Reply

Mmm.. respectable to be here in your report or advise, whatever, I notoriety I ought to besides process solid for my have site need I play some salubrious further refreshed occupied in your area. anabolic steroids for sale

pioneerseo

pioneerseo on July 4, 2018, 4:27 p.m. Reply

Thanks for the nice blog. It was very useful for me. I m happy I found this blog. Thank you for sharing with us,I too always learn something new from your post. Arthritis and Joints Pain Relievers

Arno

Arno on July 14, 2018, 12:41 a.m. Reply

Really good job! thnx a lot. Arno

pioneerseo

pioneerseo on July 19, 2018, 1:21 p.m. Reply

Mmm.. respectable to be here in your report or advise, whatever, I notoriety I ought to besides process solid for my have site need I play some salubrious further refreshed occupied in your area. Offering

Origine du Monde

Origine du Monde on August 17, 2018, 10:01 a.m. Reply

Tres bon article merci je partage sur twitter

James Lara

James Lara on August 28, 2018, 12:55 p.m. Reply

its great post and help me alot. Thanks for the nice blog

https://games.lol/clash-royale/

Leave a Comment

Byrne Reese

Byrne Reese was previously the Product Manager of Movable Type at Six Apart, where he had also held positions as the Manager of Platform Technology and Product Manager for TypePad. Byrne is a huge supporter of the Movable Type user and developer community. He dedicates much of his time to promoting and educating people about Movable Type as well as building the tools and plugins for Movable Type that are showcased on Majordojo. He contributes regularly to open source; and he is an advocate for open protocols and standards like Atom and OpenID.

Website: http://profile.typekey.com/byrnereese