Meta tags:
description= Build your website with the powerful content management system Movable Type. Our blogging software and static publishing platform makes site management easy and effective.;
Headings (most frequently used words):
entrysetbasename, v1, details, compatibility, abstract, history, solution, versions, brad, choate, search, by, keyword, about, documentation, news, popular, plugins,
Text of the page (most frequently used words):
the (61), entry (24), and (18), dirify (15), tag (12), entrysetbasename (12), this (11), plugin (10), mt4 (9), will (9), #basename (9), value (8), set (8), basenames (8), old_dirified_title (7), dirified (7), entries (7), used (7), theme (6), you (6), title (6), entrytitle (6), index (5), template (5), test (5), entrybasename (5), name (5), have (5), changes (5), created (5), archive (5), blog (4), guide (4), movabletype (4), brad (4), choate (4), code (4), once (4), new_dirified_title (4), html (4), not (4), setvar (4), create (4), mappings (4), when (4), but (4), was (4), all (3), news (3), developer (3), documentation (3), com (3), utilities (3), tags (3), data (3), type (3), plugins (3), your (3), are (3), that (3), output (3), with (3), because (3), than (3), first (3), for (3), archives (3), would (3), 250 (3), blogs (3), meant (3), should (3), there (3), creating (3), can (3), function (3), directory (3), six (2), apart (2), ltd (2), policy (2), release (2), product (2), about (2), site (2), mobile (2), smartphone (2), search (2), page (2), popular (2), movable (2), share (2), versions (2), republish (2), remove (2), from (2), var (2), entryid (2), edit (2), more (2), review (2), published (2), has (2), attribute (2), 99999 (2), update (2), lastn (2), number (2), since (2), less (2), first_entry_id_in_4_2 (2), entry_id (2), use (2), length (2), settings (2), using (2), cause (2), changed (2), database (2), provides (2), then (2), removed (2), warning (2), could (2), utility (2), help (2), solution (2), dashes (2), how (2), though (2), urls (2), change (2), which (2), foo (2), produce (2), sign (2), org (2), copyright, 2025, rights, reserved, privacy, contact, notes, life, cycle, designers, author, administrator, overview, registration, purchase, features, responsive, personal, business, web, services, social, media, rebuilding, templates, widgets, editing, dynamic, publishing, design, api, custom, fields, content, communities, comments, trackback, antispam, assets, files, uploading, applications, administrative, interface, keyword, config, assistant, video, transcoder, buildtracer, sushifortinymce, mappingbasedarchive, fastestpreview, assetdialogauthorfilter, picasa, express, googleopenidconnect, fiscalyearlyarchives, http, bradchoate, website, engineer, back, download, compatibility, version, initial, documented, tested, beau, smith, uninstall, delete, becomes, ready, pre, argument, href, adminscript, __mode, view, _type, like, testing, link, directly, add, these, lines, inside, list, item, placing, after, effect, before, 1921, times, shocker, nytimes_shocker, made, they, look, similar, save, above, modifications, last, two, steps, publish, rewritten, loop, higher, posts, upgrading, find, post, enter, variable, 4_2, listing, previous, same, each, matching, specified, 12345, regex_replace, named, paste, following, become, thus, mapping, desired, preferences, mt_home, install, always, performing, massive, backup, case, need, revert, please, warned, hand, difficult, thanks, super, simple, basic, populate, past, previously, titles, limited, letters, numbers, underscores, must, characters, few, limitations, unique, among, never, ideally, most, commonly, overcome, 100, character, default, limit, increased, also, been, lack, knowledge, works, specific, doing, kind, hack, albeit, one, affected, map, such, example, bar_baz, foobar_baz, bar, baz, updated, phrase, history, assist, setting, abstract, details, posted, september, 2008, extend, home, feedback, get, started,
Text of the page (random words):
movabletype org plugin directory entrysetbasename not a developer go to movabletype com movabletype org get started documentation plugins news about feedback plugin and theme directory sign in sign up help home extend plugin and theme directory utilities entrysetbasename v1 0 by brad choate posted september 11 2008 in utilities details abstract this is a utility plugin to assist in setting entry basenames to the value of the dirified entry title warning using the tag will cause entry basenames to be changed in the blogs database this plugin and the tag is provides is meant to be used once to set basenames and then it should be removed history in mt4 2 the dirify function was updated to not remove dashes if the phrase to dirify was foo bar baz dirify in mt4 1 would produce foobar_baz dirify in mt4 2 would produce foo bar_baz this change to the dirify function has affected urls of blogs which use a dirified entry title in the archive map such as in this example archives mt entrytitle dirify 1 html though mt tags can be used to create archive mappings because there is a specific tag for doing this it is kind of a hack albeit a popular one this was most commonly used to overcome the 100 character default limit which can be increased to 250 in entry settings but could have also been lack of knowledge of how the mt entrybasename works though mt tags can be used to create archive mappings the entry basename was meant to be used when creating urls to the entry because the basename is created to be unique among all entries and never changes once the entry is published a dirified entry title will change if the title of the entry changes or if the dirify function changes so ideally basename should be used when creating archive mappings how entry basename is created when creating an entry there are a few limitations with basename but since it must be 250 characters or less it is limited to letters numbers dashes and underscores solution the basic solution is to populate past basenames with previously dirified entry titles by hand this could be difficult but thanks to mr brad choate there is a super simple utility plugin to help warning but please be warned using the mt entrysetbasename tag will cause entry basenames to be changed in the blogs database this plugin and the tag is provides is meant to be used once to set basenames and then it should be removed as always when performing massive changes to data create a backup in the case that you need to revert install entrysetbasename plugin mt_home plugins entrysetbasename set basename length to 250 or desired length in preferences entry settings update archive mappings to use basename thus this mapping archives mt entrytitle dirify 1 html would become archives mt entrybasename html create an index template named dirify and paste the following code ul mt setvar name first_entry_id_in_4_2 value 12345 mt entries lastn 99999 mt entryid setvar entry_id mt if name entry_id lt first_entry_id_in_4_2 mt entrytitle dirify 1 setvar new_dirified_title mt entrytitle regex_replace g dirify 1 setvar old_dirified_title mt if name new_dirified_title ne old_dirified_title li mt entrysetbasename value old_dirified_title test 1 li mt if mt if mt entries ul this code will output a page listing the entries in your blog if the entry id is less than the id of the first entry created in mt4 2 and if the title dirified previous to mt4 2 and dirified in mt4 2 are not the same for each matching entry the basename will be set to the value specified on the mt entrysetbasename tag if the test attribute is not set to 1 if you have created posts since upgrading to mt4 2 find the id of the first post created in mt4 2 and enter the id number as the value for the variable first entry id in 4_2 if you have more than 99999 entries update the lastn value of the mt entries loop to be higher than the number of entries you have in your blog save the dirify index template with the code above and modifications in the last two steps and publish it because the entrysetbasename tag has a test attribute set to 1 no basenames will be rewritten review the published output from the dirify index template to review the changes that will be made they will look similar to this entry 1921 ny times shocker basename set to nytimes_shocker if you d like to have more testing data and a link to directly edit the entry add these lines before the mt entrysetbasename tag inside the html list item placing after the tag will effect output of the mt entrybasename tag entrybasename mt entrybasename br entrytitle mt entrytitle br new_dirified_title mt var name new_dirified_title br old_dirified_title mt var name old_dirified_title br a href mt adminscript __mode view _type entry id mt entryid edit entry a br once you are ready to set all the basenames to the pre mt4 2 dirified title remove the test argument from the mt entrysetbasename tag and republish the dirify index template so that mt entrysetbasename value old_dirified_title test 1 becomes mt entrysetbasename value old_dirified_title uninstall the plugin and delete the dirify index template republish your blog versions version 1 0 initial release tag code by brad choate documented and tested by beau smith compatibility movable type versions 4 3 download back share share brad choate movable type engineer six apart ltd website http bradchoate com popular plugins fiscalyearlyarchives googleopenidconnect picasa express assetdialogauthorfilter fastestpreview mappingbasedarchive sushifortinymce buildtracer video transcoder config assistant search by keyword 82 administrative interface 5 applications 26 assets files uploading 33 comments trackback antispam 27 communities 1 content type 10 custom fields 3 data api 31 design 51 developer 5 dynamic publishing 2 ec 41 editing 30 entry page 85 mt tags templates widgets 2 mobile smartphone 10 rebuilding 9 search 14 social media 56 utilities 57 web services 12 theme business site 8 theme mobile smartphone 11 theme personal site 7 theme responsive about movabletype com features purchase product registration documentation documentation overview administrator s guide author s guide designers s guide plugin developer s guide product life cycle policy news news blog release notes contact copyright 2025 six apart ltd all rights reserved privacy policy
|