stargeek
PHP news website logo.
home    PHP scripts    articles    seo tools    links    search    contact    shop    realtors


10 Goto 10: MT-Preview: WYSIWYG Preview Mode for Movable Type







10 Goto 10: MT-Preview: WYSIWYG
Preview Mode for Movable Type

10 Goto 10: MT-Preview: WYSIWYG
Preview Mode for Movable Type
01/11/2004 07:57 AM

10 Goto 10: MT-Preview: WYSIWYG Preview Mode for Movable Type

laurentm.com/10Goto10/archives/movable_type/000086.html
track this site | 4 links




This is a GrokNews Entry: (what is grok?)





Similar Items

10 Goto 10: MT-Preview: WYSIWYG Preview Mode for Movable Type

Grok Headline matches for 10 Goto 10: MT-Preview: WYSIWYG Preview Mode for Movable Type

Movable Type Publishing Platform:
Movable Type 3.11 Released: Bugs fixed


Movable Type Publishing Platform:
Movable Type 3.11 Released: Bugs fixed
09/04/2004 05:18 PM
Movable Type 3.11 Released: Bugs fixed .. released

movabletype.org/news/2004/09/movable_type_311_released.shtm l
track this site | 3 links


Movable Type Publishing Platform:
Movable Type 3.14 released


Movable Type Publishing Platform:
Movable Type 3.14 released
12/22/2004 01:05 AM
Movable Type Publishing Platform: Movable Type 3.14 released .. new version of Movable Type

movabletype.org/news/2004/12/movable_type_314_release.shtml
track this site | 4 links


Movable Type News: Workflow for Movable
Type released


Movable Type News: Workflow for Movable
Type released
04/15/2005 10:47 PM
Workflow, a new plugin for Movable Type 3.1x, has just been released by David Raynes. While we don't usually feature new plugins as part of our news about the Movable Type platform, we thought it was worth pointing out because...

Movable Type Publishing Platform:
Movable Type 3.1 Launched


Movable Type Publishing Platform:
Movable Type 3.1 Launched
08/31/2004 05:31 PM
Movable Type 3.1 Launched .. new version

movabletype.org/news/2004/08/movable_type_31_launched.shtml< br />track this site | 4 links


Movable Type Publishing Platform:
Movable Type 3.1: What's New


Movable Type Publishing Platform:
Movable Type 3.1: What's New
07/30/2004 05:26 PM
Movable Type Publishing Platform: Movable Type 3.1: What’s New .. new version of Moveable Type

movabletype.org/news/2004/07/movable_type_31_whats_new.shtml
track this site | 4 links


Movable Type News: Movable Type 3.17
released


Movable Type News: Movable Type 3.17
released
06/06/2005 12:11 AM
Today we are releasing Movable Type 3.17. This release addresses four issues that do not affect the majority of installations, but are critical for users with certain configurations. Version 3.17 is not a required upgrade if your Movable Type installation...

Movable Type News: Movable Type 3.16
released


Movable Type News: Movable Type 3.16
released
04/18/2005 04:41 PM
The Movable Type team has been hard at work and we have some very exciting things coming in the 2005 release schedule. To kick things off we are proud to introduce Movable Type 3.16. Movable Type 3.16 sports significant improvements...

Movable Type Pro


Movable Type Pro 03/13/2003 10:15 AM
Now that version 2.6 is released, we're pleased to announce that Movable Type Pro is in development for a summer...

"Movable Type 2.64"


"Movable Type 2.64" 12/17/2003 03:46 PM

Get Movable Type


Get Movable Type 05/13/2004 03:43 PM
acceso a las licencias completas .. announced their pricing scheme .. new pricing structure .. Movable Type Free .. Preisliste .. limitless

secure.sixapart.com
track this site | 9 links


Movable Type RIP


Movable Type RIP 05/13/2004 10:48 AM
I'm done with Movable Type. After months of little useful communications about their plans, Ben and Mena have for all intents and purposes ditched the free version of their once-shining weblogging software. Now, MT is a "publishing platform" that costs at least $69 (with limited functionality). Lucky for us that, while MT slept, we have discovered a much improved and free Blogger, a truly open source WordPress, and a similarly priced but more powerful ExpressionEngine.

Movable Type 3.1


Movable Type 3.1 07/27/2004 12:42 AM

Six Apart has announced what will be included in MT 3.1 I am highly disappointed that the feature list is not longer. Time will tell if they are able to keep up with the competition. [MovableTyp e]


