Need someone to lead product management at your software company? I create software for people that create software and I'm looking for my next opportunity. Check out my resume and get in touch.

Comments

Comments for Process Tags plugin

Excerpt: A Movable Type plugin that allows you to use MT tags in your entry bodies, excerpts, category descriptions, or anywhere else. Read the whole article…

Rick Cogley
January 4, 2003 1:00 AM

I wonder if you can make some sense of this for me - When I ftp'ed processtags.pl to the plugins directory, and chmod'ed it to 755, right afterwards I uploaded my index template with the process_tags="1" added to the MTEntryBody tag. Then when I rebuilt the site, the rebuild process hung, and I got a 500 error when loading mt.cgi. I decided to reverse what I had just done, and sure enough, when I delete processtags.pl, mt.cgi loads just fine. Another problem is that when the rebuild hung, it munged up my posts, so I have "double" posts inside all my posts. Appreciate any help you can provide. Sincerely, Rick Cogley rick.cogley@esolia.co.jp

Rick Cogley
January 4, 2003 5:24 AM

Changing the perl script this way fixed this problem. # use bradchoate::postproc; if (MT->VERSION =~ m/^2\.2/) { require bradchoate::postproc; } Someone mentioned this on the MT support forum. Do you know why this worked? Kind regards Rick rick.cogley@esolia.co.jp

Adam Kalsey
January 4, 2003 11:03 AM

The Process Tags plugin gives MT a tag attribute that you can use to instruct MT to take the output of a tag (like <MTEntryBody>) and examine it for MT tags. At the time that I wrote Process Tags, MT didn't provide plugin authors with a method of creating tag attributes, only tags. Brad Choate wrote a plugin called postproc that gave other plugins the ability to create tag attributes. Process Tags needs Brad's postproc in order to run. In MT 2.51, Movable Type added support for global attributes so you can create attribute plugins without needing postproc. The new attribute support was added in such a way that older plugins relying on postproc could still use postproc instead of MT's built in attribute support. (MT's developer is a smart guy). So plugins that were written before MT 2.51 (like Process Tags) need postproc or need to be updated to work without it. Process Tags hasn't been updated, and still needs Brad's plugin. I know you said you have postproc installed, but there must be something wrong with your installation. I'm running Process Tags and postproc on MT 2.51 without any problems at all. The code change that you describe patches the plugin so that postproc is only needed if your MT version is 2.2 or 2.21. Otherwise Process Tags uses MT's built in attribute support.

Jacques Distler
January 4, 2003 9:40 PM

I installed this plugin in MT 2.51, *without* installing Brad Choate's postproc.pm. I deleted the line use bradchoate::postproc; and the plugin worked *fine*. I think you should make clear that, while it may do no harm, postproc.pm is not needed with MT 2.51.

Trackback from ...now, how did I get here?
February 23, 2003 6:11 PM

process my tag

Excerpt: If you post pics to your MovableType weblog, and you do not wish to place them in several different locations so they appear in your archives, the Process Tags plugin is something I cannot recommend enough. I know; it has been out since August of last ...

Ben Hammersley
April 2, 2003 12:42 PM

Hey Adam, I'm having issues getting this to work with 2.63 . I get this error message upon posting: Can't call method "column_names" on an undefined value at /home/movabletype/lib/MT/App/CMS.pm line 1672. Any ideas?

Michael Bravo
May 29, 2003 7:08 AM

I can't seem to get it running with MTAmazon (at least). I am running MT 2.63. I have modified main index template to read and then tried creating a test entry containing the following: "> " align="left" border="0"> Price: but nothing shows up when either previewing or publishing. I have tried running both with postproc.pm and without it (require commented out) Any idea what's wrong with the setup?

Michael Bravo
May 29, 2003 7:14 AM

Oops, MTAmazon tags got sanitized :) Here's a try with HTML tags changed somewhat, hope they are still recognizable [MTAmazon method="Asin" search="0399149864" line="books" lastn="1"] [p][a href="[MTAmazonLink]"] [img src="[MTAmazonSmallImage]" align="left" border="0"][MTAmazonTitle] [/a][br] [MTAmazonReleaseDate format="%B %e, %Y"][br] Price: [MTAmazonSalePrice][/p][br clear=all] [/MTAmazon]

jon
May 29, 2003 11:48 AM

jeah! was just thinking about this same thing on my vacation. glad to come back and see it implemented ;)

Trackback from Dan Heller
June 18, 2003 12:14 AM

My MTAmazon Hack

Excerpt: A writeup on how I am using MTAmazon with the process_tags plugin, and how I created my own tag for standard layouts for Amazon items.

Ryuta Saitoh
July 22, 2003 2:57 AM

