Search the web
Sign In
New User? Sign Up
mt-dev · Movable Type Developers
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.

Messages

  Messages Help
Advanced
Messages 253 - 282 of 2069   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
253
So I was writing some crude scripts that converted GPS waypoints into MoveableType blog entries, using the MT API. One of the steps is to ping geourl with the...
torugart
Offline Send Email
Dec 1, 2003
2:24 pm
254
Hi Adam, ... Many thanks for responding. You're right, this is an approach that would make be a bit uncomfortable. There are so many ways it could go wrong...
Matt Mower
mowerm
Offline Send Email
Dec 2, 2003
5:50 pm
255
... Hash: SHA1 Hi Matt, ... One of the things we're adding in the next version of MT is many more API hooks. What kind of a hook would make this possible for...
Benjamin Trott
btrott
Offline Send Email
Dec 8, 2003
4:50 am
256
My message is bellow... ... a user has permission ... (speed-wise) way ... outlined in the ... (http://www.movabletype.org/docs/ ... do a triple join with ... ...
zotharstealerofsouls
zotharsteale...
Offline Send Email
Jan 7, 2004
8:27 pm
257
Hi! I've just jointed your group. I'm Charli and I live in Springfield, MO. I just finished an MT course in November with the Virtual Learning Center and...
Charli Hightower
charli7679
Offline Send Email
Jan 11, 2004
6:55 pm
258
Charli, this isn't a Medical Transcription group. It's a development group for a software product called Movable Type. ;-) _____ From: Charli Hightower...
girlie
girliematters
Offline Send Email
Jan 11, 2004
7:07 pm
259
I would just like to ask all the plugin developers out there to take a look at my proposal for how to integrate what I am envisioning for the PM Plugin ...
David Raynes
rayners1
Offline Send Email
Jan 13, 2004
2:45 am
260
Hi, how would one go about intercepting the MT::Entry::save method so that a plugin process would be run only when a new or edited entry is saved to the db,...
Curt Siffert
siffert
Offline Send Email
Feb 17, 2004
10:43 pm
261
This is how i did it: { # Trap ugly redefinition warnings local $SIG{__WARN__} = sub { }; # Replace MT::Entry::save with our # own subroutine entrySave() but...
Gavin Mogan
gavin_mogan
Offline Send Email
Feb 17, 2004
10:53 pm
262
Thanks Gavin... how is this triggered? Do you have it running as a plugin that is triggered by a template tag? Or some other approach? I'm having trouble...
Curt Siffert
siffert
Offline Send Email
Feb 17, 2004
11:18 pm
263
Its using .. well what I call function pointers (I come from a C background, so i'm not sure what its called in perl). $mt_entry_save_handler =...
Gavin Mogan
gavin_mogan
Offline Send Email
Feb 17, 2004
11:33 pm
264
... Whenever mt.cgi runs, one of the first things it does is execute the code in all the .pl files in the plugins directory. So you can put this code in a...
Kevin Shay
kevin_shay
Offline Send Email
Feb 17, 2004
11:34 pm
265
Anyone have any idea of the order of execution if multiple overrides are specified? Say I write Plugin A, and override the save routine, then Kevin writes ...
Chad Everett
jayseae
Offline Send Email
Feb 17, 2004
11:42 pm
266
Ah, I get it. Thanks, exactly what I needed to make my brain click. Hopefully as each plugin that overrides save is called, it actually globally redefines the...
Curt Siffert
siffert
Offline Send Email
Feb 17, 2004
11:51 pm
267
... You can't. -- Jeremy D. Zawodny | Perl, Web, MySQL, Linux Magazine, Yahoo! <Jeremy@...> | http://jeremy.zawodny.com/...
Jeremy Zawodny
jzawodn
Offline Send Email
Feb 17, 2004
11:55 pm
268
In our plugin code, if we redefine *MT::Entry::save to be our own internal subroutine, which then calls the previous existing version of MT::Entry::save, then...
Curt Siffert
siffert
Offline Send Email
Feb 18, 2004
12:11 am
269
... If all the plugins in question use code like the code Gavin posted, then that is how it would work. In other words, if the plugin that's loaded first...
Kevin Shay
kevin_shay
Offline Send Email
Feb 18, 2004
12:50 am
270
Hi all, It's good to see such an in-depth discussion about the DB layer of the MT platform. You might be interested to know that MT 3.0 will contain a built-in...
Ezra Cooper
ezra6a
Offline Send Email
Feb 18, 2004
7:08 pm
271
Hi Ezra - Wondering how detailed this will be. For instance, is it only at the beginning and ending of a routine, or will there be hooks possible within the...
Chad Everett
jayseae
Offline Send Email
Feb 18, 2004
8:35 pm
272
By the way, it appears there are cases where save is called multiple times in a post cycle. Specifically, when there is a list of urls to ping - in that case,...
Curt Siffert
siffert
Offline Send Email
Feb 19, 2004
5:22 am
273
Wouldn't that break on mod_perl installs? $count would ever be increasing, and never would be reset to 0 as the files are only loaded once (well not once, but...
Gavin Mogan
gavin_mogan
Offline Send Email
Feb 19, 2004
7:06 am
274 Curt Siffert
siffert
Offline Send Email
Feb 19, 2004
7:23 am
275
(sorry about the fat-finger). It could be, I haven't done much mod_perl. What would be the best way to make $count persistent only within an http request...
Curt Siffert
siffert
Offline Send Email
Feb 19, 2004
7:43 am
276
Take a look at the MT::Request class. Search the source for uses of it-- I think it's precisely what you're needing. ... -- Brad Choate http://bradchoate.com/...
Brad Choate
bschoate
Offline Send Email
Feb 19, 2004
12:12 pm
277
Hey all, thanks for the help on intercepting save. I have the rough beginnings of a revision history plugin. You know, the whole RCS thing, revision history...
Curt Siffert
siffert
Offline Send Email
Feb 20, 2004
12:00 pm
278
... html diff would probably help with the one-line paragraph issue: http://www.aaronsw.com/2002/diff/ It's written in python, but that shouldn't stop you ;) ...
Gregory Williams
gregcnationcom
Offline Send Email
Feb 20, 2004
5:27 pm
279
For what it's worth, there is a Perl module for computing differences between versions of a chunk of html: ...
Ezra Cooper
ezra6a
Offline Send Email
Feb 20, 2004
6:35 pm
280
I just would like to point out you can get away without passing the blog id. $entry->blog_id Thats all I really noticed but I'm still just waking up. Gavin...
Gavin Mogan
gavin_mogan
Offline Send Email
Feb 20, 2004
7:13 pm
281
Sweet. I implemented usage of HTML::Diff, and used the <div> technique that was used in the python script - it seems to work really well so far! The...
Curt Siffert
siffert
Offline Send Email
Feb 21, 2004
12:41 am
282
You could always use the template system (see build_page), people can edit the output without messing with the code. yea. Although I guess each save you could...
Gavin Mogan
gavin_mogan
Offline Send Email
Feb 21, 2004
2:23 am
Messages 253 - 282 of 2069   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2007 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help