"SMI und Movable Type 3.0"


"SMI und Movable Type 3.0" 04/27/2004 03:55 PM

Movable Type 3.1: What's New


Movable Type 3.1: What's New 07/27/2004 09:21 PM
Following Ben and Mena’s demonstration on Friday at the BlogOn conference, we’re glad to give everyone a small peek at...

"Movable Type 3"


"Movable Type 3" 06/03/2004 12:52 AM

How I am using Movable Type


How I am using Movable Type 05/18/2004 04:20 AM
In answer to Mena's question regarding Movable Type, asking "How are you using the tool?", I thought I'd explain a...

Movable Type 3.0


Movable Type 3.0 12/22/2003 05:37 AM
We realize that official news has been scarce over the last 6-9 months. During this time, our company has grown...

"Movable Type 3.0"


"Movable Type 3.0" 05/15/2004 02:22 PM

Plug In to Movable Type


Plug In to Movable Type 05/17/2004 11:53 AM
the hard part is choosing between dual G5s or dual LCD monitors

Movable Type 3.0 Controversy


Movable Type 3.0 Controversy 05/17/2004 04:35 PM

MovableTyp e Madness: Dean over at blogs4God presents a really good wrap-up of the furor over the new Movable Type release.

Unbeknowst to me, Six Apart made a change over the weekend to say that mutiple Weblogs in MT used to create one site (for instance, if you have another blog to handle static pages for your site), do not count towards the Weblog limit in the license. They also removed a single CPU restriction that they said was in there by mistake, are allowing you to purchase additional blog/author packs for $10 each, and have increased the number of authors allowed in the mid-level version from 3 to 5.

Don Park links to some good resources as well, including this very wise column by Timothy Appnel over at O'Reilly:

As a developer and one who makes a living writing code, this reaction to Six Apart's new licensing is really disheartening and on a certain level frustrating to see. I am a firm believer and backer of free software. [...] I've personally released quite a bit of open source code myself and will continue to do so. However this apparent expectation of the vocal part of community that it is their right to have all great works of software at no cost is bothersome. If users don't have the funds or won't pay on principle for my time, effort or talent – how do I eat?

He makes a good point. Not everything in the world can be free, as much as we would like it. Yes, I love free software, but I also know when stuff is worth paying for. I'm reminded about what Nick Bradbury wrote in the pre-release FAQ to FeedDemon:

Will FeedDemon be free? Will it be open source? Sorry, no. I have nothing against open source, but I also have two kids to feed :)

I personally don't have a problem with Six Apart charging for this version. Movable Type was a gift so far, and I guess I never expected it to be free forever. I think they could have priced it a little lower, but it's still worth it.

Click here to comment on this entry


Movable Type 3.12 released


Movable Type 3.12 released 12/17/2004 06:37 PM
Movable Type 3.12 has just been released in the US. This version fixes up and ties down tons of little...

Movable Type 3.0 and Eating


Movable Type 3.0 and Eating 05/13/2004 01:51 PM
tim appnel is a developer who makes money providing services around Movable Type

Movable Type 3.15 released


Movable Type 3.15 released 02/01/2005 08:54 PM
Version 3.15 fixes a vulnerability in the mail sending packages for all Movable Type versions in which the user has...

Movable Type 3.14 released


Movable Type 3.14 released 12/22/2004 01:17 AM
We've just released Movable Type 3.14, which addresses the server load issues we've been discussing for the past few days....

Learning Movable Type


Learning Movable Type 08/08/2004 11:58 AM
Learning Movable Type: Tips and tricks and helpful things I've learned while using the Movable Type web publishing system .. A Blog about Learning MT .. Elise

elise.com/mt
track this site | 2 links


Movable Type Undiscussion


Movable Type Undiscussion 12/24/2004 12:59 PM
The Movable Type discussion forum gets only a fraction of the traffic it used to receive. I present a few thoughts on why this has happened and what can be done about it.

Movable Type Meetup


Movable Type Meetup 10/28/2003 11:09 PM
Looking for a way to hang out with other Movable Type users in real life? To talk about the writing...

"Movable Type 3.14 released"


"Movable Type 3.14 released" 12/24/2004 01:00 PM

Movable Type SOLD OUT!?!


Movable Type SOLD OUT!?! 05/16/2004 12:42 AM
advocated their original position .. asterisk: MovableType SOLD OUT .. Asterisk