When I ftp'ed processtags.pl to the plugins directory, and chmod'ed it to 755, right afterwards I uploaded my index template with the process_tags="1" added to the MTEntryBody tag. Then when I rebuilt the site, an error occured. So, I cannot make entry with MTAmazony yet. MT::App::CMS=HASH(0x82ee79c) Use of uninitialized value at lib/MT/Builder.pm line 130. Appreciate any help you can provide. I use MT version2.64.

Trackback from the golden path
July 28, 2003 1:11 PM

Transmogrify your blog

Excerpt: Some insight into the construction of this site with a smattering of tips and tricks...

Trackback from Overfloater
January 20, 2004 11:23 AM

Process Tags plugin

Excerpt: Process Tags pluginp...

David Gould
October 4, 2004 7:19 AM

Exactly how do I use this plug-in? In my Index template I changed the line to But it doesn't seem to have any effect. My purpose for using process_tags is to allow my readers to vote on issues within an entry using: http://www.rayners.org/2003/03/mtvote_1.php

Andy Pattrick
October 4, 2004 9:00 AM

Have you got this to work with MT3.11 dynamic templates? I find that the process_tags attribute is ignored if you ask MT to build the templates dynamically (but works fine if you build the templates statically). Appreciate any ideas on how to fix this?

Shelagh
November 22, 2004 9:31 PM

I'm having the same problem with MT's dynamic archives (v3.121)

Adam Kalsey
November 22, 2004 11:14 PM

Perl plugins don't work with the dynamic archives. Any plugins that create things that go in templates (tags and global attributes) need to be re-written in PHP. This means creating and supporting each plugin twice, in two different programming languages.

zro@redtv
March 1, 2005 4:30 AM

awesome plugin... would love to use it. have installed correctally i believe... but it does not work. no error on rebuild or anything. its as if i have done nothing. the tags i use just end up in the mark-up... any ideas? soooooooo..... frusterating.

Trackback from blog.acorri.de
July 20, 2005 5:58 AM

bastelstunde

Excerpt: dank plugins kann man den funktionsumfang von movabletype schön aufbohren. mt-photogallery erstellt bildergalerien. process tags sorgt dafür, dass mt-tags auch in einträgen verarbeitet werden. damit das plug-in funktioniert, muss die datei "postproc...

hsz
November 30, 2005 2:15 AM

Hello. I used this plugin Process Tags to use MTGoogleMaps plugin at MT 3.2-Release2. But, the error message were displayed during I rebuilt all stuff in MT. Undefined subroutine &MT::Plugin::GoogleMaps::GoogleMaps called at lib/MT/Builder.pm line 159. Stuation ------------- I edited index.html(Main index) template. Before : After : MT System Menu : GoogleMaps plugin settings My Google Maps API key and URL have been set. "Path to the template file" text field is "/var/www/html/mt/plugins/MTGoogleMaps/" Direstory Structure : /var/www/html/mt/extlib/bradchoate/macros.pm /var/www/html/mt/extlib/bradchoate/postproc.pm /var/www/html/mt/lib/MT/Builder.pm GoogleMaps plugin directory /var/www/html/mt/plugins/MTGoogleMaps/.DS_Store /var/www/html/mt/plugins/MTGoogleMaps/GoogleMaps.pl /var/www/html/mt/plugins/MTGoogleMaps/map.tmpl Other plugins : /var/www/html/mt/plugins/Blacklist/ /var/www/html/mt/plugins/nofollow/ /var/www/html/mt/plugins/spamlookup/ /var/www/html/mt/plugins/TemplateRefresh/ /var/www/html/mt/plugins/amazon.pl /var/www/html/mt/plugins/blogtimes.pl /var/www/html/mt/plugins/macros.pl /var/www/html/mt/plugins/MTIncludePlus.pl /var/www/html/mt/plugins/mt-isbn.pl /var/www/html/mt/plugins/MTPaginate.pl /var/www/html/mt/plugins/processtags.pl OS : Fedora Core 4 Environment : Perl v5.8.6 PHP 5.0.4 MovableType version 3.2 Release-2 mtpostproc.pm version 1.3 processtags.pl version 1.0 Please teach the problem that this MT cannot be restructured(rebuild?). As you see, my English is poor English. I will make an effort to forge an English ability every day. English that I use might be incomprehensible because of poor English. I rely on the translation engine only these sentences.

Jamie
February 6, 2006 11:11 AM

Hi - I installed Process Tags and MTGoogleMaps. I receive the following error from the cron job: Found = in conditional, should be == at cgi-bin/mt/plugins/GoogleMap.pl line 249. Subroutine MT::Template::Context::add_global_filter redefined at cgi-bin/mt/extlib/bradchoate/postproc.pm line 22. Subroutine MT::Template::Context::post_process_handler redefined at cgi-bin/mt/extlib/bradchoate/postproc.pm line 41. Any suggestions? Thanks in advance.

