Illusory Follies
Archive for category MetaData
WordPress Tagging
Posted by Andrew Flanagan in Actual Events, Geekiness, MetaData on October 5, 2007
I just upgraded to WordPress 2.3 which supports tagging natively. There’s a new spot under the Edit window where you can enter tags. I’m lazy though so I’d like it if it could present me with a list of my tags so I could click and add them automatically… I just modified the code a little bit for one file in WordPress and it appears to work… here’s what I did.
In the file wp-admin/edit-form-advanced.php, insert the following:
162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 | <script type="text/javascript"> function setTag(text) { var curvalue = document.getElementById('tags-input').value; if (curvalue == "") { document.getElementById('tags-input').value = text; } else { document.getElementById('tags-input').value = curvalue + ", " + text; } } </script> <?php $output = "<legend>"; $tags = (array) get_terms('post_tag', $args); foreach ($tags as $tag) { $output .= "<a href=\"#\" onClick=\"setTag('".$tag->name."')\">".$tag->name."</a>,"; } $output = substr($output, 0, strlen($output) - 1); $output .= "</legend>"; echo $output; ?> |
<script type="text/javascript"> function setTag(text) { var curvalue = document.getElementById('tags-input').value; if (curvalue == "") { document.getElementById('tags-input').value = text; } else { document.getElementById('tags-input').value = curvalue + ", " + text; } } </script> <?php $output = "<legend>"; $tags = (array) get_terms('post_tag', $args); foreach ($tags as $tag) { $output .= "<a href=\"#\" onClick=\"setTag('".$tag->name."')\">".$tag->name."</a>,"; } $output = substr($output, 0, strlen($output) - 1); $output .= "</legend>"; echo $output; ?>
Update…?
Posted by Andrew Flanagan in Actual Events, MetaData on September 14, 2006
No entries in a long time. Over a month. Part of the problem is that I tend to oscillate between writing stuff (in a blog type format) and actually DOING things like playing with new code or applications. In order to remedy this dire problem, I’m planning to wrap some of my hobby-related coding into this site and make it not just a blog but also a hub for my hobby coding and other techno-geeky activities. I may also add a list of bookmarks that I’m currently looking at. I bookmark items using Scuttle and you can track my most recent bookmark entries using an RSS feed.
We’ll see how long this takes.
This Page Left Intentionally Blank
Posted by Andrew Flanagan in Actual Events, MetaData, Somewhat Random on July 10, 2006
Ho hum — back in D.C. for business. Hopefully this week is more productive than last — I really don’t feel I got much done this last week.
Not too much new here. This post is basically useless. I have things I want to do. I have things I need to do. And also, I have things I know I’m not going to have time to do. I’m too tired right now to go into details of the different items and which category they fall into.
However, faithful readers of this [Editor’s Comment: pathetic] blog, will be happy to know that I may at a future point dazzle you with my continued ramblings of various technological wonders. Such as getting a cellphone that works. Or something.
Enough for now,
Blogging (a “metapost”)
Posted by Andrew Flanagan in MetaData, Ranting & Ravings, Somewhat Random on June 8, 2006
This entry is about blogging. I’m annoyed because I use this blog far less often than I thought I would or than others expect me to. It’s not very much fun to visit someone’s website that talks about things if they never update it. The thing is, my best thoughts for blog entries come to me while I’m driving on I-405 (weirdly, they almost always come to me somewhere between the Bothel and the Bellevue exit). I don’t have Internet access until I get home (about 1 hour or so later) so I never get to them. I’ve had a lot of cool thoughts (really! cooler than this one!) that (alas) the world will never hear of.
I know you all are missing out, so what should I do? Should I make time each day in my “schedule” (har har) to blog? Is that stupid? Is blogging in general worthless and stupid? Is it like having a journal (which sounds classic and sophisticated) but just more modern? What’s the answer?
New Look
Posted by Andrew Flanagan in MetaData on March 13, 2006
I’ve upgraded (downgraded…?) to WordPress. It’s a lot more customizable and it’s actually a pretty easy to use interface. The site definitely looks different now. I’m not loving it currently. So begins the hunt for a theme. Or maybe I should just customize this one. I don’t know. Suggestions?
Rehosting
Posted by Andrew Flanagan in Geekiness, MetaData on March 4, 2006
This sites now hosted on my very own virtual dedicated server. The performance so far has been great and it’s nice to be able to tweak virtually anything. It’s kind of still like renting and you can get in trouble if you break things too much but as long as you don’t bother your neighbors and you pay your bills, it’s no big deal. Unfortunately there are some restrictions (for example I can’t really run my own mail server due to spam concerns). Not a big deal though…
I’m planning to add some features like a jabber server and some “portal” type applications. I’ve already got a web proxy frontend installed and a social bookmarking client (called Scuttle) installed. Fun stuff. At some point, I’ll be able to consolidate all of my work onto a single server.
I’ve got to finish studying up on my German (I got nothing done this week so I’m cramming again).
More later,
-
You are currently browsing the archives for the MetaData category.
Twitter Updates
Humor
Identity
Links
Projects
Theology
Web Apps
Tags
apple audio automation bash beauty books business church design development diy economics email engineering games gentoo grammar humor ideas investments iphone life linux mac meta network open-source organization perl politics programming Projects psychology rants scripts scripture security software technology theology video web applications windows work writingOlder Posts