Comments on: Auto-Acronym Plugin http://isaacschlueter.com/2004/06/auto_acronym_plugin/ Just slightly more than my twitter stream. Fri, 20 Nov 2015 19:12:11 +0000 http://wordpress.org/?v=2.5.1 By: Isaac Schlueter http://isaacschlueter.com/2004/06/auto_acronym_plugin/#comment-108 Isaac Schlueter Tue, 30 Nov 1999 00:00:00 +0000 #comment-108 Tweaked it to prevent tags-in-tags, and also to add the title to links that have no title, when the link text is one of the known acronyms. Tweaked it to prevent tags-in-tags, and also to add the title to links that have no title, when the link text is one of the known acronyms.

]]>
By: d kitty http://isaacschlueter.com/2004/06/auto_acronym_plugin/#comment-109 d kitty Tue, 30 Nov 1999 00:00:00 +0000 #comment-109 *blink* Wait. You added code to prevent tags inside tags? How? Is the zip file updated? I may have to check it. *blink* Wait. You added code to prevent tags inside tags? How? Is the zip file updated? I may have to check it.

]]>
By: Graham http://isaacschlueter.com/2004/06/auto_acronym_plugin/#comment-110 Graham Tue, 30 Nov 1999 00:00:00 +0000 #comment-110 It looks pretty nice to me - I've been playing with it locally for the past day or so, and I haven't been able to break it yet. It looks pretty nice to me - I’ve been playing with it locally for the past day or so, and I haven’t been able to break it yet.

]]>
By: tin-men http://isaacschlueter.com/2004/06/auto_acronym_plugin/#comment-111 tin-men Tue, 30 Nov 1999 00:00:00 +0000 #comment-111 <strong>Finally!</strong>My exams are finally over! I think I might have just about fluked them, although I kinda hope that I don't, so I'll be able to stay here and be with Nina. I'm a fool. I've also done a few geek thinks to this website, the most noticable is that I tar... Finally!My exams are finally over! I think I might have just about fluked them, although I kinda hope that I don’t, so I’ll be able to stay here and be with Nina. I’m a fool.

I’ve also done a few geek thinks to this website, the most noticable is that I tar…

]]>
By: d kitty http://isaacschlueter.com/2004/06/auto_acronym_plugin/#comment-112 d kitty Tue, 30 Nov 1999 00:00:00 +0000 #comment-112 I hardly ever use acronym tags and yet I probably should. This plugin could come in quite handy. I hardly ever use acronym tags and yet I probably should. This plugin could come in quite handy.

]]>
By: Isaac Schlueter http://isaacschlueter.com/2004/06/auto_acronym_plugin/#comment-113 Isaac Schlueter Tue, 30 Nov 1999 00:00:00 +0000 #comment-113 Yes. <code>$content = preg_replace( '#(<[^<>]*)(<[A-Za-z]+[^>]*>)(.*)(</[A-Za-z]+>)([^<>]*>)#', '$1$3$5', $content); // (Bug, see below - IZS)</code> <code>$content = preg_replace( '#(<[^<>]*)(<[A-Za-z]+[^>]*>)([^<>*)(</[A-Za-z]+>)([^<>]*>)#', '$1$3$5', $content);</code> Yes. No worries about spamming the kitty. Your email address is never displayed on this site, nor given to anyone. The only way that it is used is to (possibly, if I feel like it) responding to questions you may ask me. Yes.

$content = preg_replace( '#(<[^<>]*)(<[A-Za-z]+[^>]*>)(.*)(</[A-Za-z]+>)([^<>]*>)#’, ‘$1$3$5′, $content); // (Bug, see below - IZS)

$content = preg_replace( '#(<[^<>]*)(<[A-Za-z]+[^>]*>)([^<>*)(</[A-Za-z]+>)([^<>]*>)#’, ‘$1$3$5′, $content);

Yes.

No worries about spamming the kitty. Your email address is never displayed on this site, nor given to anyone. The only way that it is used is to (possibly, if I feel like it) responding to questions you may ask me.

]]>
By: d kitty http://isaacschlueter.com/2004/06/auto_acronym_plugin/#comment-114 d kitty Tue, 30 Nov 1999 00:00:00 +0000 #comment-114 Noted. Thank you. And I like the plug-in quite a bit. Noted. Thank you.

