Must've been a fluke

I'm number 16!

Looks like I was popular today — probably for all of about two minutes, but hey, I’ll take what I can get.

I stopped by the Wander-Lust homepage a bit ago, skimmed over the ‘Popular Destinations’ sidebar, and realized that I was number 16! I have no idea how I managed to pull that off, but it must have been a fluke — as I write this now, I’m number 47. Heck, I’m rather surprised to be on their top-50 list as it is, 47’s impressive enough. But 16?

People must have been really bored this morning. ;)

Okay, now I’m number 4. Bizarre. Cool — but bizarre. I’m guessing I’ll be in my rightful spot completely off the list by morning, but this is fun for the moment!

MT: Easy comment and entry editing

Responding to Dave Winer expounding upon the virtues of Manilla (the CMS Dave creates), Morbus offers this tip for MovableType users:

The “Edit This Page” button may not be a default item in the Movable Type templates, but it is certainly possible — I’ve been using it on the individual archives of Gamegrene.com for quite a long time (it’s there, but is an invisible pixel gif at the bottom of the page). Add the following to your templates and, assuming you’re cookied into the MT adminterface, you’ve got your “Edit This Page” equivalent (broken across multiple lines for ease of reading):

<a href="/cgi-bin/mt/mt.cgi?__mode=view&_type=entry& blog_id=1&id=<MTEntryID>">Edit This Page with Movable Type</a>`

I use a similar technique here, only one that allows me to not have to worry about the blog ID number, and I have ‘edit’ links both for each individual entry, and for any comments that are left on my site. As a bonus, the edit links are hidden, so unless you’re me (or you read this post), you’ll never know that they’re there!

I use a combination of HTML, JavaScript, CSS, and MT tags in the “Posted by…” link on every post and comment to allow me to jump directly into editing mode if I need (either due to a typo or revision on my part, or to clean up or delete any unneccessary comments left by visitors), yet keep it hidden from casual prying eyes.

First off, the code for the “edit post” links as it resides in my MT templates (all one line in the template, broken here for readability):

Post<a href="<MTCGIPath>mt.cgi?__mode=view&amp;_type=entry&amp; id=<MTEntryID>&amp;blog_id=<MTBlogID>" target="_blank" onmouseover=“window.status=’’; return true;” class=“hidelink”>ed</a> by <MTEntryAuthor>`

By using the <MTBlogID> MT tag rather than just typing in “blog_id=X“, we avoid any problems with having the wrong blog ID chosen if you’ve moved the code from one template to another, or don’t know the ID number of the blog you’re working with.

The onmouseover="window.status=’‘; return true;" bit of JavaScript ensures that the status bar of the browser does not change when someone mouses over the link — one of the visual clues to the existence of a hyperlink. Note that there are actually two single quotation marks with nothing between them after the window.status= declaration — if you type them as double-quotes, you’ll break the code by closing out the onmouseover function too early. The’return true;‘ declaration is just there to ensure that the link will get passed to the browser correctly when clicked on.

The last special bit to the tag is the class=“hidelink” declaration. This is calling on a class I have set up in my CSS stylesheet that looks like this:

a.hidelink:link, a.hidelink:visited, a.hidelink:hover, a.hidelink:active {
    text-decoration: none;
    color: #7f7f4d;
    cursor: text;
    }

This set of CSS rules ensures that any HTML anchor with the class ‘hidelink’ will have no text decoration (under- or over-lining or anything else), will be the same color as the surrounding text, and the cursor will not change to the standard ‘pointy’ cursor as it moves over the link. Between this CSS and the JavaScript code in the link, the end result is a working, active link that is entirely hidden from most browsers (and even if someone does find the link, they’ll still need to know your MT login and password to be able to make any changes).

The same trick can be used on comments, to jump you directly to the comment editing screen. Here’s the code I used in the “Posted by…” line for comments on this site (again, as one line in the template):

