undyingking: (Default)
undyingking ([personal profile] undyingking) wrote2006-03-02 12:47 pm
Entry tags:

TagClouder

I've added a feature to the TagClouder such that it now offers you the raw HTML to paste into your own page, etc. Unfortunately it comes out like this:


books car

Get your own tag cloud from the UKG TagClouder!




Presumably LJ is stripping out the <style> ... </style> for security reasons or some such... any thoughts for ways round this? I could go back to doing it with text attributes I suppose, but that seems a bit retrograde...
Any thoughts about this or further improvements welcome!


Edit: now a trial with no internal style spec, but linking to an external stylesheet:
books car

Get your own tag cloud from the UKG TagClouder!


Bah, no better.


Edit: now a trial with inline style:
books car

Get your own tag cloud from the UKG TagClouder!


oho! -- that looks more promising. Unfortuatnely it involves hacking into the <a> tag, which I'm keen to avoid doing as it will require all manner of hideous regexping. And it this way really any better than using <font>?

[identity profile] wimble.livejournal.com 2006-03-02 02:27 pm (UTC)(link)
Err, how?

You need to put <link rel="stylesheet" type="text/css" etc into the page header to do that. Unless I've missed a wonderfully useful trick somewhere!

And whilst you might be able to reconfigure (I don't know: I've not got to grips with LJ's styling modules) your page style to do that, it's not going to affect mine.

[identity profile] undyingking.livejournal.com 2006-03-02 02:30 pm (UTC)(link)
In FF at least the link doesn't have to be in the header, you can put it in the body. Which surprised me I must say, but I thought I might as well try it and it seems to be the case.