matgb: (Webstuff)
[personal profile] matgb
In my Monday post about icons, I gave replacement codes for the 5 icons that DW commonly uses as well as the 3 that LJ commonly uses. I missed one that DW uses, namely direct links to LJs using the new custom site code.

If you didn't know, rather than the old [lj-user="matgb"] code, DW has replaced it with [user name="matgb"], ie removing the LJ bit given, obviously, it's not on LJ. But cunningly, they've also added another option, if you code [user name="matgb" site="livejournal.com"] it will link to matgb on LJ, not DW. And it'll take the LJ usericon from the LJ server as well.

Which would be cool. Except it doesn't auto-discover whether it's a person, community or feed. So my post Tuesday mentioning the Russian President's blog displayed it as a person, not as a community. Which I think is slightly unintuitive and misleading. So I've fixed that.

I've added another bit of code for DW so that off-site links to LJs instead display the LJ pencil, to show it's something on LJ, not a bloke regardless of what it is on LJ. So, if you look at this post on DW using my style, it'll show the little pencil when I repeat the link. Look: [livejournal.com profile] blog_medvedev. I suspect I could keep doing these for ages—if you regularly link to IJ, WP, JF or whatever people, y'know what? Sort your own code out, ask me if you need help.
Depth: 1

Date: 2009-May-07, Thursday 16:54 (UTC)
From: [personal profile] rho
There are plans afoot to make it so that (for instance) commuities on LJ get the right link. I think the basic plan is that the first time an LJ username is encountered, we look it up to see what type of account it is, then store that in a database somewhere so that for all subsequent calls we can just use the right icon without having to hit up LJ again. Blah blah standard disclaimer etc.
Depth: 1

Date: 2009-May-07, Thursday 17:26 (UTC)
hollybee: Green Background with a flower, butterfly, and the word Spring (Default)
From: [personal profile] hollybee
Hey Mat...

I gave your code a go in mine to see what all you did and how it works, but it gives me a large square with the LJ pencil showing repeatedly. Any ideas?
Depth: 1

Date: 2009-May-07, Thursday 21:45 (UTC)
drjon: A cartoon pic of drjon in profile (Default)
From: [personal profile] drjon
That's bloody awesome. Well done.
Depth: 1

JQP

Date: 2009-May-10, Sunday 14:44 (UTC)
bard: While playing Shylock (Default)
From: [personal profile] bard
This is off to one side a bit:

Aha! I believe I may have found my syndication fairy? Complimentary, all the more so since it's you! Glad to have found you on here.

Profile

matgb: Artwork of 19th century upper class anarchist, text: MatGB (Default)
Mat Bowles

September 2021

S M T W T F S
   1234
567 891011
12131415161718
19202122232425
2627282930  

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated 2025-Jul-11, Friday 16:44
Powered by Dreamwidth Studios