Geoban
March 19, 2006 9:38 PM

Wow, That was easy. Great plugin. Exactly what I was looking for. Thanks.

Rew Rixom
April 25, 2006 7:00 PM

That was just what I needed! Thank You! Thank You!

Eric
July 7, 2006 5:33 PM

Where does this go? Thanks

Eric
July 7, 2006 5:34 PM

MTCategoryDescription process_tags="1"

voids
July 13, 2006 6:32 AM

Hi~ I think it is a great plugin that I wanted. But is it available to use this plugin in MT 3.2? Actually I failed to use this in my weblogs. (Every tags with this parameter meet an error messages which notifies the out-of-contexte using of template tags)

his
July 16, 2006 2:34 AM

Thank you very good plugin! Process Tags plugin needed small hack to work with MT3.2. But with MT3.31, original code works fine for me. Regards, Hisaaki Shibata

Gregory
February 3, 2007 4:36 AM

I can confirm that commenting out "use bradchoate::postproc;" allows process_tags to work with MT 3.3 without requiring the postproc extension (which was disrupting Notifier on my installation). additionally, by comment out the said line, the MT Plugins interface allows you to see the process_tags 'resources'; ie, the process_tags attribute. thank you for the plugin. I can now refer to entries by id from within entries without fear of urls gone wrong: regards, Gregory

JR Geoffrion
February 7, 2008 11:11 AM

Has anyone been able to make the process_tag work with MT4.1? I'm having trouble and can't figure out which lines to change to make it work. Thanks in advance for your assistance -- I'll be happy to provide details as requested.

Gregory
April 8, 2008 8:02 AM

ProcessTags is working with 4.1 ;-) I downloaded v1.0, commented out the "use bradchoate::postproc;" line and uploaded it to my MT4 server. I did NOT upload the postproc.pm file. at first, I thought it wasn't working and then I realised that I had reverted the template sets to an MT set and needed to reinsert the process_tags="1" attribute in each and every instance of , and . once I had done that and republished the files, everything worked fine. note that attributes are processed in the order that they are specified in the tag (new in MT4?). therefore, and are very different.

Paul
April 24, 2008 2:34 AM

Thanks Gregory, been trying to get this to work for ages, tried the same method as you and it worked!

Toni Hambilton
July 20, 2008 6:16 PM

I uploaded both parts of the plugin, added the tag to the entry more tag, and presto it works in 4.2 Excellent..

vr
October 31, 2008 6:12 AM

Question: We have downloaded the plug in because we want to use the template variables on pages and entries. We also downloaded the FCK editor plugin and re-configured it. I created a page that uses a template variable, when I'm in the WYSWSG editor. I save the page, and I can see the variable's value on the page in the browser. However, if I re-open the page in WYSWSG mode, it breaks the variable by putting the < and > in place of the that close the variable. So instead of having this on the page: Instead you have: <$mt:var name="test"$> I would really appreciate any assistance on this issue. Thanks

Adam Kalsey
October 31, 2008 10:22 AM

That's an issue with FCKEditor, not with the plugin. Most wysiwyg editors for the web replace angle brackets with HTML entities. Some suggestions for fixes: http://www.google.com/search?q=fckeditor+%26lt%3B

pat g
June 26, 2010 4:41 AM

Thanks gonna try this, even bearing in mind the freshness warning...hope it works. cheers p

This discussion has been closed.

Recently Written

Too Big To Fail (Apr 9)
When a company piles resources on a new product idea, it doesn't have room to fail. That keeps it from succeeding.
Go small (Apr 4)
The strengths of a large organization are the opposite of what makes innovation work. Starting something new requires that you start with a small team.
Start with a Belief (Apr 1)
You can't use data to build products unless you start with a hypothesis.
Mastery doesn’t come from perfect planning (Dec 21)
In a ceramics class, one group focused on a single perfect dish, while another made many with no quality focus. The result? A lesson in the value of practice over perfection.
The Dark Side of Input Metrics (Nov 27)
Using input metrics in the wrong way can cause unexpected behaviors, stifled creativity, and micromanagement.
Reframe How You Think About Users of your Internal Platform (Nov 13)
Changing from "Customers" to "Partners" will give you a better perspective on internal product development.
Measuring Feature success (Oct 17)
You're building features to solve problems. If you don't know what success looks like, how did you decide on that feature at all?
How I use OKRs (Oct 13)
A description of how I use OKRs to guide a team, written so I can send to future teams.

Older...

What I'm Reading

Contact

Adam Kalsey

+1 916 600 2497

Resume

Public Key

© 1999-2024 Adam Kalsey.