And I like the plug-in quite a bit.

]]>
By: Brian http://isaacschlueter.com/2004/06/auto_acronym_plugin/#comment-115 Brian Tue, 30 Nov 1999 00:00:00 +0000 #comment-115 Installed plugin today. Well done. Just one minor annoyance... acronyms in the <code>title=""</code> property of a hyperlink get auto-acronym'd which breaks the tag. Installed plugin today. Well done.

Just one minor annoyance… acronyms in the title="" property of a hyperlink get auto-acronym’d which breaks the tag.

]]>
By: Isaac Schlueter http://isaacschlueter.com/2004/06/auto_acronym_plugin/#comment-116 Isaac Schlueter Tue, 30 Nov 1999 00:00:00 +0000 #comment-116 Thanks for spotting that Brian. Isaac Z. Schlueter says:weird. you found a really rare bugIsaac Z. Schlueter says:nice jobBrianS says:errr... tks I guess. Took me about 15 seconds between saving file and saving post.Isaac Z. Schlueter says:you've gotta have the same acronym inside two tags, without a linebreak between them.Isaac Z. Schlueter says:fixed.BrianS says:like having two title="View PHP..." inside of <p></p>?Isaac Z. Schlueter says:well, it's the actual linebreak that would fix it.Isaac Z. Schlueter says:and autop would then replace that with a <br /> or <p>BrianS says:i cIsaac Z. Schlueter says:. matches any character other than a linebreakIsaac Z. Schlueter says:on line 168, replace (.*) with ([^<>]*)Isaac Z. Schlueter says:and it's fixed.Isaac Z. Schlueter says:preg_replace matches the biggest thing it can, leading to odd results if we let it skip over < and >BrianS says:yep, that did it. well done. Thanks for spotting that Brian.

Isaac Z. Schlueter says:weird. you found a really rare bugIsaac Z. Schlueter says:nice jobBrianS says:errr… tks I guess. Took me about 15 seconds between saving file and saving post.Isaac Z. Schlueter says:you’ve gotta have the same acronym inside two tags, without a linebreak between them.Isaac Z. Schlueter says:fixed.BrianS says:like having two title=”View PHP…” inside of <p></p>?Isaac Z. Schlueter says:well, it’s the actual linebreak that would fix it.Isaac Z. Schlueter says:and autop would then replace that with a <br /> or <p>BrianS says:i cIsaac Z. Schlueter says:. matches any character other than a linebreakIsaac Z. Schlueter says:on line 168, replace (.*) with ([^<>]*)Isaac Z. Schlueter says:and it’s fixed.Isaac Z. Schlueter says:preg_replace matches the biggest thing it can, leading to odd results if we let it skip over < and >BrianS says:yep, that did it. well done.

]]>
By: Isaac Schlueter http://isaacschlueter.com/2004/06/auto_acronym_plugin/#comment-117 Isaac Schlueter Tue, 30 Nov 1999 00:00:00 +0000 #comment-117 Actually, that won't work either. I posted the AntiTagInTag function <a href="http://php.net/strip_tags" title="strip_tags() at PHP.net" rel="nofollow">on the PHP website</a>. Actually, that won’t work either.

I posted the AntiTagInTag function on the PHP website.

]]>

Warning: fopen(/var/www/isaacschlueter.com/public/wp-content/cache/meta/wp-cache-509480ea7745837ace51da7f01b09de3.meta) [function.fopen]: failed to open stream: Permission denied in /var/www/isaacschlueter.com/public/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 378

Warning: fputs(): supplied argument is not a valid stream resource in /var/www/isaacschlueter.com/public/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 379

Warning: fclose(): supplied argument is not a valid stream resource in /var/www/isaacschlueter.com/public/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 380