Tag Archives: movabletype

Fix Moveable Type Export with Metatag TAGS instead of KEYWORDS

Sometimes a Moveable Type export puts the tags in a Metatag field called TAGS. Sadly this kind of export file does not preserve the keywords/tags when it is imported in WordPress. Here is a little fix to get these TAGS converted to KEYWORDS.
cat original.txt | sed ‘/^TAGS/s/ /,/ig’ | sed ‘/^TAGS/s/"//ig’ > converted1.txt ;let lines=`cat [...]