[DW] Profile link icons update.
2009-May-07, Thursday 17:11![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
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:
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.
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]](https://www.dreamwidth.org/img/external/lj-community.gif)
no subject
Date: 2009-May-07, Thursday 16:54 (UTC)no subject
Date: 2009-May-07, Thursday 17:26 (UTC)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?
no subject
Date: 2009-May-07, Thursday 17:42 (UTC)Actually, the CSS overall on your layout is doing weird things to colours, I can barely read a lot of the text, especially links—I'm guessing there's a clash somewhere; did you put the whole code in or just the stuff in the box above?
no subject
Date: 2009-May-07, Thursday 21:45 (UTC)JQP
Date: 2009-May-10, Sunday 14:44 (UTC)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.
Re: JQP
Date: 2009-May-10, Sunday 14:48 (UTC)no subject
Date: 2011-Aug-07, Sunday 16:16 (UTC)