devel
[Top] [All Lists]

[PurpleWiki] Re: PurpleWiki working with movable type

To: <devel@xxxxxxxxxxxxxxxxxxxxxxx>
From: <cdent@xxxxxxxxxxxx>
Date: Thu, 6 Feb 2003 13:35:27 -0500 (EST)
Message-id: <Pine.LNX.4.30.0302061322120.19576-100000@hot.burningchrome.com>
On Thu, 6 Feb 2003, Eugene Eric Kim wrote:
> On Thu, Feb 06, 2003 at 03:19:07AM -0500, Chris Dent wrote:
>
> > Anyway. There it is. Your comments appreciated. I'll clean it up
> > soon. Had a hair up my butt, had to do it.
>
> That was some itchy hair.  Damn, man, very cool stuff.    (01)

Thanks. Definitely itchy.    (02)

Overnight I had a couple of thoughts:    (03)

There needs to be a way to pass some info to the wikihtml viewer:    (04)

  - Datadir, so that pageExists can be looked up correctly
  - Scriptname, so that you can pass an arbitrary URL for the
    link of the nid (rather than the current page). This is
    necessary to ensure that the purple number goes with the
    permalink of an entry, rather than the page that is currently
    displaying the entry.    (05)

Any ideas on how best to do that?    (06)

> One quick observation -- I need to look more carefully at this stuff
> tomorrow, when I'm more awake.  I find the long IDs very distracting,
> even in the compressed format that you're using.  Either we need to
> come up with a better way of presenting the numbers, or we need to
> come up with a whole new paradigm of viewing purple numbers
> (e.g. borrowing the generic blog syntax "#", which, incidentally, is
> generally purple.  Wonder why that is?)    (07)

Cuz purple is k3w1    (08)

I think we can probably address this issue by using the title
attribute in the href, like so:    (09)

  <a class="nid" href="/~cdent/mt/archives/000030.html#nid000003A"
     title="000003A">#</a>    (010)

That causes a little floating thingie when you mouseover, at
least in recent IE and Mozilla on XP.    (011)

That seems like that could be a configurable thing.    (012)

-- 
Chris Dent
cdent@blueoxen.org    (013)

-- 
This message is archived at:    (014)

http://purplewiki.blueoxen.net/forums/cgi-bin/mesg.cgi?a=devel&i=Pine.LNX.4.30.0302061322120.19576-100000@hot.burningchrome.com    (015)
<Prev in Thread] Current Thread [Next in Thread>