Posts with keyword: movabletype

                          Getting Good Descriptions When Sharing on Google Plus

                          Google Plus gets it's description from the meta item named description. Mine was set to a static string describing the blog, not the content of the entry. I've fixed it. Here's how I did it.
                          Continue reading...

                          Putting a Facebook Like Button in a Movabletype Blog

                          The top of this post has a Facebook "like button." I'm not sure I'm going to leave it there, but I though I'd share how I did it. These instructions are for Movabletype: Edit the "Individual Entry Archive" template under "Archive Templates" Once you decide where you want the button in the template, insert the following code: <iframe src="http://www.facebook.com/plugins/like.php?href=<$MTEntryPermalink$>&layout=standard&show_faces=false&width=390&action=like&colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; height: 25px; width:390px;"></iframe> Note that <$MTEntryPermalink$> is what gets the entry URL and places it in the call to Facebook Save the template Republish any entries you want to have the like
                          Continue reading...

                          Using bit.ly with MovableType

                          I've been using the mt-twitter plugin to automatically publish blog articles to Twitter. I find that I get more readers that way than RSS or my newsletter at this point. One problem is that you don't get any good stats that way. I've modified the mt-twitter plugin to use bit.ly now to solve that problem. With bit.ly you can click on the "info" link and get good stats about who clicked from where. This is the code I added to the _update_twitter function: my $bitly = LWP::UserAgent->new; my $url_response = $bitly->get("http://bit.ly/api?url=" . $obj->permalink); my $small_url; if($url_response->is_success) { $small_url =
                          Continue reading...

                          ActionStreams: Follow Me Around the Net

                          Adding your IT Conversations profile to Action Streams(click to enlarge) The more you use sites on the Web for keeping track of our online lives and sharing things with friends, the more you'd like to have a place on your blog to gather them all together. I've had my del.icio.us feeds on my blog for a long time. I also used to put my tweets on my blog. I experimented with a Flickr widget and gave it up. Now Mark Paschal has released a plugin for Movable Type called Action Streams that does that all nicely. There are dozens
                          Continue reading...

                          Upgrading to MT4.01

                          I'm in the processing of upgrading this blog to run on Movabletype 4.0, so there will be some things broken while I get it right. Thanks for your patience.
                          Continue reading...

                          Limit Simultaneous Connections in Apache

                          Yesterday I wrote about the comment storms that were happening on my blog. Many people made some great suggestions and I plan on implementing many of them in the coming weeks. I found something, however, that was pretty simple and, so far, seems to be working beautifully. Mod_limitipconn is a small Apache module that allows you to limit the number of simultaneous connections from any given IP address for any particular resource or mime-type. It built and installed without a hitch--within 15 minutes I was in business. Here's the configuration I'm using to limit connections to the comment CGI:
                          Continue reading...

                          Comment Spam Storms

                          Update: Be sure to read the comments. There are lots of good suggestions on solving this problem. Here's what I did to stop spam storms About three times per day my server gets hit my a comment storm. Someone with a botnet is trying to spam my blog and they're going about it stupidly. They don't get any comments through because of a simple textual CAPTCHA that I installed in June. The storm occurs because the spammers try to post over 100 comments in the space of about 1 minute from five or six different IP addresses. Naturally, the
                          Continue reading...

                          Publishing with Atom

                          Elias Torres has created a Atom Publishing Protocol (APP) plug-in for WordPress. The service allows you to use Atom to POST, PUT, and DELETE entries as well as other things. You might recall that I interviewed Elias for IT Conversations earlier this month. MovableType supports the APP natively since version 3. Ben Hammersley has a discussion how to use MovableType APP, if you're curious.
                          Continue reading...

                          An Update to the Microid Plugin for MovableType

                          Tim Appnel was kind enough to apply his formidable MovableType expertise to my MicroID plugin and made some significant improvements: There is no longer a need for an explicit context argument to the tag. The code senses the right context using MovableType voodoo (looks at the stash). There is no longer a dependency on Digest::SHA1. Apparently MT 3.0 and above has SHA1 code built in (see MT::Util->perl_sha1_digest_hex();) Other things like a localized error message and making the tag work in a recent comments loop. I've updated the documentation and you can download the new version there. Thanks Tim!
                          Continue reading...

                          Abandoning SCode CAPTCHAs

                          The CAPTCHA experiment was a failure. I didn't get any blog spam, but I heard from a few people who tried to post comments and failed (other's succeeded). In the end, I didn't feel like debugging it, or worse driving people away, so I determined to abandon it. Still, I need a way to combat comment spam, so I went to a simpler, text-based CAPTCHA. This isn't as flexible as I'd like, but it's likely to do the trick. The main problem with it is having to edit code. When I update MT, I'll have to reinstall it. Of
                          Continue reading...

                          Speeding Up Tags

                          A while back, I added a tag cloud to my blog. The idea was to replace categories with tags, a much more flexible system. I bend the Movable Type (MT) keywords and search to my purpose. One thing I did to make that work was modify the search script in MT to search keywords exclusively when it's called with the SearchElement=keywords option. My next task, which I describe here, had three goals: Make something with a prettier URL Add RSS for tags Speed things up The last point was important if I wanted this to work at any kind
                          Continue reading...

                          MovableType Congifuration

                          If you've upgraded to MovableType 3.2, here's a clue for you: delete your old mt.cfg configuration file (since it's been moved to mt-config.cgi). MT will continue to read mt.cfg even though you're busily editing mt-config.cgi. This can be frustrating.
                          Continue reading...

                          A MovableType PlugIn for MicroIDs

                          Yesterday's entry on MicroID got me thinking that to be truly useful, blogs and other sites are going to have to including MIDs (as I call them) in every entry and comment as a matter of course. For that, you need a plugin. I've been wanting to learn to write plugins for MovableType for sometime, so I set out to do so this morning. The result is microid, a MovableType plugin that can be used inside MT's template system to add MicroIDs to entries and comments. If you look at the source for this entry, for example, you'll see
                          Continue reading...

                          Speeding Up MovableType

                          Movabletype can be slow. One reason for that is categories. Movabletype's default templates create one big huge index with all of the entries from the category. I've got one category with almost 1000 posts. I found this bit of wisdom from Tom Sherman on optimizing your templates. The basic idea is to annotate the MTEntries tag with a lastn="10" attribute and then add another MTEntries block that just puts the title and permalink for the rest. I decided to test a few options. The first option was to do nothing. Use the default templates. The second option was Tom's
                          Continue reading...








                                                  Variety show