7nights.com/asterisk/archives/movable_type_sold_out.php
track this site | 5 links


Movable Type RIP | Metafilter


Movable Type RIP | Metafilter 05/14/2004 01:39 AM
Metafilter thread on Movable Type going to a pay model .. that just isn't good enough .. Answer

metafilter.com/mefi/33072
track this site | 5 links


First details on Movable Type 3.1


First details on Movable Type 3.1 07/26/2004 09:15 PM
We've just posted Movable Type 3.1: What's New, a quick review of some of the new features in our upcoming...

Breadcrumbs in Movable Type


Breadcrumbs in Movable Type 05/05/2004 02:18 PM

P. Obels asked

How do you get the links on top of your site in movabletype which point out where you are?

like:

Home » Our Thinking » Measure Twice » Archive » Tools and Utilities

Since he’s not the first person who’s asked, and I’m getting tired of re-writing the answer, I’m blogging it so I can simply point people here.

The short answer is: manually.

Each MT template has the breadcrumbs manually defined. The only variable part of the breadcrumb is (in most templates) the last item in the list. So my archive template that creates both category and monthly archives has this in it:

<p class="breadcrumb"><a href="/">Home</a> &raquo; <a href="/thinking/">Our Thinking</a> &raquo; <a href="/blog/">Measure Twice</a> &raquo; <a href="/blog/archives/">Archive</a> &raquo; <MTArchiveTitle></p>

And the individual archive template contains

<p class="breadcrumb"><a href="/">Home</a> &raquo; <a href="/thinking/">Our Thinking</a> &raquo; <a href="/blog/">Measure Twice</a> &raquo; <MTEntryTitle></p>


Movable Type News


Movable Type News 05/13/2004 04:57 PM
dernire mouture de l'outil de blogging MovableType .. Movable Type 3.0 Developer Edition .. Six Apart announced .. out

movabletype.org/news/2004_05.shtml#001048
track this site | 6 links


Movable Type Scaling


Movable Type Scaling 11/05/2003 03:39 PM
MovableType Scaling problems. Metablogging this for people I know who use MT but might miss this. [Radio Free Blogistan]

Movable Type 3.01d (bug fixes!)


Movable Type 3.01d (bug fixes!) 07/11/2004 06:34 AM
atest version of Movable Type .. entry on the MT Site

movabletype.org/news/2004_07.shtml#001138
track this site | 3 links


Movable Type 3.01D bug fix release


Movable Type 3.01D bug fix release 07/09/2004 09:45 PM
We've just released Movable Type 3.01D. You can download the new version by logging into your Movable Type Account...

Movable Type 3.1 Launched


Movable Type 3.1 Launched 08/31/2004 03:31 PM
We're happy to announce that this afternoon we released Movable Type 3.1. We're extremely excited about this new release, and...

Launched: Movable Type 3.1


Launched: Movable Type 3.1 08/31/2004 04:51 PM
We're happy to announce that this afternoon we released Movable Type 3.1. We're extremely excited about this new release, and...

Using PHP for Movable Type Searches


Using PHP for Movable Type Searches 07/04/2004 01:38 PM

A lot of people want to roll their own search with Movable Type. Us, for instance — Gadgetopia has a two-tiered search system based on whether the search term appears in the title, keywords, or body of the entry (see this post for more information).

Our search is done in with SQL and PHP, abandoning the MT search system completely. The probem with this method is rendering the search results. If you don't use MT, then you lose two things:

(1) Auto-creation of the permalink. The URL isn't stored anywhere in the database, so you have to recreate it. If your URLs are just based on the entry ID, then it's not hard. However, look at our URLs — they're a conglomoration of the date and the entry title. We'd have to create a PHP function to recreate this scheme — and if we ever changed the URL structure from within MT, we'd have to change the PHP function separately.

(2) Text filters. If you're just converting line breaks, the text filter is not so hard to re-produce. However, if you're using Textile or some other plug-in to filter your text, you're going to have to reproduce that in PHP as well so the previews render correctly.

You can avoid all this, however, by simply using PHP includes and an extra Individual Entry Archive. The result is an elegant solution that blends PHP and MT to eliminate the tedium of recreating MT functionality in PHP.

First, create a folder in your site called "search_fragments."

Next, create a new Individual Entry Archive in MT called "search_fragment." This template should contain the just HTML to create a single search listing. Like this:


