Tags:
blogging1Add my vote for this tag import3Add my vote for this tag create new tag
view all tags

MovableTypePlugin

I use both MovableType and TWiki on my website and I'm building this plugin to allow trommWiki to access MovableType data.

Syntax Rules

The %MOVABLETYPE{...}% variable gets expanded to the content pulled from a MovableType installation.

%MOVABLETYPE% Parameter Explanation Default
blog_id id of the blog %MOVABLETYPEPLUGIN_BLOG_ID%, Set in TWikiPreferences or WebPreferences. Currently set to 4.
category blog category label none
format Format of one item. Can include variables in the table below. none
view_template Name of a MovableType template to be used for formatting category output
See mt-view.cgi
none
search_template Name of a MovableType template to be used for formatting search output
See mt-search.cgi
none
search Search string none

Format $variables Description
$cat_id Numeric category id
$category Category label
$version MovableType version number
(2.64 is the latest version)
$blog_name Name of the blog identified by the current blog_id

Examples

  • %MOVABLETYPE{ format=" $version " }% = %MOVABLETYPE{ format=" $version " }%
  • %MOVABLETYPE{ blog_id="1" category="MovableType" format=" $cat_id " }% = %MOVABLETYPE{ blog_id="1" category="MovableType" format=" $cat_id " }%
  • MoreMovableTypeExamples

MovableTypePlugin Global Settings

Plugin settings are stored as preferences variables. To reference a plugin setting write %<plugin>_<setting>%, i.e. %MOVABLETYPEPLUGIN_SHORTDESCRIPTION%

  • MovableTypePlugin settings:
    • MOVABLETYPEPLUGIN_DIR is the directory you installed mt in, i.e. /home/user/public_html/mt/
      • Set MOVABLETYPEPLUGIN_DIR = /home/trommett/public_html/cgi-bin/
    • MOVABLETYPEPLUGIN_BLOG_ID is the default blog id number
      • Set MOVABLETYPEPLUGIN_BLOG_ID = 4

  • Debug plugin: (See output in data/debug.txt)
    • Set DEBUG = 1

Plugin Installation Instructions

Note: You do not need to install anything on the browser to use this plugin. The following instructions are for the administrator who installs the plugin on the server where TWiki is running.

  • Download the ZIP file from the Plugin web (see below)
  • Unzip MovableTypePlugin.zip in your twiki installation directory. Content:
    File: Description:
    data/TWiki/MovableTypePlugin.txt Plugin topic
    data/TWiki/MovableTypePlugin.txt,v Plugin topic repository
    lib/TWiki/Plugins/MovableTypePlugin.pm Plugin Perl module
  • Test if the installation was successful:
    • If the Plugin is installed successfully, you'll see the MovableType Version here: %MOVABLETYPE{ format=" $version " }%

Plugin Info

Plugin Author: TWiki:Main/JasonTromm
Plugin Version: 2024-03-28 (V0.001)
Change History:  
23 Jun 2003: Started development
CPAN Dependencies: none
Other Dependencies: MovableType 2.64 or higher
Perl Version: Tested on 5.6.1, may not work with earlier versions.
Plugin Home: http://wiki.trommetter.com/TWiki/MovableTypePlugin
Feedback: http://wiki.trommetter.com/TWiki/MovableTypePluginDev

Related Topics: TWiki06x01.TWikiPreferences, TWiki06x01.TWikiPlugins


-- JasonTromm - 26 Jun 2003

I welcome it! BTW: Comments should go to MovableTypePluginDev.

Ah - I understand now - this plugin pulls articles from a MovableType installation. Still useful. Perhaps you can upload it here?

-- MartinCleaver - 26 Jun 2003

This plugin is not really necessary. See IncludingBlogSearchInTwiki which allows searching all blogs in an MT installation, not just one.

-- StanleyKnutson - 09 Sep 2003

Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatmd5 MovableTypePlugin.md5 r2 r1 manage 0.2 K 2008-12-12 - 11:46 SopanShewale checksum file , Uploaded as a part of Release Process
Compressed Zip archivetgz MovableTypePlugin.tgz r2 r1 manage 6.1 K 2008-12-12 - 11:46 SopanShewale See MovableTypePlugin for details. Untar and run the installer script, Uploaded as a part of Release Process
Compressed Zip archivezip MovableTypePlugin.zip r3 r2 r1 manage 7.5 K 2008-12-12 - 11:46 SopanShewale See MovableTypePlugin for details. Unzip and run the installer script , Uploaded as a part of Release Process
Unknown file formatext MovableTypePlugin_installer r2 r1 manage 3.4 K 2008-12-12 - 11:46 SopanShewale Installer Script, Uploaded as a part of Release Process
Edit | Attach | Watch | Print version | History: r9 < r8 < r7 < r6 < r5 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r9 - 2008-12-12 - SopanShewale
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.