Expand Cut Tags

No cut tags
branchandroot: oak against sky (Default)

As I go through old entries, cleaning up my tags and filters, I find some interesting things about my own writing habits.

One is that I’m very prone to sequential mono-focus, fits of enthusiasm for some particular topic lasting days or months. Sometimes this is simply a reflection of the particular project I’m working on, sometimes of a new source I’ve found to fan.

During these fits I may post reactions, triumphs, moments of anguish, etc. to a general filter or no filter, but the technical details often go in a filter for that particular thing (gardening, teaching, site design) populated only by the people I have some cause to think might be interested.

Psychological details and interior landscape reports, on the other hand, go in varying privacy-oriented filters depending completely on my mood that particular day.

In and around such topic-specific posts, are scattered my daily life posts, which category is a total grab-bag, including things like what my cats are doing, my latest battle with home improvement, and the weather.

As I go through these, I find myself retuning and refining my whole concept of what filters and tags, respectively, are useful for. My tags are getting vast and increasingly nested while my filters are dividing into two sets: privacy and interest oriented. It makes me think of what a useful thing it would be if people could select among those filters marked public for what they do and don’t wish to read on their flist, instead of only being able to select one public filter at a time to read on someone’s individual journal.

Like most useful things, I imagine that would be a fairly heavy database hit, though.

branchandroot: oak against sky (Default)

So, as things stand, the WordPress Categories widget supports altering sort order, post count and dropdown vs. hierarchical display. But it does not support including or excluding categories.

There is a way around this, though, while we wait for it to show up in the core code! (Everyone thank Bricksmith for suggesting this work-around.)

First, you need to download, upload and activate the php-exec plugin. This plugin allows admins to put php code in an entry or widget and have WordPress recognize it as php and execute it instead of just treating it as plain text.

Next, you go to Design > Widgets and put the Text widget where you want the Categories to appear.

Into the Text widget you paste some variation on the following code:

<li id=”categories-1″ class=”widget-categories”>
<h2 class=”widgettitle”>Categories</h2>
<ul>
<?php wp_list_categories(’orderby=name&hierarchical=true&title_li=&exclude=76,77,78,79′); ?>
</ul>
</li>

Save that and voila, you have a pseudo Categories widget!

In my own case, I wanted to have two Categories widgets, the second one including all the categories that the first one excluded, so I pasted another copy into Text right under the first, with the ID “categories-2″ and the ‘exclude’ changed to ‘include’, and edited my CSS to add #categories-2 everywhere there was a #categories-1.

Caveats: 1) I do not know if it is possible to use this for a dropdown Categories, because that requires some Javascript and I have no idea whether that can be parsed inside a Text widget. 2) What you have is actually a widget inside a widget, codewise. The Categories widget is enclosed inside the li and div of the Text widget. This may cause problems with your CSS styling, depending on how it’s written. If your nested lists look like li li { rules }, this will probably cause problems. On the bright side, if you change it to ul ul { rules } that should fix the problem.

For a full list of the variables you can adjust in wp_list_categories, see the WP documentation.

branchandroot: oak against sky (Default)

My public service post for the month.

OpenID is a nice little thing, and it allows you to log in to services you do not actually have an account with. Generally a pseudo-account is created for you under username.homeservice.com. People on, for example, LJ-code-based services can then friend your “account”, username.homeservice.com. Voila, you can read the locked posts of your friends on services that are not homeservice. If you friend them back with your pseudo-account, you will have an otherservice fpage to read them on.

That’s the sketch. Here’s the dissection.

OpenID will not let you view all of your otherservice friends’ locked posts on your homeservice flist. If your friend on otherservice has an RSS feed account at on your homeservice, locked entries will not appear there. Alas, or possibly thank goodness, considering the security issues. What OpenID will let you do is have an flist on each service in question. Each flist will let you read and comment on the locked posts of your friends.

So what you do is this.

Go ahead and log in to otherservice with OpenID; there will usually be something on the homepage telling you how, or you can just comment. When prompted by homeservice whether or not to trust otherservice with confirmation, make sure you select “Yes Always”. Don’t worry, otherservice doesn’t get your password or anything. Open up your profile page (you will have one, at least on the LJ-code-based services).

Click on the “edit your profile” link and fill in your email address.  This is extremely important.  This is how you will get replies to your OpenID comments sent to you.  If you wish, you can also select an icon for your OpenID account.

Now log out and log in again, checking any boxes you need to check for “remember me” or “keep me logged in”. Be sure your cookies are set to allow that site to remember you, if you do not normally allow that.

Friend everyone you need to (this is also important) and ask them to friend your OpenID pseudo-account back (equally important).

Now open up your otherservice flist and copy the url.

Go back to your homeservice and add that url to your link list. Repeat these steps for each otherservice flist.

Now you can click on those links and read your various flists, just like you would click on a subdivision or filter of your homeservice flist. And, because you are always logged in (be sure to check that occasionally in case you’re bumped off) you will be able to read locked posts and comment seamlessly, without having to log in or switch around.

This is how OpenID lets you have a distributed flist. It’s really multiple flists, but if you have the link right there in your sidebar, your actual reading experience will be about as simple as it always has been with a single service.

branchandroot: oak against sky (Default)

After years of watching anime in subtitles, I’m not really surprised when it takes me a few eps to get back into the swing of watching animation in my native language. I did not, however, expect what years of reading manga in translation has done to my ability to read comics in my native language!

When I read translated manga, I generally have a back-translation track running in the back of my head–a sub-routine, as it were, speculating on what the Japanese dialogue was. This is assisted, of course, by the frequency of repeating phrases and exclamations, and the way the translation community has developed some common English equivalent phrases. Under certain circumstances it’s a pretty good bet that “that person” started out as “ano kata“, and so forth.

The kicker is that this mental sub-routine keeps running when the comic in question was written in English. So I read Agatha Clay exclaiming “What?!” and, about half a second behind, there’s this mental echo of “Nani?!”.

*rueful* Like the title says: unforseen consequences.

Incidentally, everyone should go read the webcomic Girl Genius. It is delightful.

November 2024

S M T W T F S
     12
34 56789
10111213141516
17181920212223
24252627282930

Syndicate

RSS Atom

Style Credit

Page generated Apr. 23rd, 2025 04:12 pm
Powered by Dreamwidth Studios