<tr class="title">
  <td class="title">
    <a href="<MTEntryPermalink>"><MTEntryTitle></a>
  </td>
  <td class="date">
    <MTEntryDate format="%m/%d/%Y">
  </td>
</tr>
<tr class="excerpt">
  <td colspan="2">
    <MTEntryExcerpt>
  </td>
</td>

Configure this template to generate a file in the "search_fragments" directory named for the entry ID only. You don't even have add an extention, though you can if you like (if so, you'll need the change the PHP code listed below). So the entry in the archiving configuration would be something like:

search_fragments/<MTEntryID>

Now when an entry rebuilds, it will create two files: (1) its normal archive file, and (2) a search result fragment file called "1", "2", "348", etc. Notice that since we're using standard MT templates to create the fragment, the permalink will be created by MT, and the exceprt text will be formatted according to the text filter the entry is using.

Now, when you use your SQL to get your search results, just SELECT the entry ID, then spin through those and use PHP to include the matching search fragment file. Like this:


<table>
  <?php
    while ($r = mysql_fetch_assoc($keywordResults)) {
      @include "search_fragments/" . $r['entry_id'];
    }
  ?>
</table>

This will dump the contents of each search fragment file in the table. Since each file contained two rows, the resulting table will be valid HTML. Notice we're surpressing any errors on the inclusion line just in case a file is missing for some reason.

We've be using this system here for months, and it works great.

Click here to comment on this entry


Grok Description matches for 10 Goto 10: MT-Preview: WYSIWYG Preview Mode for Movable Type
GrokA matches for 10 Goto 10: MT-Preview: WYSIWYG Preview Mode for Movable Type

10 Goto 10: MT-Preview: WYSIWYG Preview Mode for Movable Type

The following phrases have been identified by the grok system as matching this entry:

















Also check out:


Grok

Ipod Porn on the
Rise

Brief Abstract of
Wikipedia's
Mesothelioma Cancer
page

Get first aid
instructions in your
cell phone

IE is crap
JSPWiki gains
podcasting support

movabletype.org :
news

John Derbyshire on
Britney Spears on
National Review
Online

ODP Weblog - Ciaran
Hamilton's World of
DMOZ

RipDigital: Convert
your music CDs to a
digital music
library

Thoughts of the Day
Career Guide for
Engineers and
Computer Scientists

Wired News: The
Macintosh's
Twisted Truth

FTSE-100's Web Sites
Healthcare Resources
2004 - Internet
MiniGuide

Putting ads in the
hands of the public

Quick Tip: Blocking
Some CNN Ads

WHO Scours China TV
Producer's Flat for
SARS Clues

LA Airport Terminal
Evacuated After
Breach

Mich. Group Seeks
Affirmative Action
Ban

Cuba curbs internet
use

FG Clarifies
Position on
Nigeria's Internet
Group

E. China sees growth
in private high-tech
sector

Cuba puts private
Internet use off
limits

Cuba cracks down on
Internet use

The 'Singularity' of
the nerds Fringe
group of computer
programmers push
toward a superhuman
artificial intell

The Democrats and
the Republicans are
about to lose badly
to the Internet
Dean's no party
animal, he's a partn

The Democrats and
the Republicans are
about to lose badly
to the Internet

'Lord of the Rings'
Big Winner at L.A.
Film Awards

Swiss expert leads
fights against
computer viruses

Dems on the Supreme
Court

clear channels on
spectrum policy

Common(s) Sense of
Thomas Paine

more please
the edwards appeal
to a loon like me

"Go find me a way to
do this."

Subscription
Services

jayaCard
CRONw - CRON for
Windows

Mobible
Microsoft
Engineering Division
Debuts

Security Flaw Found
in Microsoft Word

Microsoft Expands
Opteron Windows Test

Lessig on Supreme
Court justices

2003: Year of Apache
Internet, Multimedia
and Modern Trends in
Compuetr Science

Australasian
Computer Science
Week (January 18 -
22, 2004)

Clear Channel gags
an antiwar
conservative

Great moments in
science

from components to
modules

Political support
and pigout

Martian Watches |
Metafilter

BBC NEWS | World |
Middle East |
'Chemical weapons'
found in Iraq

PBS | I, Cringely .
Archived Column

Is there a future
for Lego in kids'
high-tech game
world? (AFP)

Guerrilla Art
what is grok?