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;
?> |
Andrew Flanagan on October 5th 2007 in Actual Events, Geekiness, MetaData
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.
Andrew Flanagan on September 14th 2006 in Actual Events, MetaData
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,
Andrew Flanagan on July 10th 2006 in Actual Events, MetaData, Somewhat Random
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?
Andrew Flanagan on June 8th 2006 in MetaData, Ranting & Ravings, Somewhat Random
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?
Andrew Flanagan on March 13th 2006 in MetaData
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,
Andrew Flanagan on March 4th 2006 in Geekiness, MetaData