Jump to navigation

Monday, November 21, 2005

Test Post

Flickr Photo

This is a test post.  See Savannah?  This is a test of Flock’s post abilities.

-Brad

technorati tags: , ,

posted @ 2:50 PM EST / Comments (0)

Tuesday, March 18, 2003

Revealing your sources

Gordon Bonnar writes:

I’ve got an interesting one for you. I am sure this can be done with the Macro and Regex plug-ins. I am just not sure how.

I always use the cite element and the title element in my blockquotes. What I would like is for a link to appear at the bottom right within the blockquote pointing to the cite URL with the text of the title attribute. Do you think this is doable?

Click to read the answer... / [ Movable Type ] / posted @ 11:32 AM EST / Comments (0)

Monday, January 27, 2003

Putting the Macro Plugin to Work

From: Graham Walker

I’ve recently just started to figure out your Regex and MTMacros plugins… I think they’re going to be great. Just a quick question, and I don’t know if this is at all possible with either plugin, but I figured I’d ask. I’ve got a little Javascript function I use to show/hide extra content on a subject I’m writing about (example: the “more” link halfway down this page, if you care). Basically, it’s a big chunk of code — the link, a couple javascript functions in the link, the div of the hidden content, the id= to reference the css, etc.

I was wondering if there’s a way to make a simpler tag or shorthand to automate the coding for me. So, instead of typing out all the code, I could just do something like <ShowMore linkid="id1" moretextid="text1" moretext="Blah blah blah"> and it’d take the info from each of the tags and turn it into my code chunk.

It looks like I might be able to do something like it with MTMacroMatch, but I wanted to see if you thought it’d even be possible, before I start messing with it.

Basically, is there a way (maybe MTMacroMatch) to take info from a Macro’s attributes and then spit them out somewhere else in an entry as code?

Click to read the answer... / [ Movable Type ] / posted @ 6:50 PM EST / Comments (0)

‘Recent Links’ from Entries

From: Don Graver

I would like to somehow create a list of recent links within my posts. Basically, copy all the href’s out and create a sidebar that shows recent things I have linked to. I found your code suggestion (at bottom) on the MT support forum, and am wondering if this will create what I am looking for… thanks. I haven’t worked with either of these two plugins, but was curious if I’m on the right track.

Click to read the answer... / [ Movable Type ] / posted @ 5:40 PM EST / Comments (0)

Monday, January 13, 2003

Escaping URLs for XHTML

From: Charles Wiltgen

MT is great, but it was a bit of an effort to get it doing validated XHTML. One piece that’s missing is something that would fix URLs in entries. For example, ampersands in URLs apparently need to be changed to “&amp;”, which seems difficult since you don’t want to change ampersands in “&amp;”s in URLs. Can any of your wonderful plug-ins be used to address this?

Click to read the answer... / [ Movable Type ] / posted @ 6:38 PM EST / Comments (0)

Wednesday, December 18, 2002

Indicating new content in Movable Type

From: Marc North

Hey Brad,

I have a category that I post to only infrequently (on my main page, it’s the ‘viewfinder’ articles) and I want to be able to make MT automatically embed a ‘NEW!’ red text tag for a couple of days after I post a new article to that category - you know, to emphasize that there’s something new there to read.

I’m thinking, something that compares the current date to the date the article is posted. If less than 2 days, display the ‘NEW!’ text.

Any clue if this is doable within MT alone?

Click to read the answer... / [ Movable Type ] / posted @ 11:22 AM EST / Comments (0)
Copyright © 1995-2008 Brad Choate, Some Rights Reserved.