On <a name=“<$MTCommentID pad="1"&gt;"&gt;&lt;$MTCommentDate$&gt;&lt;/a&gt;, &lt;$MTCommentAuthorLink spam_protect=”1“$&gt; post&lt;a href="&lt;$MTCGIPath$&gt;mt.cgi?__mode=view&amp;amp;_type=comment&amp;amp; id=&lt;$MTCommentID$&gt;&amp;amp;blog_id=&lt;$MTBlogID$>” target="_blank" onmouseover=“window.status=’’; return true;” class=“hidelink”>ed</a>:`

More color/code tweaking

I’m getting closer to settling down with my design fidgeting again. For a bit, at least. I’m pretty happy with the blue-tone scheme I’ve got right now.

I’ve also managed to get the hide/show smileys function when leaving comments working, thanks to a new Scriptygoddess script (that I even helped debug — go me!), and I think (though feel free to correct me on this) that I’ve got the ‘Remember Me’ function when leaving comments fixed too. Just so all five (actually, I might be up to eight!) of my regular visitors won’t have to keep entering their information into the form. ;)

TIA getting the smackdown

I’ve mentioned the Total Information Awareness program a couple times here (More scary gov’t agencies and Everything old is new again), usually in a context of horror and bemused amazement at a program so tailor-made for conspiracy theorists.

Thankfully enough, some of the lawmakers up on Capitol Hill are also a bit put off by the TIA program, and have introduced no less than three bills combatting it to the current legislature session.

Sen. Ron Wyden (D-Ore.) proposed an amendment on Wednesday to the Omnibus Appropriations Bill that would suspend the program’s \$112 million budget for 2003.

On Thursday, Sen. Russ Feingold (D-Wis.) introduced the Data Mining Moratorium Act of 2003, which “suspends data-mining programs until Congress finishes a complete and total review,” according to Feingold spokesman Ari Geller.

But the first lawmaker to take a shot at the program was Senate Minority Leader Tom Daschle (D-S.D.), who introduced his bill last week, though few on Capitol Hill noticed. The bill, the Equal Rights and Equal Dignity for Americans Act of 2003, was one of 12 Daschle introduced and currently has 26 co-sponsors.

Combine these bills with the general uproar from the public, special interest groups such as the ACLU, and questions from the Senate Judiciary Committee, and there just might be a chance that this program might not be quite the ace-in-the-hole that Ashcroft and Poindexter would like it to be.

Suckers

How absolutely mindblowingly perfect is this? A French yacht taking place in a round-the-world sailing race was attacked by a giant squid. The perfect part? The trophy they’re going for is the Jules Verne around-the-world sailing trophy.

“The squid was pulling really hard, so we put the boat about and when we came to a stop the tentacles let go. We saw it behind the boat – and it was enormous. I have been sailing for 40 years, and I have never seen the like,” he said.

Crew member Didier Ragault, who spotted the creature through a port-hole said \”the tentacles were as thick as my arm wearing an oil-skin, and I immediately thought of the damage it could do.

“When we saw it behind the boat it must have been seven, eight or nine metres long,” he said.

(Via G’day Cobbers)

Getting pissy…

Grrrrrr!

Would everyone mind too terribly switching over to web browsers that actually support CSS layout declarations properly? Mozilla, Netscape, Chimera, whatever.

I’m working on redesigning WudiVisions, my photoblog. I’ve got the basic concept for the main page right how I want it, save a little bit of tweaking on the fonts…

…as long as you’re viewing it in a browser that has some idea how to render things correctly, at least. Notably absent from this list is Internet Explorer, Opera, Safari — dammit, pretty much any browser that doesn’t use the Gecko layout engine.

Not sure where I want to go from here. I like the concept I’ve been working with, dammit, and don’t really want to have to find something else. So for the moment, I’m just going to stomp around, whine, bitch, and moan for a few minutes. Maybe I’ll feel better after a good tempertantrum.

Colors aren't my strongpoint

I’m experimenting with different colorschemes for the site. On the bright side, this is very easy to do — just a few changes in the CSS for the site and the whole thing changes.

On the downside, colors outside of black and white just aren’t my strong suit. ;) So this may go on for the next few days until I find something I settle on. Bear with me…

R.I.P. Public Domain

In one of the (many) stories I’ve been keeping an eye on but haven’t babbled much about, the Supreme Court has been deciding whether Congress overrode the Constitution in 1998 by extending copyrights to stay in effect until 70 years after the death of the creator — 95 years if the copyright is owned by a corporation.

Copyright was originally intended to give an author/creator a specific, finite amount of time to reap profits and rewards from a created work before it was released into the public domain. Originally set to 14 years, the active term has been extended bit by bit over the years. The primary mover behind the extension of copyright terms in recent years, including this most recent extention, has been Disney. Every time Mickey Mouse was in danger of entering the public domain, Disney challenged the copyright laws, and got the terms extended, allowing them to retain control over Mickey.

(Irony alert: This from a company who counts among their many hits “The Little Mermaid,” “Beauty and the Beast,” “Treasure Island,” “Sleeping Beauty,” “Snow White,” “Oliver and Company,” and many other works that they were able to create films from because the original works were in the public domain and not restricted by copyright any longer.)

Today’s Supreme Court ruling upheld this extention, however. Nothing that’s not already in the public domain is likely to get into the public domain anytime soon. Free-speech advocates are in mourning.

More information:

  • Lawrence Lessig (the lawyer challenging the case): With deep sadness: “The Supreme Court has rejected our challenge to the Sonny Bono Law.”
  • BoingBoing: Supreme Court rules against Eldred, Alexandria burns: “That’s the Supreme Court case that Larry Lessig argued to establish the principle that the continuous extension of copyright at the expense of the public domain is unconstitutional. This blog will be wearing a black arm-band for the next day in mourning for our shared cultural heritage, as the Library of Alexandria burns anew.”
  • AP: Supreme Court Keeps Copyright Protections: “The 7-2 ruling, while not unexpected, was a blow to Internet publishers and others who wanted to make old books available online and use the likenesses of a Mickey Mouse cartoon and other old creations without paying high royalties. Hundreds of thousands of books, movies and songs were close to being released into the public domain when Congress extended the copyright by 20 years in 1998.”
  • BoingBoing (in Feb 2002): What the copyright ruling really means: “The argument hinges on the constitutionality of the extensions to copyright. The framers originally established a ~~17-year~~ 14-year (thanks, Larry!) term of copyright, as part of the constitutional mandate to provide creators with “a limited monopoly” on their works. With the continual extension (11 times in the past 40 years) of copyright’s term, the monopoly is no longer “limited” in any real sense of the word (the present term of copyright is author’s life plus 70 years, or 95 years for works that belong to corporations).”
  • Slashdot: Disney Wins, Eldred (and everybody else) loses: “Did you see Treasure Planet [imdb.com]? Yeah, me neither, I heard it was horrible. But either way, Treasure Island was a book written by Robert Louis Stevenson [kirjasto.sci.fi] in 1883. 114 years from now, if my great-great grandchild wanted to write The Lion King in space (the only discernable difference between Treasure Island and Treasure Planet), Disney would NEVER give them the right to make it, and would sue the pants off them if they tried.” (From the discussion thread.)
  • Washington Post: Eldred vs. Ashcroft: A Primer: “Justice Ruth Bader Ginsburg said Congress has “wide leeway” to interpret copyright law as set out by the U.S. Constitution. Justices John Paul Stevens and Stephen Breyer were the lone dissenters, saying that extending copyright terms repeatedly denies Americans “free access to the products of inventive and artistic genius.””